diff options
Diffstat (limited to 'impermanence.nix')
| -rw-r--r-- | impermanence.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/impermanence.nix b/impermanence.nix index d3dae53..3fe347a 100644 --- a/impermanence.nix +++ b/impermanence.nix @@ -6,13 +6,16 @@ let cfg = config.oden.persist; in { - options.oden.persist = with lib; with types; { - directories = mkOption { - type = listOf str; - default = []; - description = "Directories that should be persisted"; + options.oden.persist = + with lib; + with types; + { + directories = mkOption { + type = listOf str; + default = [ ]; + description = "Directories that should be persisted"; + }; }; - }; config = { boot.initrd.postResumeCommands = lib.mkAfter '' mkdir /btrfs_tmp |
