nixos/machines/Legion/default.nix

30 lines
734 B
Nix
Raw Normal View History

{pkgs, ...}: {
imports = [
../../common.nix
../../locales/en_GB.nix
../../services/Legion.nix
];
networking = {
hostName = "Legion"; # Define your hostname.
nameservers = ["192.168.1.230" "127.0.0.1" "9.9.9.9"];
firewall = {enable = true;};
};
system.autoUpgrade = {
enable = true;
dates = "02:00";
allowReboot = true;
rebootWindow = {
lower = "03:00";
upper = "05: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;
}