diff --git a/modules/persist/default.nix b/modules/persist/default.nix index 27484d32f..849870777 100644 --- a/modules/persist/default.nix +++ b/modules/persist/default.nix @@ -2,7 +2,7 @@ # https://xeiaso.net/blog/paranoid-nixos-2021-07-18 # https://elis.nu/blog/2020/05/nixos-tmpfs-as-root/ # https://github.com/nix-community/impermanence -{ config, lib, pkgs, utils, sane-lib, ... }: +{ config, lib, sane-lib, ... }: with lib; let @@ -164,7 +164,7 @@ let dirToAttrs = dir: { "${dir.path}" = builtins.removeAttrs dir ["path"]; }; - store-names = attrNames cfg.stores; + # store-names = attrNames cfg.stores; # :: (store -> entry -> AttrSet) -> [AttrSet] # applyToAllStores = f: lib.concatMap # (store: map (f store) config.byStore."${store}") diff --git a/modules/persist/stores/ephemeral/default.nix b/modules/persist/stores/ephemeral/default.nix index 8840a5158..c1402aa43 100644 --- a/modules/persist/stores/ephemeral/default.nix +++ b/modules/persist/stores/ephemeral/default.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, sane-lib, utils, ... }: +{ config, lib, pkgs, sane-lib, ... }: let persist-base = "/nix/persist"; diff --git a/modules/persist/stores/private/default.nix b/modules/persist/stores/private/default.nix index 27e20fbdb..8833a6218 100644 --- a/modules/persist/stores/private/default.nix +++ b/modules/persist/stores/private/default.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, sane-lib, utils, ... }: +{ config, lib, pkgs, sane-lib, ... }: let persist-base = "/nix/persist";