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-05-18 00:04:26 -04:00
|
|
|
./modules/subtitles
|
2024-02-17 20:45:06 -05:00
|
|
|
];
|
2024-03-02 02:59:40 -05:00
|
|
|
|
|
|
|
vars = {
|
|
|
|
mainUser = "matt";
|
|
|
|
hostName = "nos";
|
2024-04-01 13:05:08 -04:00
|
|
|
promptMainColor = "orange";
|
2024-03-02 02:59:40 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
}
|