{ pkgs, lib, config, ... }: { imports = [ ../../../home-manager/profiles/chat.nix ../../../home-manager/profiles/developing.nix ../../../home-manager/profiles/direnv.nix ../../../home-manager/profiles/drawing.nix ../../../home-manager/profiles/gaming.nix ../../../home-manager/profiles/git.nix ../../../home-manager/profiles/gnupg.nix ../../../home-manager/profiles/gnupg.nix ../../../home-manager/profiles/graphical.nix ../../../home-manager/profiles/lf.nix ../../../home-manager/profiles/mpv.nix ../../../home-manager/profiles/networking.nix ../../../home-manager/profiles/nix.nix ../../../home-manager/profiles/radio.nix ../../../home-manager/profiles/science.nix ../../../home-manager/profiles/video.nix ../../../home-manager/profiles/wireless.nix ../../../home-manager/profiles/yt-dlp.nix ../../../home-manager/profiles/emacs.nix ../../../home-manager/profiles/firefox.nix ../../../home-manager/profiles/ghc.nix ../../../home-manager/profiles/starship.nix ../../../home-manager/profiles/xmonad.nix ../../../home-manager/profiles/arbtt.nix ../mails.nix ]; programs.bash.shellAliases.riseup = "sudo ip netns exec riseup sudo -u $USER PULSE_SERVER=/run/user/$(id -u $USER)/pulse/native"; programs.gpg.homedir = "${config.home.homeDirectory}/files/sec/.gnupg"; home.sessionVariables = { PASSWORD_STORE_DIR = "$HOME/files/sec/.password-store"; }; home.packages = [ pkgs.radicle-node #pkgs.radicle-httpd pkgs.ghostscript #pkgs.go-mtpfs pkgs.ntfs3g pkgs.p7zip pkgs.unar pkgs.pdftk pkgs.vips pkgs.poppler_utils # psnup conflicts with pkgs.texlive.combined.scheme-* (lib.lowPrio pkgs.psutils) pkgs.ink pkgs.djview pkgs.qpdf pkgs.libreoffice pkgs.calibre pkgs.zotero pkgs.evince pkgs.marble pkgs.gcompris pkgs.frozen-bubble pkgs.neverball pkgs.tuxpaint pkgs.xsane pkgs.transmission pkgs.transmission-remote-gtk pkgs.gthumb pkgs.thunderbird pkgs.element-desktop #pkgs.chromium pkgs.fluidsynth pkgs.gpsbabel #(pkgs.qgis.override { extraPythonPackages = (ps: [ # ps.pyqt5_with_qtwebkit #]); }) #pkgs.libva-utils pkgs.otpclient pkgs.pandoc pkgs.pdf2djvu #pkgs.ristretto pkgs.xfce.mousepad #pkgs.mate.pluma pkgs.wxmaxima pkgs.espeak-ng pkgs.iodine pkgs.vdhcoapp #pkgs.qsynth pkgs.giph pkgs.slop pkgs.xorg.xwininfo pkgs.xdotool ]; xdg.dataFile."arbtt/categorize.cfg".text = '' $idle > 30 ==> tag inactive, current window $program = ["evince", "Evince"] && current window $title =~ m!(.*) — (.*)! ==> tag evince, current window $program = ["gl", "mpv"] && current window $title =~ m!MPV: playing: ([^:]*)! ==> tag mpv, current window $program = ["Navigator"] && current window $title =~ m!Web: ([^:]*): ([^:]*)! ==> tag $1:Web, current window $title =~ m!Term: ([^:]*): (?:~|/home/julm)/(?:src|work)/(.*)! ==> tag Work:$2, current window $title =~ m!Term: ([^:]*): (?:~|/home/julm)/(?:files)/(.*)! ==> tag Perso:$2, tag Desktop:$current.desktop, tag Program:$current.program, ''; /* Cannot be automounted systemd.user.mounts = { mnt-aubergine = { Unit = { Wants = [ "network-online.target" "wireguard-wg-intra.target" ]; After = [ "network-online.target" "wireguard-wg-intra.target" ]; }; Install = { WantedBy = ["default.target"]; }; Mount = { What = "julm@aubergine.sp:/"; Where = "/mnt/aubergine"; Type = "fuse.sshfs"; Options = lib.concatStringsSep "," [ "user" "uid=julm" "gid=users" "allow_other" "exec" # Override "user"'s noexec "noatime" "nosuid" "noauto" "dir_cache=no" #"reconnect" "x-gvfs-hide" # Does not work for user mounts #"x-systemd.automount" "IdentityFile=/home/julm/.ssh/id_ed25519" #"Compression=yes" # YMMV # Disconnect approximately 2*15=30 seconds after a network failure "ServerAliveCountMax=1" "ServerAliveInterval=15" ]; }; }; }; */ /* Automounting does not work without root privileges systemd.user.automounts = { mnt-aubergine = { Install = { WantedBy = ["user.target"]; }; Unit = { }; Automount = { Where = "/mnt/aubergine"; TimeoutIdleSec = "5 min"; }; }; }; */ }