nixos/common.nix

29 lines
656 B
Nix
Raw Normal View History

{...}: {
nix = {
settings.experimental-features = ["nix-command" "flakes"];
gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 7d";
};
extraOptions = ''
keep-outputs = true
keep-derivations = true
'';
};
nixpkgs.config.allowUnfree = true;
home-manager = {
useUserPackages = false;
useGlobalPkgs = true;
};
2023-05-09 18:31:55 +01:00
networking.networkmanager.enable = true;
services.power-profiles-daemon.enable = true;
virtualisation.podman.enable = true;
fonts.fontconfig.enable = true;
programs = {
ssh.startAgent = true;
fish.enable = true;
zsh.enable = true;
};
}