summaryrefslogtreecommitdiff
path: root/modules/hosts
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-06-18 21:02:24 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-06-18 21:02:24 +0200
commit16f1554e54b9c6957ea449936091ff6e28246822 (patch)
tree70648f87b609d971db3c3160dfe37677c02bc891 /modules/hosts
parent543c52c6acdec3659a0fa72e73b477beb4c7c7c4 (diff)
Added the base
Diffstat (limited to 'modules/hosts')
-rw-r--r--modules/hosts/mystra/configuration.nix19
-rw-r--r--modules/hosts/mystra/default.nix11
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
+ ];
+ };
+}