diff options
Diffstat (limited to 'hosts/threshold/default.nix')
| -rw-r--r-- | hosts/threshold/default.nix | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/hosts/threshold/default.nix b/hosts/threshold/default.nix deleted file mode 100644 index 485997b..0000000 --- a/hosts/threshold/default.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ - lib, - ... -}: -{ - - imports = [ - ./network.nix - ./disko.nix - ./hardware.nix - ]; - addons = { - desktop.xfce.enable = lib.mkForce true; - gpg.enable = true; - virtualisation.host = true; - }; - - # Bootloader and boot setup. - boot.loader.efi.canTouchEfiVariables = lib.mkDefault true; - - boot.loader.grub = { - enable = true; - useOSProber = false; - device = "nodev"; - efiSupport = true; - default = "saved"; - memtest86.enable = true; - }; - - # Networking setup - networking.hostName = "threshold"; - services.resolved = { - enable = true; - settings.Resolve.DNSOverTLS = "opportunistic"; - }; - - # SSH Access - services.openssh = { - enable = true; - ports = [ 22 ]; - openFirewall = true; - allowSFTP = true; - settings = { - PasswordAuthentication = false; - AllowUsers = [ "wilkuu" ]; - X11Forwarding = true; - PermitRootLogin = "no"; - }; - }; -} |
