temp add
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
# Common configuration shared across all platforms
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
nixpkgs = {
|
||||
# You can add overlays here
|
||||
overlays = [
|
||||
# Add overlays your own flake exports (from overlays and pkgs dir):
|
||||
inputs.self.overlays.additions
|
||||
inputs.self.overlays.modifications
|
||||
inputs.self.overlays.unstable-packages
|
||||
];
|
||||
# Configure your nixpkgs instance
|
||||
config = {
|
||||
# Disable if you don't want unfree packages
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Enable home-manager
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
# Basic packages everyone should have
|
||||
home.packages = with pkgs; [
|
||||
# Archives
|
||||
zip
|
||||
unzip
|
||||
|
||||
# Utils
|
||||
ripgrep # Better grep
|
||||
fd # Better find
|
||||
jq # JSON processor
|
||||
yq-go # YAML processor
|
||||
|
||||
# System tools
|
||||
htop
|
||||
tree
|
||||
wget
|
||||
curl
|
||||
];
|
||||
|
||||
# Basic git configuration
|
||||
programs.git = {
|
||||
enable = true;
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
pull.rebase = true;
|
||||
push.autoSetupRemote = true;
|
||||
};
|
||||
};
|
||||
|
||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
home.stateVersion = "24.05";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user