diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-18 21:56:16 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-18 21:59:59 +0200 |
commit | 746ea42ff4616024ec41b6dcb1d2588dee4b85d1 (patch) | |
tree | 4d4a1a774f6499161f7bd3077f1f21c31f93da35 /modules/by-name/te/tempfiles/module.nix | |
parent | refactor(modules/legacy/conf/zsh): Parameterize and move to new `by-name` (diff) | |
download | nixos-config-746ea42ff4616024ec41b6dcb1d2588dee4b85d1.tar.gz nixos-config-746ea42ff4616024ec41b6dcb1d2588dee4b85d1.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | modules/by-name/te/tempfiles/module.nix | 20 |
1 files changed, 0 insertions, 20 deletions
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" - ]; - }; -} |