nixos/system/default.nix
Evie Litherland-Smith 0a83529d12 Revert "Revert "Disable nix autoUpgrade for regular machines""
This reverts commit 3aabae7e6f.

autoUpgrade gets weird when network issues are involved, especially
relevant for laptops...

Yes I know I'm indecisive
2023-12-20 07:49:22 +00:00

52 lines
1 KiB
Nix

{ pkgs, ... }: {
networking = {
networkmanager.enable = true;
nameservers = [ "9.9.9.9" ];
};
environment = {
systemPackages = with pkgs; [
coreutils
libsecret
gnumake
gitFull
zip
unzip
fd
ripgrep
dig
du-dust
nitch
bottom
];
localBinInPath = true;
};
console.keyMap = "uk";
programs.ssh.startAgent = true;
services = {
upower.enable = true;
power-profiles-daemon.enable = true;
system76-scheduler = {
enable = true;
useStockConfig = true;
};
};
virtualisation.podman.enable = true;
time.timeZone = "Europe/London";
i18n = let locale = "en_GB.UTF-8";
in {
# Select internationalisation properties.
defaultLocale = locale;
extraLocaleSettings = {
LC_ADDRESS = locale;
LC_IDENTIFICATION = locale;
LC_MEASUREMENT = locale;
LC_MONETARY = locale;
LC_NAME = locale;
LC_NUMERIC = locale;
LC_PAPER = locale;
LC_TELEPHONE = locale;
LC_TIME = locale;
};
};
}