2023-12-11 11:18:00 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
let flakeURL = "git+https://git.xenia.me.uk/xenia/nixos.git?ref=main";
|
|
|
|
in {
|
2023-10-09 11:40:25 +01:00
|
|
|
networking = {
|
|
|
|
networkmanager.enable = true;
|
|
|
|
nameservers = [ "9.9.9.9" ];
|
|
|
|
};
|
|
|
|
environment = {
|
2023-10-30 15:06:55 +00:00
|
|
|
systemPackages = with pkgs; [ libsecret git nitch dig gnumake fd ripgrep ];
|
2023-10-09 11:40:25 +01:00
|
|
|
localBinInPath = true;
|
|
|
|
};
|
|
|
|
console.keyMap = "uk";
|
2023-11-11 19:22:34 +00:00
|
|
|
programs = {
|
|
|
|
htop.enable = true;
|
|
|
|
ssh.startAgent = true;
|
|
|
|
};
|
2023-10-11 08:28:27 +01:00
|
|
|
services = {
|
|
|
|
upower.enable = true;
|
|
|
|
power-profiles-daemon.enable = true;
|
2023-10-20 22:33:34 +01:00
|
|
|
system76-scheduler = {
|
|
|
|
enable = true;
|
|
|
|
useStockConfig = true;
|
|
|
|
};
|
2023-10-11 08:28:27 +01:00
|
|
|
};
|
2023-10-09 11:40:25 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
2023-12-11 11:18:00 +00:00
|
|
|
system.autoUpgrade = {
|
|
|
|
enable = true;
|
|
|
|
dates = "02:00";
|
|
|
|
allowReboot = false;
|
|
|
|
flake = flakeURL;
|
|
|
|
};
|
2023-10-09 11:40:25 +01:00
|
|
|
}
|