nixos/Legion.nix
Evie Litherland-Smith 0264eeb6fc Add initial settings for new server machine Legion
Adapt existing settings for Vanguard being used as server
2023-06-04 10:55:46 +01:00

29 lines
622 B
Nix

{pkgs, ...}: {
imports = [
./home
./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;
allowReboot = false;
};
}