oizys/modules/nix.nix

30 lines
492 B
Nix
Raw Normal View History

2024-01-23 11:51:13 -06:00
{
input,
pkgs,
...
}: {
imports = [
./styx
];
nixpkgs.config.allowUnfree = true;
nix.package = pkgs.nixUnstable;
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
nix.optimise.automatic = true;
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
environment.systemPackages = with pkgs; [
nix-output-monitor
alejandra
];
2024-01-23 12:05:12 -06:00
nix.settings = {
2024-01-23 12:05:12 -06:00
trusted-users = ["daylin"];
};
2024-01-23 11:51:13 -06:00
}