summaryrefslogtreecommitdiffstats
path: root/jeschli/2configs/xdg.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-12-12 19:10:52 +0100
committerlassulus <lassulus@lassul.us>2022-12-12 19:10:52 +0100
commit3884243448869bdf09f6434b385e532c7c26ae88 (patch)
tree9e8c97496da7a251637935a41c3ee93ffdf887cd /jeschli/2configs/xdg.nix
parent691f8a1d46a121f78b788cec6fefca48f25af38b (diff)
RIP jeschli
Diffstat (limited to 'jeschli/2configs/xdg.nix')
-rw-r--r--jeschli/2configs/xdg.nix14
1 files changed, 0 insertions, 14 deletions
diff --git a/jeschli/2configs/xdg.nix b/jeschli/2configs/xdg.nix
deleted file mode 100644
index 18bac9b38..000000000
--- a/jeschli/2configs/xdg.nix
+++ /dev/null
@@ -1,14 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with import <stockholm/lib>;
-
-{
- 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} -");
-}