about summary refs log tree commit diff stats
path: root/flake/nixosConfigurations
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-04-10 12:32:27 +0200
committerSoispha <soispha@vhack.eu>2023-05-09 19:30:06 +0200
commitc28efb453df4d7f125dc69a6c89bef9c66f69500 (patch)
treed82b98f1653ed26ea7422ff65b6f0b40ca1cca94 /flake/nixosConfigurations
parentFix(flake): Only activate ca-derivations after feature activate (diff)
downloadnixos-config-c28efb453df4d7f125dc69a6c89bef9c66f69500.tar.gz
nixos-config-c28efb453df4d7f125dc69a6c89bef9c66f69500.zip
Fix(treewide): Make system compile again
Diffstat (limited to '')
-rw-r--r--flake/nixosConfigurations/default.nix21
1 files changed, 12 insertions, 9 deletions
diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix
index d8663f85..d47c89aa 100644
--- a/flake/nixosConfigurations/default.nix
+++ b/flake/nixosConfigurations/default.nix
@@ -2,6 +2,7 @@
 {
   system,
   pkgs,
+  nixpkgs,
   sysLib,
   yambar_cpu,
   yambar_memory,
@@ -52,19 +53,21 @@
     };
   };
   ageConfig = import ../../secrets;
+  impermanenceConfig = import ../../system/impermanence;
   defaultModules = [
     agenix.nixosModules.default
     ageConfig
 
     home-manager.nixosModules.home-manager
-    #(import "${inputs.home-manager}/nixos")
 
-    # inputs.impermanence.nixosModules.home-manager.impermanence
     homeManagerConfig
+
+    impermanence.nixosModules.impermanence
+    impermanenceConfig
   ];
 in {
-  tiamat = pkgs.lib.nixosSystem {
-    inherit system;
+  tiamat = nixpkgs.lib.nixosSystem {
+    inherit system pkgs;
     modules =
       [
         ../../hosts/tiamat/configuration.nix
@@ -72,23 +75,23 @@ in {
       ++ defaultModules;
   };
 
-  mammun = pkgs.lib.nixosSystem {
-    inherit system;
+  mammun = nixpkgs.lib.nixosSystem {
+    inherit system pkgs;
     modules =
       [
         ../../hosts/mammun/configuration.nix
       ]
       ++ defaultModules;
   };
-  lahmu = pkgs.lib.nixosSystem {
-    inherit system;
+  lahmu = nixpkgs.lib.nixosSystem {
+    inherit system pkgs;
     modules =
       [
         ../../hosts/lahmu/configuration.nix
       ]
       ++ defaultModules;
   };
-  spawn = pkgs.lib.nixosSystem {
+  spawn = nixpkgs.lib.nixosSystem {
     modules = [../../hosts/spawn/configuration.nix];
   };
 }