nixos/Legion.nix
Evie Litherland-Smith b388bdae94 Add gamescope as desktop session, default to no autoUpgrade
Set autoUpgrade config for Legion as it's on all the time
Remove xrdp
2023-06-06 08:00:37 +01:00

34 lines
716 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;
dates = "03:00";
allowReboot = true;
rebootWindow = {
lower = "01:00";
upper = "05:00";
};
};
}