summaryrefslogtreecommitdiffstats
path: root/tv/2configs/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-07-23 13:19:44 +0200
committertv <tv@krebsco.de>2016-07-23 13:19:44 +0200
commitb6dfed56ddb161907988e0bcbc923de0c5b226dd (patch)
tree87796c659cd618c9a745e33ef4c0fb112ced0a6c /tv/2configs/default.nix
parent268303de888591f4b98dc610f89707cd3cfe3ef7 (diff)
tv xdg: init
Diffstat (limited to 'tv/2configs/default.nix')
-rw-r--r--tv/2configs/default.nix11
1 files changed, 1 insertions, 10 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix
index 7992c90cb..0e463212e 100644
--- a/tv/2configs/default.nix
+++ b/tv/2configs/default.nix
@@ -32,6 +32,7 @@ with config.krebs.lib;
./ssh.nix
./sshd.nix
./vim.nix
+ ./xdg.nix
{
# stockholm dependencies
environment.systemPackages = with pkgs; [
@@ -144,15 +145,5 @@ with config.krebs.lib;
pkgs.push
];
}
-
- {
- 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} -");
- environment.variables.XDG_RUNTIME_DIR = "/run/xdg/$LOGNAME";
- }
];
}