1 { pkgs, lib, config, ... }:
4 ../../../home-manager/profiles/chat.nix
5 ../../../home-manager/profiles/developing.nix
6 ../../../home-manager/profiles/direnv.nix
7 ../../../home-manager/profiles/drawing.nix
8 ../../../home-manager/profiles/gaming.nix
9 ../../../home-manager/profiles/git.nix
10 ../../../home-manager/profiles/gnupg.nix
11 ../../../home-manager/profiles/gnupg.nix
12 ../../../home-manager/profiles/graphical.nix
13 ../../../home-manager/profiles/lf.nix
14 ../../../home-manager/profiles/mpv.nix
15 ../../../home-manager/profiles/networking.nix
16 ../../../home-manager/profiles/nix.nix
17 ../../../home-manager/profiles/radio.nix
18 ../../../home-manager/profiles/science.nix
19 ../../../home-manager/profiles/video.nix
20 ../../../home-manager/profiles/wireless.nix
21 ../../../home-manager/profiles/yt-dlp.nix
23 ../../../home-manager/profiles/emacs.nix
24 ../../../home-manager/profiles/firefox.nix
25 ../../../home-manager/profiles/ghc.nix
26 ../../../home-manager/profiles/starship.nix
27 ../../../home-manager/profiles/xmonad.nix
28 ../../../home-manager/profiles/arbtt.nix
32 programs.bash.shellAliases.riseup = "sudo ip netns exec riseup sudo -u $USER PULSE_SERVER=/run/user/$(id -u $USER)/pulse/native";
33 programs.gpg.homedir = "${config.home.homeDirectory}/files/sec/.gnupg";
34 home.sessionVariables = {
35 PASSWORD_STORE_DIR = "$HOME/files/sec/.password-store";
48 # psnup conflicts with pkgs.texlive.combined.scheme-*
49 (lib.lowPrio pkgs.psutils)
69 #(pkgs.qgis.override { extraPythonPackages = (ps: [
70 # ps.pyqt5_with_qtwebkit
90 xdg.dataFile."arbtt/categorize.cfg".text = ''
91 $idle > 30 ==> tag inactive,
93 current window $program = ["evince", "Evince"] && current window $title =~ m!(.*) — (.*)!
95 current window $program = ["gl", "mpv"] && current window $title =~ m!MPV: playing: ([^:]*)!
97 current window $program = ["Navigator"] && current window $title =~ m!Web: ([^:]*): ([^:]*)!
99 current window $title =~ m!Term: ([^:]*): (?:~|/home/julm)/(?:src|work)/(.*)!
101 current window $title =~ m!Term: ([^:]*): (?:~|/home/julm)/(?:files)/(.*)!
104 tag Desktop:$current.desktop,
105 tag Program:$current.program,
108 /* Cannot be automounted
109 systemd.user.mounts = {
113 "network-online.target"
114 "wireguard-wg-intra.target"
117 "network-online.target"
118 "wireguard-wg-intra.target"
122 WantedBy = ["default.target"];
125 What = "julm@aubergine.sp:/";
126 Where = "/mnt/aubergine";
128 Options = lib.concatStringsSep "," [
133 "exec" # Override "user"'s noexec
140 # Does not work for user mounts
141 #"x-systemd.automount"
142 "IdentityFile=/home/julm/.ssh/id_ed25519"
143 #"Compression=yes" # YMMV
144 # Disconnect approximately 2*15=30 seconds after a network failure
145 "ServerAliveCountMax=1"
146 "ServerAliveInterval=15"
153 Automounting does not work without root privileges
154 systemd.user.automounts = {
157 WantedBy = ["user.target"];
162 Where = "/mnt/aubergine";
163 TimeoutIdleSec = "5 min";