2023-06-04 10:55:46 +01:00
|
|
|
{pkgs, ...}: {
|
|
|
|
imports = [
|
2023-06-17 10:27:02 +01:00
|
|
|
../../common.nix
|
|
|
|
../../locales/en_GB.nix
|
|
|
|
../../services/Legion.nix
|
2023-06-04 10:55:46 +01:00
|
|
|
];
|
|
|
|
networking = {
|
|
|
|
hostName = "Legion"; # Define your hostname.
|
2023-06-17 10:27:02 +01:00
|
|
|
nameservers = ["192.168.1.230" "127.0.0.1" "9.9.9.9"];
|
2023-06-04 10:55:46 +01:00
|
|
|
firewall = {enable = true;};
|
|
|
|
};
|
|
|
|
system.autoUpgrade = {
|
|
|
|
enable = true;
|
2023-06-19 07:38:25 +01:00
|
|
|
dates = "02:00";
|
2023-06-06 08:00:37 +01:00
|
|
|
allowReboot = true;
|
|
|
|
rebootWindow = {
|
2023-06-19 07:38:25 +01:00
|
|
|
lower = "03:00";
|
2023-06-06 08:00:37 +01:00
|
|
|
upper = "05:00";
|
|
|
|
};
|
2023-06-04 10:55:46 +01:00
|
|
|
};
|
2023-06-17 10:27:02 +01:00
|
|
|
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 ./xenia.nix;
|
2023-06-04 10:55:46 +01:00
|
|
|
}
|