Compare commits

..

No commits in common. "58a0e6166dfe442b6949f89ec1784ba5f7b451fe" and "37fa835c662e31e8573b8f9390b0023581d0934d" have entirely different histories.

3 changed files with 6 additions and 24 deletions

View File

@ -10,21 +10,12 @@
}; };
config = lib.mkIf (config.gui.enable && config.media.enable) { config = lib.mkIf (config.gui.enable && config.media.enable) {
home-manager.users.${config.user} = { home-manager.users.${config.user}.home.packages = with pkgs; [
home.packages = with pkgs; [ mpv # Video viewer
mpv # Video viewer sxiv # Image viewer
sxiv # Image viewer mupdf # PDF viewer
mupdf # PDF viewer zathura # PDF viewer
zathura # PDF viewer ];
];
# Set default for opening PDFs
xdg.mimeApps.defaultApplications."application/pdf" =
[ "zathura.desktop" ];
xdg.mimeApps.defaultApplications."image/*" = [ "sxiv.desktop" ];
};
}; };
} }

View File

@ -17,10 +17,6 @@
gnome.sushi # Quick preview with spacebar gnome.sushi # Quick preview with spacebar
]; ];
# Set default for opening directories
xdg.mimeApps.defaultApplications."inode/directory" =
[ "nautilus.desktop" ];
programs.fish.functions = { programs.fish.functions = {
qr = { qr = {
body = body =

View File

@ -35,9 +35,4 @@
# Allows GRUB to interact with the UEFI/BIOS I guess # Allows GRUB to interact with the UEFI/BIOS I guess
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
# Allow reading from Windows drives
boot.supportedFilesystems =
lib.mkIf (config.physical && pkgs.stdenv.isLinux) [ "ntfs" ];
} }