34 lines
479 B
Nix
34 lines
479 B
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
vars,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports= [
|
|
../../users/${vars.user}.nix
|
|
../modules/zsh.nix
|
|
];
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
nix.settings.auto-optimise-store = true;
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
tree
|
|
htop
|
|
dig
|
|
traceroute
|
|
zip
|
|
unzip
|
|
];
|
|
|
|
nix.gc = {
|
|
automatic = true;
|
|
dates = "weekly";
|
|
options = "--delete-older-than 30d";
|
|
};
|
|
}
|
|
|