summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-10-09 18:19:57 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-10-09 18:19:57 +0530
commitf4301e2194ede90f6fe3ab70be5e598a6eb5f2e4 (patch)
tree29490e04e9400ca16be6ee2d16bb4c05a65d7feb /flake.nix
parent55bc8a949a13e0909d05ee1ecaeae0ab3035f37b (diff)
(impermanence): Initial try.
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
];
};