nixos-configs/devices/oksys/default.nix
matt1432 503cf86353
All checks were successful
Discord / discord commits (push) Successful in 1m11s
feat(oksys): don't use nvim as an IDE
2023-12-23 16:11:23 -05:00

60 lines
1,006 B
Nix

{config, ...}: {
imports = [
./hardware-configuration.nix
../../modules/tailscale.nix
./modules/blocky.nix
./modules/caddy.nix
./modules/headscale.nix
./modules/unbound.nix
];
vars = {
user = "matt";
hostName = "oksys";
neovimIde = false;
};
users.users.${config.vars.user} = {
isNormalUser = true;
extraGroups = [
"wheel"
"adm"
];
};
home-manager.users.${config.vars.user} = {
imports = [];
# No touchy
home.stateVersion = "24.05";
};
networking = {
inherit (config.vars) hostName;
resolvconf = {
enable = true;
extraConfig = ''
name_servers='1.0.0.1'
'';
};
firewall.enable = false;
};
services = {
openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
};
# Set your time zone.
time.timeZone = "America/Montreal";
# No touchy
system.stateVersion = "24.05";
}