1 { pkgs, lib, config, ... }:
4 ../../../home-manager/profiles/chat.nix
5 ../../../home-manager/profiles/developing.nix
6 ../../../home-manager/profiles/drawing.nix
7 ../../../home-manager/profiles/gaming.nix
8 ../../../home-manager/profiles/gnupg.nix
9 ../../../home-manager/profiles/graphical.nix
10 ../../../home-manager/profiles/networking.nix
11 ../../../home-manager/profiles/radio.nix
12 ../../../home-manager/profiles/science.nix
13 ../../../home-manager/profiles/video.nix
14 ../../../home-manager/profiles/yt-dlp.nix
15 ../../../home-manager/profiles/mpv.nix
16 ../../../home-manager/profiles/wireless.nix
18 ../../../home-manager/profiles/emacs.nix
19 ../../../home-manager/profiles/firefox.nix
20 ../../../home-manager/profiles/xmonad.nix
21 ../../../home-manager/profiles/ghc.nix
25 programs.bash.shellAliases.riseup = "sudo ip netns exec riseup sudo -u $USER PULSE_SERVER=/run/user/$(id -u $USER)/pulse/native";
26 programs.gpg.homedir = "${config.home.homeDirectory}/files/sec/.gnupg";
27 home.sessionVariables = {
28 PASSWORD_STORE_DIR = "$HOME/files/sec/.password-store";
39 # psnup conflicts with pkgs.texlive.combined.scheme-*
40 (lib.lowPrio pkgs.psutils)
58 #(pkgs.qgis.override { extraPythonPackages = (ps: [
59 # ps.pyqt5_with_qtwebkit
74 /* Cannot be automounted
75 systemd.user.mounts = {
79 "network-online.target"
80 "wireguard-wg-intra.target"
83 "network-online.target"
84 "wireguard-wg-intra.target"
88 WantedBy = ["default.target"];
91 What = "julm@aubergine.wg:/";
92 Where = "/mnt/aubergine";
94 Options = lib.concatStringsSep "," [
99 "exec" # Override "user"'s noexec
106 # Does not work for user mounts
107 #"x-systemd.automount"
108 "IdentityFile=/home/julm/.ssh/id_ed25519"
109 #"Compression=yes" # YMMV
110 # Disconnect approximately 2*15=30 seconds after a network failure
111 "ServerAliveCountMax=1"
112 "ServerAliveInterval=15"
119 Automounting does not work without root privileges
120 systemd.user.automounts = {
123 WantedBy = ["user.target"];
128 Where = "/mnt/aubergine";
129 TimeoutIdleSec = "5 min";