modules/persist: lint

This commit is contained in:
2024-09-04 13:13:14 +00:00
parent 6ff35b4366
commit 3e182b2a06
3 changed files with 4 additions and 4 deletions

View File

@@ -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}")

View File

@@ -1,4 +1,4 @@
{ config, lib, pkgs, sane-lib, utils, ... }:
{ config, lib, pkgs, sane-lib, ... }:
let
persist-base = "/nix/persist";

View File

@@ -1,4 +1,4 @@
{ config, lib, pkgs, sane-lib, utils, ... }:
{ config, lib, pkgs, sane-lib, ... }:
let
persist-base = "/nix/persist";