2024-02-17 20:45:06 -05:00
|
|
|
# Not currently operational
|
|
|
|
|
2024-01-09 13:13:04 -05:00
|
|
|
{config, ...}: let
|
|
|
|
inherit (config.vars) mainUser hostName;
|
|
|
|
in {
|
2023-11-28 21:41:52 -05:00
|
|
|
imports = [
|
2023-12-20 04:00:02 -05:00
|
|
|
./hardware-configuration.nix
|
2023-11-28 21:43:26 -05:00
|
|
|
|
2023-12-27 11:39:38 -05:00
|
|
|
../../modules/sshd.nix
|
2023-11-28 21:43:26 -05:00
|
|
|
../../modules/tailscale.nix
|
|
|
|
|
2023-12-29 17:37:48 -05:00
|
|
|
./modules/remote-builder.nix
|
2023-11-28 21:41:52 -05:00
|
|
|
];
|
|
|
|
|
2023-12-01 14:12:33 -05:00
|
|
|
vars = {
|
2024-01-09 13:13:04 -05:00
|
|
|
mainUser = "matt";
|
2023-12-01 14:12:33 -05:00
|
|
|
hostName = "oksys";
|
2023-12-23 16:11:23 -05:00
|
|
|
neovimIde = false;
|
2023-11-28 21:41:52 -05:00
|
|
|
};
|
|
|
|
|
2024-01-09 13:13:04 -05:00
|
|
|
users.users.${mainUser} = {
|
2023-11-28 21:41:52 -05:00
|
|
|
isNormalUser = true;
|
|
|
|
extraGroups = [
|
|
|
|
"wheel"
|
|
|
|
"adm"
|
|
|
|
];
|
|
|
|
};
|
2024-01-09 13:13:04 -05:00
|
|
|
home-manager.users.${mainUser} = {
|
2023-12-01 14:12:33 -05:00
|
|
|
imports = [];
|
2023-11-28 21:41:52 -05:00
|
|
|
|
2023-12-01 14:12:33 -05:00
|
|
|
# No touchy
|
|
|
|
home.stateVersion = "24.05";
|
2023-11-28 21:41:52 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
networking = {
|
2024-01-09 13:13:04 -05:00
|
|
|
inherit hostName;
|
2024-01-11 11:07:29 -05:00
|
|
|
resolvconf.enable = true;
|
2023-11-28 21:41:52 -05:00
|
|
|
firewall.enable = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Set your time zone.
|
|
|
|
time.timeZone = "America/Montreal";
|
|
|
|
|
|
|
|
# No touchy
|
|
|
|
system.stateVersion = "24.05";
|
|
|
|
}
|