From 7ef945bfa4dfb2d1330ec441161796a4462a2d98 Mon Sep 17 00:00:00 2001 From: ene Date: Sat, 18 Mar 2023 15:27:08 +0100 Subject: Fix(hm/conf/lf): Allow trashing of files on the temp fs --- system/default.nix | 1 + system/tempfiles/default.nix | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 system/tempfiles/default.nix (limited to 'system') diff --git a/system/default.nix b/system/default.nix index 13386a6d..23418312 100644 --- a/system/default.nix +++ b/system/default.nix @@ -11,6 +11,7 @@ ./polkit ./graphics ./services + ./tempfiles ]; # TODO does this really remove all the bloatware, nixos installs by default? environment = { diff --git a/system/tempfiles/default.nix b/system/tempfiles/default.nix new file mode 100644 index 00000000..f94ddcee --- /dev/null +++ b/system/tempfiles/default.nix @@ -0,0 +1,7 @@ +# vim: ts=2 +{config, ...}: { + systemd.tmpfiles.rules = [ + # this file is needed to trash stuff on the temp fs + "d /.Trash 1777 root root" # TODO move this to the lf config + ]; +} -- cgit 1.4.1