From d30e60036816173d01ca48a0f76dbcf78352a01f Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Sun, 28 Jun 2026 13:11:32 +0200 Subject: Moved hosts to be a top level directory instead of under modules --- modules/hosts/herra/configuration.nix | 21 ------------- modules/hosts/herra/default.nix | 11 ------- modules/hosts/herra/hardware.nix | 54 ---------------------------------- modules/hosts/mystra/configuration.nix | 19 ------------ modules/hosts/mystra/default.nix | 12 -------- modules/hosts/mystra/hardware.nix | 15 ---------- 6 files changed, 132 deletions(-) delete mode 100644 modules/hosts/herra/configuration.nix delete mode 100644 modules/hosts/herra/default.nix delete mode 100644 modules/hosts/herra/hardware.nix delete mode 100644 modules/hosts/mystra/configuration.nix delete mode 100644 modules/hosts/mystra/default.nix delete mode 100644 modules/hosts/mystra/hardware.nix (limited to 'modules/hosts') diff --git a/modules/hosts/herra/configuration.nix b/modules/hosts/herra/configuration.nix deleted file mode 100644 index a9b1912..0000000 --- a/modules/hosts/herra/configuration.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - self, - inputs, - ... -}: { - flake.nixosModules.herraConfiguration = { - pkgs, - lib, - ... - }: { - imports = [ - self.nixosModules.herraHardware - inputs.home-manager.nixosModules.home-manager - self.nixosModules.system - self.nixosModules.ngeNiri # NeonGenesisEvangelion rice of niri - self.nixosModules.browser # Configured browser - ]; - - # ... - }; -} diff --git a/modules/hosts/herra/default.nix b/modules/hosts/herra/default.nix deleted file mode 100644 index 4e9c74e..0000000 --- a/modules/hosts/herra/default.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ - self, - inputs, - ... -}: { - flake.nixosConfigurations.herra = inputs.nixpkgs.lib.nixosSystem { - modules = [ - self.nixosModules.herraConfiguration - ]; - }; -} diff --git a/modules/hosts/herra/hardware.nix b/modules/hosts/herra/hardware.nix deleted file mode 100644 index 2ec7efb..0000000 --- a/modules/hosts/herra/hardware.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ - self, - inputs, - ... -}: { - flake.nixosModules.herraHardware = { - config, - lib, - pkgs, - modulesPath, - ... - }: { - # Do not modify this file! It was generated by ‘nixos-generate-config’ - # and may be overwritten by future invocations. Please make changes - # to /etc/nixos/configuration.nix instead. - - imports = [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; - - boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "thunderbolt" "usbhid" "usb_storage" "sd_mod"]; - boot.initrd.kernelModules = []; - boot.kernelModules = ["kvm-intel"]; - boot.extraModulePackages = []; - - fileSystems."/" = { - device = "/dev/disk/by-uuid/229a13d8-159e-40b6-915a-606c32e3ca79"; - fsType = "btrfs"; - options = ["subvol=@"]; - }; - - fileSystems."/home" = { - device = "/dev/disk/by-uuid/229a13d8-159e-40b6-915a-606c32e3ca79"; - fsType = "btrfs"; - options = ["subvol=@home"]; - }; - - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/03F6-F782"; - fsType = "vfat"; - options = ["fmask=0077" "dmask=0077"]; - }; - - fileSystems."/nix" = { - device = "/dev/disk/by-uuid/28fb6b6d-fb64-4a42-80af-88ce7b081258"; - fsType = "btrfs"; - }; - - swapDevices = []; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - }; -} diff --git a/modules/hosts/mystra/configuration.nix b/modules/hosts/mystra/configuration.nix deleted file mode 100644 index 0185c19..0000000 --- a/modules/hosts/mystra/configuration.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ - self, - inputs, - ... -}: { - flake.nixosModules.mystraConfiguration = { - pkgs, - lib, - ... - }: { - imports = [ - self.nixosModules.mystraHardware - self.nixosModules.system - self.nixosModules.niri - ]; - - # ... - }; -} diff --git a/modules/hosts/mystra/default.nix b/modules/hosts/mystra/default.nix deleted file mode 100644 index 5a7fad5..0000000 --- a/modules/hosts/mystra/default.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ - self, - inputs, - ... -}: { - flake.nixosConfigurations.mystra = inputs.nixpkgs.lib.nixosSystem { - modules = [ - self.nixosModules.mystraConfiguration - inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x220 - ]; - }; -} diff --git a/modules/hosts/mystra/hardware.nix b/modules/hosts/mystra/hardware.nix deleted file mode 100644 index 6599d7f..0000000 --- a/modules/hosts/mystra/hardware.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ - self, - inputs, - ... -}: { - flake.nixosModules.mystraHardware = { - config, - lib, - pkgs, - modulesPath, - ... - }: { - # TODO: Insert hardware config generated by Mystra - }; -} -- cgit v1.2.3