summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-10-31 16:24:30 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-10-31 16:25:22 +0100
commit05ff11b987a151a93fa115b653a79c4e57a3f731 (patch)
tree9e91be5a43ab530f864ff29ba4ed90d5fd07ca0e /modules
parentmodules/backup: Simplify and align with server module (diff)
downloadnixos-config-05ff11b987a151a93fa115b653a79c4e57a3f731.zip
modules/impermanence: Align with server
Diffstat (limited to 'modules')
-rw-r--r--modules/by-name/im/impermanence/module.nix13
1 files changed, 2 insertions, 11 deletions
diff --git a/modules/by-name/im/impermanence/module.nix b/modules/by-name/im/impermanence/module.nix
index be3bacdc..0fbd7425 100644
--- a/modules/by-name/im/impermanence/module.nix
+++ b/modules/by-name/im/impermanence/module.nix
@@ -1,19 +1,10 @@
-# nixos-config - My current NixOS configuration
-#
-# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
-# SPDX-License-Identifier: GPL-3.0-or-later
-#
-# This file is part of my nixos-config.
-#
-# You should have received a copy of the License along with this program.
-# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
{
config,
lib,
modules,
...
}: let
- cfg = config.vhack.impermanence;
+ cfg = config.vhack.persist;
userDirectories = lib.debug.traceValSeqN 2 (lib.mapAttrs (_: dirs: {
directories =
@@ -21,7 +12,7 @@
})
cfg.userDirectories);
in {
- options.vhack.impermanence = {
+ options.vhack.persist = {
enable = lib.mkEnableOption "persisting directories and files with impermanence";
directories = lib.mkOption {