nixos/system/default.nix
Evie Litherland-Smith ce7c6ec582 Disable nix autoUpgrade for regular machines
Only keep enabled for server where it makes sense
2023-12-08 06:26:53 +00:00

42 lines
986 B
Nix

{ pkgs, ... }: {
networking = {
networkmanager.enable = true;
nameservers = [ "9.9.9.9" ];
};
environment = {
systemPackages = with pkgs; [ libsecret git nitch dig gnumake fd ripgrep ];
localBinInPath = true;
};
console.keyMap = "uk";
programs = {
htop.enable = true;
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;
};
};
}