+/config
my dotfiles and nix configuration
git clone https://git.julia.blue/+/config
387acb1
main
1{ pkgs , lib , config , ...} :{ 2home . packages = with pkgs ; [ 3util-linux 4moreutils 5lsof 6usbtop 7powertop 8lm_sensors 9sysz 10element 11netscanner 12] ++ lib . optionals pkgs . stdenv . hostPlatform . isx86_64 [ 13lurk 14]; 15 16# programs.direnv.stdlib = "use angr"; 17 18targets . genericLinux . enable = true ; 19xdg = { enable = true ; 20userDirs = let home = config . home . homeDirectory ; in { 21enable = true ; 22setSessionVariables = true ; 23desktop = home ; 24templates = home + "/.templates" ; 25publicShare = null ; 26documents = home + "/documents" ; 27download = home + "/downloads" ; 28music = home + "/music" ; 29pictures = home + "/images" ; 30videos = home + "/videos" ; 31}; 32 33mime . enable = true ; 34mimeApps = { enable = true ; 35defaultApplications = let ff = "firefox.desktop" ; in { 36"application/pdf" = "zathura.desktop" ; 37"text/html" = ff ; 38"x-scheme-handler/http" = ff ; 39"x-scheme-handler/https" = ff ; 40"x-scheme-handler/tg" = "org.telegram.desktop" ; 41}; 42}; 43# don't warn when an app modified the file 44configFile . "mimeapps.list" . force = true ; 45}; 46 47i18n . glibcLocales = pkgs . glibcLocalesUtf8 ; 48}