From 490fe457279c82a4a1097bd4c06d6b9eb047f8e6 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Tue, 7 Jan 2025 21:18:45 -0500 Subject: [PATCH] rm hosts/hp --- hosts/hp/configuration.nix | 66 -------------------------------------- hosts/hp/default.nix | 6 ---- 2 files changed, 72 deletions(-) delete mode 100644 hosts/hp/configuration.nix delete mode 100644 hosts/hp/default.nix diff --git a/hosts/hp/configuration.nix b/hosts/hp/configuration.nix deleted file mode 100644 index cce9045..0000000 --- a/hosts/hp/configuration.nix +++ /dev/null @@ -1,66 +0,0 @@ -{ ... }: -let - persist = "/nix/persist"; -in -{ - sconfig = { - gnome = true; - desktop.enable = true; - wg-home.enable = true; - }; - - environment.etc.machine-id.source = "${persist}/machine-id"; - - environment.persistence."${persist}/system".directories = [ - "/etc/NetworkManager/system-connections" - "/var/lib/bluetooth" - "/var/lib/nixos" - "/var/lib/systemd/coredump" - "/var/log/journal" - ]; - - services.openssh.hostKeys = [ - { - type = "ed25519"; - path = "${persist}/ssh_host_ed25519_key"; - } - ]; - - users.mutableUsers = false; - users.users.sean.hashedPasswordFile = "${persist}/shadow_sean"; - users.users.root.hashedPasswordFile = "${persist}/shadow_sean"; - - boot = { - loader.systemd-boot.enable = true; - loader.efi.canTouchEfiVariables = false; - }; - - hardware.cpu.intel.updateMicrocode = true; - hardware.enableRedistributableFirmware = true; - - fileSystems = { - "/" = { - device = "tmpfs"; - fsType = "tmpfs"; - options = [ "mode=755" ]; - }; - "/boot" = { - device = "/dev/disk/by-partlabel/EFI\\x20system\\x20partition"; - fsType = "vfat"; - }; - "/home" = { - device = "zroot/locker/home"; - fsType = "zfs"; - }; - "/nix" = { - device = "zroot/locker/nix"; - fsType = "zfs"; - }; - "/var/log" = { - device = "zroot/locker/log"; - fsType = "zfs"; - }; - }; - - system.stateVersion = "22.05"; -} diff --git a/hosts/hp/default.nix b/hosts/hp/default.nix deleted file mode 100644 index ed47c7d..0000000 --- a/hosts/hp/default.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ - system = "x86_64-linux"; - modules = [ - ./configuration.nix - ]; -}