nixos-configs/devices/nos/default.nix

54 lines
953 B
Nix
Raw Permalink 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/cleanup.nix
2024-04-04 08:57:19 -04:00
./modules/subtitles/syncing.nix
];
2024-03-02 02:59:40 -05:00
vars = {
mainUser = "matt";
hostName = "nos";
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";
}