From 746ea42ff4616024ec41b6dcb1d2588dee4b85d1 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 18 Oct 2024 21:56:16 +0200 Subject: refactor(modules/legacy/conf/lf): Move to new `by-name` dir This makes it possible to mix and match between `NixOS` and `home-manager` options and thus allows merging the secret handling directly into this module. Furthermore, the `systemd` tempfiles handling was also merged into this module. --- modules/by-name/te/tempfiles/module.nix | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 modules/by-name/te/tempfiles/module.nix (limited to 'modules/by-name/te/tempfiles') diff --git a/modules/by-name/te/tempfiles/module.nix b/modules/by-name/te/tempfiles/module.nix deleted file mode 100644 index f8bfd4dc..00000000 --- a/modules/by-name/te/tempfiles/module.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ - config, - lib, - ... -}: let - cfg = config.soispha.tempfiles; -in { - options.soispha.tempfiles = { - enable = lib.mkEnableOption "systemd tempfiles generation"; - }; - - config = lib.mkIf cfg.enable { - systemd.tmpfiles.rules = [ - # TODO: Find a way to move this file to the lf home manager config. - # - # This file is needed to trash stuff on the root ('/') temp file system. - "d /.Trash 1777 root root" - ]; - }; -} -- cgit 1.4.1