nixos-configs/devices/oksys/default.nix
matt1432 ebd34a9481
All checks were successful
Discord / discord commits (push) Has been skipped
feat(oksys): add servivi as remote builder
2023-12-29 17:37:48 -05:00

57 lines
1.2 KiB
Nix

{config, ...}: {
imports = [
./hardware-configuration.nix
../../modules/sshd.nix
../../modules/tailscale.nix
./modules/blocky.nix
./modules/caddy.nix
./modules/headscale.nix
./modules/remote-builder.nix
./modules/unbound.nix
];
vars = {
user = "matt";
hostName = "oksys";
neovimIde = false;
};
users.users.${config.vars.user} = {
isNormalUser = true;
extraGroups = [
"wheel"
"adm"
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPE39uk52+NIDLdHeoSHIEsOUUFRzj06AGn09z4TUOYm matt@OP9"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICr2+CpqXNMLsjgbrYyIwTKhlVSiIYol1ghBPzLmUpKl matt@binto"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJGbLu+Gb7PiyNgNXMHemaQLnKixebx1/4cdJGna9OQp matt@wim"
];
};
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;
};
# Set your time zone.
time.timeZone = "America/Montreal";
# No touchy
system.stateVersion = "24.05";
}