nixos/common.nix

32 lines
696 B
Nix

{...}: {
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;
};
networking.networkmanager.enable = true;
services = {
power-profiles-daemon.enable = true;
flatpak.enable = true;
};
virtualisation.podman.enable = true;
fonts.fontconfig.enable = true;
programs = {
ssh.startAgent = true;
fish.enable = true;
zsh.enable = true;
};
}