nixos-configs/devices/servivi/default.nix
matt1432 704151031b
All checks were successful
Discord / discord commits (push) Successful in 1m21s
feat(servivi): init config of newest server
2023-12-23 02:33:26 -05:00

50 lines
829 B
Nix

{config, ...}: {
imports = [
./hardware-configuration.nix
../../modules/kmscon.nix
../../modules/tailscale.nix
];
vars = {
user = "matt";
hostName = "servivi";
};
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;
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";
}