diff options
Diffstat (limited to 'hosts/mystra')
| -rw-r--r-- | hosts/mystra/configuration.nix | 19 | ||||
| -rw-r--r-- | hosts/mystra/default.nix | 12 | ||||
| -rw-r--r-- | hosts/mystra/hardware.nix | 15 |
3 files changed, 46 insertions, 0 deletions
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 + }; +} |
