nixos-configs/devices/nos/default.nix

58 lines
1.1 KiB
Nix
Raw Normal View History

2024-07-24 15:49:31 -04:00
{
config,
self,
...
}: let
2024-03-02 02:59:40 -05:00
inherit (config.vars) mainUser hostName;
in {
# ------------------------------------------------
# Imports
# ------------------------------------------------
imports = [
2024-03-02 02:59:40 -05:00
./hardware-configuration.nix
../../modules/kmscon.nix
../../modules/sshd.nix
../../modules/tailscale.nix
2024-07-24 15:49:31 -04:00
./modules/docker
./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-05-18 00:04:26 -04:00
./modules/subtitles
2024-07-24 15:49:31 -04:00
self.nixosModules.docker
];
2024-03-02 02:59:40 -05:00
# State Version: DO NOT CHANGE
system.stateVersion = "24.05";
home-manager.users.${mainUser}.home.stateVersion = "24.05";
# ------------------------------------------------
# User Settings
# ------------------------------------------------
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
};
networking = {
inherit hostName;
resolvconf.enable = true;
firewall.enable = false;
};
time.timeZone = "America/Montreal";
}