Add gc
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
users.users.pan = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
uid = 1000;
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
@@ -52,9 +53,19 @@
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
|
||||
# Automatic Store Optimization
|
||||
nix.settings.auto-optimise-store = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
wget
|
||||
curl
|
||||
vim
|
||||
];
|
||||
}
|
||||
|
||||
@@ -11,13 +11,8 @@
|
||||
visidata
|
||||
bubblewrap
|
||||
|
||||
# TODO: Custom packages - need to verify availability or create derivations
|
||||
# These packages were in the original configuration but may need custom setup:
|
||||
# claude-code
|
||||
# opencode
|
||||
# gemini-cli
|
||||
|
||||
# Uncomment the above packages if they are available in your nixpkgs,
|
||||
# or create custom derivations for them in a separate packages/ directory.
|
||||
claude-code
|
||||
opencode
|
||||
gemini-cli
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user