nixos-configs/devices/nos/default.nix

52 lines
889 B
Nix
Raw Normal View History

2024-03-02 02:59:40 -05:00
{config, ...}: let
inherit (config.vars) mainUser hostName;
in {
imports = [
2024-03-02 02:59:40 -05:00
./hardware-configuration.nix
../../modules/kmscon.nix
../../modules/sshd.nix
../../modules/tailscale.nix
./modules/arion
./modules/jellyfin
2024-02-18 23:01:59 -05:00
./modules/mergerfs.nix
./modules/qbittorrent
2024-03-02 02:59:40 -05:00
./modules/snapraid.nix
];
2024-03-02 02:59:40 -05:00
vars = {
mainUser = "matt";
hostName = "nos";
#promptMainColor = "?";
};
users.users.${mainUser} = {
isNormalUser = true;
extraGroups = [
"wheel"
"adm"
2024-03-02 22:04:23 -05:00
"borg"
2024-03-02 02:59:40 -05:00
];
};
home-manager.users.${mainUser} = {
imports = [];
# No touchy
home.stateVersion = "24.05";
};
networking = {
inherit hostName;
resolvconf.enable = true;
firewall.enable = false;
};
# Set your time zone.
time.timeZone = "America/Montreal";
# No touchy
system.stateVersion = "24.05";
}