nixos-configs/devices/nos/default.nix

53 lines
915 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
./modules/subtitles/sub-clean.nix
];
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";
}