Add gc
This commit is contained in:
@@ -41,6 +41,7 @@
|
|||||||
users.users.pan = {
|
users.users.pan = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" ];
|
||||||
|
uid = 1000;
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -52,9 +53,19 @@
|
|||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
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; [
|
environment.systemPackages = with pkgs; [
|
||||||
git
|
git
|
||||||
wget
|
wget
|
||||||
curl
|
curl
|
||||||
|
vim
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,13 +11,8 @@
|
|||||||
visidata
|
visidata
|
||||||
bubblewrap
|
bubblewrap
|
||||||
|
|
||||||
# TODO: Custom packages - need to verify availability or create derivations
|
claude-code
|
||||||
# These packages were in the original configuration but may need custom setup:
|
opencode
|
||||||
# claude-code
|
gemini-cli
|
||||||
# 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.
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user