nix run github:astro/deadnix

This commit is contained in:
2023-09-30 17:06:41 +03:00
parent 305eba5d2e
commit 0e9f90a960
18 changed files with 16 additions and 30 deletions

View File

@@ -23,7 +23,7 @@
};
extraArgs = ["--verbose"];
datasets = let
fs_zfs = lib.filterAttrs (n: v: v.fsType == "zfs") config.fileSystems;
fs_zfs = lib.filterAttrs (_: v: v.fsType == "zfs") config.fileSystems;
mountpoint2fs =
builtins.listToAttrs
(map (mountpoint: {
@@ -32,7 +32,7 @@
})
config.mj.base.snapshot.mountpoints);
s_datasets =
lib.mapAttrs' (mountpoint: fs: {
lib.mapAttrs' (_mountpoint: fs: {
name = fs.device;
value = {use_template = ["prod"];};
})