summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 8a90cec..856d15a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -10,6 +10,11 @@
inputs.nixpkgs.follows = "nixpkgs";
};
+ disko = {
+ url = "github:nix-community/disko/latest";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
@@ -31,6 +36,7 @@
self,
nixpkgs,
treefmt-nix,
+ disko,
...
}@inputs:
let
@@ -89,6 +95,21 @@
inputs.sops-nix.nixosModules.sops
];
};
+ omega-relay = nixpkgs.lib.nixosSystem {
+ specialArgs = {
+ inherit inputs;
+ };
+ system = "x86_64-linux";
+ modules = [
+ ./modules
+ ./users/wilkuu-server.nix
+ ./hosts/omega-relay
+ inputs.home-manager.nixosModules.default
+ disko.nixosModules.disko
+ inputs.sops-nix.nixosModules.sops
+ ];
+
+ };
};
};
}