9 ../../../home-manager/profiles/chat.nix
10 ../../../home-manager/profiles/developing.nix
11 ../../../home-manager/profiles/direnv.nix
12 ../../../home-manager/profiles/drawing.nix
13 ../../../home-manager/profiles/gaming.nix
14 ../../../home-manager/profiles/git.nix
15 ../../../home-manager/profiles/gnupg.nix
16 ../../../home-manager/profiles/graphical.nix
17 ../../../home-manager/profiles/lf.nix
18 ../../../home-manager/profiles/mpv.nix
19 ../../../home-manager/profiles/networking.nix
20 ../../../home-manager/profiles/nix.nix
21 ../../../home-manager/profiles/radio.nix
22 ../../../home-manager/profiles/science.nix
23 ../../../home-manager/profiles/video.nix
24 ../../../home-manager/profiles/wireless.nix
25 ../../../home-manager/profiles/yt-dlp.nix
27 ../../../home-manager/profiles/emacs.nix
28 ../../../home-manager/profiles/firefox.nix
29 ../../../home-manager/profiles/ghc.nix
30 ../../../home-manager/profiles/starship.nix
31 ../../../home-manager/profiles/xmonad.nix
32 ../../../home-manager/profiles/arbtt.nix
36 programs.bash.shellAliases.riseup = "sudo ip netns exec riseup sudo -u $USER PULSE_SERVER=/run/user/$(id -u $USER)/pulse/native";
37 programs.gpg.homedir = "${config.home.homeDirectory}/files/sec/.gnupg";
38 home.sessionVariables = {
39 PASSWORD_STORE_DIR = "$HOME/files/sec/.password-store";
52 # psnup conflicts with pkgs.texlive.combined.scheme-*
53 (lib.lowPrio pkgs.psutils)
68 pkgs.transmission-remote-gtk
75 #(pkgs.qgis.override { extraPythonPackages = (ps: [
76 # ps.pyqt5_with_qtwebkit
96 xdg.dataFile."arbtt/categorize.cfg".text = ''
97 $idle > 30 ==> tag inactive,
99 current window $program = ["evince", "Evince"] && current window $title =~ m!(.*) — (.*)!
101 current window $program = ["gl", "mpv"] && current window $title =~ m!MPV: playing: ([^:]*)!
103 current window $program = ["Navigator"] && current window $title =~ m!Web: ([^:]*): ([^:]*)!
105 current window $title =~ m!Term: ([^:]*): (?:~|/home/julm)/(?:src|work)/(.*)!
107 current window $title =~ m!Term: ([^:]*): (?:~|/home/julm)/(?:files)/(.*)!
110 tag Desktop:$current.desktop,
111 tag Program:$current.program,
115 Cannot be automounted
116 systemd.user.mounts = {
120 "network-online.target"
121 "wireguard-wg-intra.target"
124 "network-online.target"
125 "wireguard-wg-intra.target"
129 WantedBy = ["default.target"];
132 What = "julm@aubergine.sp:/";
133 Where = "/mnt/aubergine";
135 Options = lib.concatStringsSep "," [
140 "exec" # Override "user"'s noexec
147 # Does not work for user mounts
148 #"x-systemd.automount"
149 "IdentityFile=/home/julm/.ssh/id_ed25519"
150 #"Compression=yes" # YMMV
151 # Disconnect approximately 2*15=30 seconds after a network failure
152 "ServerAliveCountMax=1"
153 "ServerAliveInterval=15"
160 Automounting does not work without root privileges
161 systemd.user.automounts = {
164 WantedBy = ["user.target"];
169 Where = "/mnt/aubergine";
170 TimeoutIdleSec = "5 min";