about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-08-04 22:17:29 +0900
committersefidel <contact@sefidel.net>2024-08-06 16:01:39 +0900
commit336c701e81ad9c2ef321b933f9406b739ffe5aac (patch)
treec7b6ae519f680f9ae0cdec5966730039f47247a4 /modules
parentb675bd54bd5bf96cbc326ea62a0549338aa27156 (diff)
downloadnixrc-336c701e81ad9c2ef321b933f9406b739ffe5aac.tar.gz
nixrc-336c701e81ad9c2ef321b933f9406b739ffe5aac.zip
feat(modules/persistence)!: import impermanence inside module
Diffstat (limited to 'modules')
-rw-r--r--modules/persistence.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/persistence.nix b/modules/persistence.nix
index 22d9be6..989bed0 100644
--- a/modules/persistence.nix
+++ b/modules/persistence.nix
@@ -1,4 +1,4 @@
-{ config, lib, ... }:
+{ config, inputs, lib, ... }:
 
 
 with lib;
@@ -6,6 +6,10 @@ let
   cfg = config.modules.persistence;
 in
 {
+  imports = [
+    inputs.impermanence.nixosModules.impermanence
+  ];
+
   options.modules.persistence = {
     enable = mkEnableOption "impermanence persistence";