Compare commits

...

2 commits

Author SHA1 Message Date
333120d703
change pinentry 2025-01-23 17:20:47 -05:00
5847641056
xdg mime and user dirs 2025-01-23 17:18:33 -05:00
2 changed files with 48 additions and 1 deletions
nix
home
programs/gpg

View file

@ -61,6 +61,53 @@
};
};
xdg.mimeApps = {
enable = true;
defaultApplications = {
# web
"text/html" = "firefox.desktop";
"x-scheme-handler/http" = "firefox.desktop";
"x-scheme-handler/https" = "firefox.desktop";
"x-scheme-handler/about" = "firefox.desktop";
"x-scheme-handler/unknown" = "firefox.desktop";
# images
"image/png" = "imv.desktop";
"image/jpeg" = "imv.desktop";
"image/webp" = "imv.desktop";
"image/tga" = "imv.desktop";
"image/bmp" = "imv.desktop";
"image/gif" = "imv.desktop";
# audio video
"video/mp4" = "mpv.desktop";
"video/x-msvideo" = "mpv.desktop";
"video/mkv" = "mpv.desktop";
"video/webm" = "mpv.desktop";
"audio/mp3" = "mpv.desktop";
"audio/wav" = "mpv.desktop";
# other
"application/pdf" = "org.pwmt.zathura.desktop";
"x-scheme-handler/mspa" = "unofficial-homestuck-collection.desktop";
"x-scheme-handler/discord" = "discord.desktop";
};
};
xdg.userDirs = {
enable = true;
createDirectories = false;
desktop = "${config.homePath}/desktop";
documents = "${config.homePath}/documents";
download = "${config.homePath}/downloads";
music = "${config.homePath}/music";
pictures = "${config.homePath}/pictures";
publicShare = "${config.homePath}";
templates = "${config.homePath}";
videos = "${config.homePath}/videos";
};
gtk = {
enable = true;
gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;

View file

@ -18,7 +18,7 @@
enableSshSupport = true;
#updateStartupTty = true;
pinentryPackage = pkgs.pinentry-gtk2;
pinentryPackage = pkgs.pinentry-curses;
};
};
}