summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 2c2e496..27bd53d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -10,6 +10,17 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
+
+ # Disko
+ disko = {
+ url = "github:nix-community/disko";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+
+ # Impermanence
+ impermanence = {
+ url = "github:nix-community/impermanence";
+ };
};
outputs = { self, nixpkgs, ... }@inputs: {
@@ -20,8 +31,13 @@
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
+ inputs.disko.nixosModules.default
+ (import ./disko.nix { device = "/dev/vda"; })
+
./machines/x/configuration.nix
+
inputs.home-manager.nixosModules.default
+ inputs.impermanence.nixosModules.impermanence
];
};