summaryrefslogtreecommitdiffstats
path: root/tv/2configs/xdg.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tv/2configs/xdg.nix')
-rw-r--r--tv/2configs/xdg.nix11
1 files changed, 0 insertions, 11 deletions
diff --git a/tv/2configs/xdg.nix b/tv/2configs/xdg.nix
deleted file mode 100644
index b7c14af5a..000000000
--- a/tv/2configs/xdg.nix
+++ /dev/null
@@ -1,11 +0,0 @@
-with import ./lib;
-{ config, pkgs, ... }: {
- environment.variables.XDG_RUNTIME_DIR = "/run/xdg/$LOGNAME";
-
- systemd.tmpfiles.rules = let
- forUsers = flip map users;
- isUser = { name, group, ... }:
- name == "root" || hasSuffix "users" group;
- users = filter isUser (mapAttrsToList (_: id) config.users.users);
- in forUsers (u: "d /run/xdg/${u.name} 0700 ${u.name} ${u.group} -");
-}