From 14015cbb8184622ed4079648ab01bec20e2844e0 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 26 Jan 2025 15:24:06 +0100 Subject: ... --- accounts/gkleen@sif/default.nix | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'accounts/gkleen@sif/default.nix') diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 2d2e25cb..7a2095ad 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -504,6 +504,10 @@ in { [Unit] After=graphical-session.target ''; + "systemd/user/home-manager.service.d/before-graphical-session.conf".text = '' + [Unit] + Before=graphical-session-pre.target + ''; }; xdg.dataFile = { @@ -645,6 +649,39 @@ in { color-scheme = "prefer-dark"; }; }; + + home.persistence."/.bcachefs/home/gkleen" = { + directories = [ + "documents" "scad" "projects" "screenshots" "Downloads" + "media" + + { directory = ".local/share/Steam"; method = "symlink"; } + + ".mozilla" ".local/share/direnv" ".local/share/nix" + ".local/share/libvirt" ".local/share/remmina" + ".local/share/documents.unison" ".local/share/etesync-dav" + ".pki" ".wallpapers" ".thunderbird" ".zoom" ".gnupg" ".cups" + ".ssh" ".config/sops" ".config/freerdp" ".config/libvirt" + ".config/rclone" ".config/OpenSCAD" + ".config/var/lib/swtpm-localca" ".config/xournalpp" + ".config/borg" ".config/keepassxc" ".config/obs-studio" + ".config/remmina" ".config/glab-cli" ".config/google-chrome" + ".config/google-chrome-rainbow" ".config/Element" + ".config/Element-lmu" ".config/worktime" ".config/gh" + ".config/Youtube Music Desktop App" + ".config/emacs/auto-save-list" ".cache/worktime" + ]; + files = [ + "store.kdbx" "rz.kdbx" + + ".config/swtpm-localca.options" ".config/swtpm-localca.conf" + ".config/swtpm_setup.conf" ".config/synadm.yaml" + ".config/zoom.conf" ".config/zoomus.conf" ".netrc" + ".store.kdbx.json" ".zsh_history" + ".config/gtk-2.0/gtkfilechooser.ini" + ]; + allowOther = true; + }; }; }; } -- cgit v1.2.3