From fbd485cd86c7e9984819357398f912a2d5510845 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 12 Sep 2023 12:56:39 +0200 Subject: tv: emigrate --- tv/2configs/xdg.nix | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 tv/2configs/xdg.nix (limited to 'tv/2configs/xdg.nix') 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} -"); -} -- cgit v1.2.3