diff options
Diffstat (limited to 'modules/hosts')
| -rw-r--r-- | modules/hosts/mystra/configuration.nix | 19 | ||||
| -rw-r--r-- | modules/hosts/mystra/default.nix | 11 |
2 files changed, 30 insertions, 0 deletions
diff --git a/modules/hosts/mystra/configuration.nix b/modules/hosts/mystra/configuration.nix new file mode 100644 index 0000000..fd34ca0 --- /dev/null +++ b/modules/hosts/mystra/configuration.nix @@ -0,0 +1,19 @@ +{ + self, + inputs, + ... +}: { + flake.nixosModules.mystraConfiguration = { + pkgs, + lib, + ... + }: { + # import any other modules from here + imports = [ + self.nixosModules.myMachineHardware + self.nixosModules.niri + ]; + + # ... + }; +} diff --git a/modules/hosts/mystra/default.nix b/modules/hosts/mystra/default.nix new file mode 100644 index 0000000..7d09d0d --- /dev/null +++ b/modules/hosts/mystra/default.nix @@ -0,0 +1,11 @@ +{ + self, + inputs, + ... +}: { + flake.nixosConfigurations.mystra = inputs.nixpkgs.lib.nixosSystem { + modules = [ + self.nixosModules.mystraConfiguration + ]; + }; +} |
