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 --- hosts/mystra/configuration.nix | 19 +++++++++++++++++++ hosts/mystra/default.nix | 12 ++++++++++++ hosts/mystra/hardware.nix | 15 +++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 hosts/mystra/configuration.nix create mode 100644 hosts/mystra/default.nix create mode 100644 hosts/mystra/hardware.nix (limited to 'hosts/mystra') diff --git a/hosts/mystra/configuration.nix b/hosts/mystra/configuration.nix new file mode 100644 index 0000000..0185c19 --- /dev/null +++ b/hosts/mystra/configuration.nix @@ -0,0 +1,19 @@ +{ + self, + inputs, + ... +}: { + flake.nixosModules.mystraConfiguration = { + pkgs, + lib, + ... + }: { + imports = [ + self.nixosModules.mystraHardware + self.nixosModules.system + self.nixosModules.niri + ]; + + # ... + }; +} diff --git a/hosts/mystra/default.nix b/hosts/mystra/default.nix new file mode 100644 index 0000000..5a7fad5 --- /dev/null +++ b/hosts/mystra/default.nix @@ -0,0 +1,12 @@ +{ + self, + inputs, + ... +}: { + flake.nixosConfigurations.mystra = inputs.nixpkgs.lib.nixosSystem { + modules = [ + self.nixosModules.mystraConfiguration + inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x220 + ]; + }; +} diff --git a/hosts/mystra/hardware.nix b/hosts/mystra/hardware.nix new file mode 100644 index 0000000..6599d7f --- /dev/null +++ b/hosts/mystra/hardware.nix @@ -0,0 +1,15 @@ +{ + self, + inputs, + ... +}: { + flake.nixosModules.mystraHardware = { + config, + lib, + pkgs, + modulesPath, + ... + }: { + # TODO: Insert hardware config generated by Mystra + }; +} -- cgit v1.2.3