2024-03-02 02:59:40 -05:00
|
|
|
{config, ...}: let
|
|
|
|
inherit (config.vars) mainUser hostName;
|
|
|
|
in {
|
2024-02-17 20:45:06 -05:00
|
|
|
imports = [
|
2024-03-02 02:59:40 -05:00
|
|
|
./hardware-configuration.nix
|
|
|
|
|
|
|
|
../../modules/kmscon.nix
|
|
|
|
../../modules/sshd.nix
|
|
|
|
../../modules/tailscale.nix
|
|
|
|
|
2024-02-17 20:45:06 -05:00
|
|
|
./modules/arion
|
2024-03-01 21:36:57 -05:00
|
|
|
./modules/jellyfin
|
2024-02-18 23:01:59 -05:00
|
|
|
./modules/mergerfs.nix
|
2024-02-26 20:41:59 -05:00
|
|
|
./modules/qbittorrent
|
2024-03-02 02:59:40 -05:00
|
|
|
./modules/snapraid.nix
|
2024-03-24 22:13:02 -04:00
|
|
|
./modules/subtitles/sub-clean.nix
|
2024-02-17 20:45:06 -05:00
|
|
|
];
|
2024-03-02 02:59:40 -05:00
|
|
|
|
|
|
|
vars = {
|
|
|
|
mainUser = "matt";
|
|
|
|
hostName = "nos";
|
|
|
|
#promptMainColor = "?";
|
|
|
|
};
|
|
|
|
|
|
|
|
users.users.${mainUser} = {
|
2024-03-11 22:25:32 -04:00
|
|
|
isNormalUser = true;
|
|
|
|
extraGroups = [
|
|
|
|
"wheel"
|
|
|
|
"adm"
|
|
|
|
"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";
|
2024-02-17 20:45:06 -05:00
|
|
|
}
|