2023-06-04 10:55:46 +01:00
|
|
|
{pkgs, ...}: {
|
|
|
|
imports = [
|
|
|
|
./common.nix
|
|
|
|
./locales/en_GB.nix
|
|
|
|
./services/Legion.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
hostName = "Legion"; # Define your hostname.
|
|
|
|
nameservers = ["9.9.9.9"];
|
|
|
|
firewall = {enable = true;};
|
|
|
|
};
|
|
|
|
|
|
|
|
users.users.xenia = {
|
|
|
|
isNormalUser = true;
|
|
|
|
description = "Evie Litherland-Smith";
|
|
|
|
extraGroups = ["networkmanager" "wheel"];
|
|
|
|
shell = pkgs.fish;
|
|
|
|
openssh.authorizedKeys.keys = import ./auth/authorized_keys.nix;
|
|
|
|
};
|
|
|
|
home-manager.users.xenia = import ./home/Legion/xenia.nix;
|
|
|
|
|
|
|
|
system.autoUpgrade = {
|
|
|
|
enable = true;
|
2023-06-06 08:00:37 +01:00
|
|
|
dates = "03:00";
|
|
|
|
allowReboot = true;
|
|
|
|
rebootWindow = {
|
|
|
|
lower = "01:00";
|
|
|
|
upper = "05:00";
|
|
|
|
};
|
2023-06-04 10:55:46 +01:00
|
|
|
};
|
|
|
|
}
|