mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-24 06:52:24 +00:00
Compare commits
No commits in common. "58a0e6166dfe442b6949f89ec1784ba5f7b451fe" and "37fa835c662e31e8573b8f9390b0023581d0934d" have entirely different histories.
58a0e6166d
...
37fa835c66
@ -10,21 +10,12 @@
|
||||
};
|
||||
|
||||
config = lib.mkIf (config.gui.enable && config.media.enable) {
|
||||
home-manager.users.${config.user} = {
|
||||
home.packages = with pkgs; [
|
||||
mpv # Video viewer
|
||||
sxiv # Image viewer
|
||||
mupdf # PDF viewer
|
||||
zathura # PDF viewer
|
||||
];
|
||||
|
||||
# Set default for opening PDFs
|
||||
xdg.mimeApps.defaultApplications."application/pdf" =
|
||||
[ "zathura.desktop" ];
|
||||
xdg.mimeApps.defaultApplications."image/*" = [ "sxiv.desktop" ];
|
||||
|
||||
};
|
||||
|
||||
home-manager.users.${config.user}.home.packages = with pkgs; [
|
||||
mpv # Video viewer
|
||||
sxiv # Image viewer
|
||||
mupdf # PDF viewer
|
||||
zathura # PDF viewer
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -17,10 +17,6 @@
|
||||
gnome.sushi # Quick preview with spacebar
|
||||
];
|
||||
|
||||
# Set default for opening directories
|
||||
xdg.mimeApps.defaultApplications."inode/directory" =
|
||||
[ "nautilus.desktop" ];
|
||||
|
||||
programs.fish.functions = {
|
||||
qr = {
|
||||
body =
|
||||
|
@ -35,9 +35,4 @@
|
||||
# Allows GRUB to interact with the UEFI/BIOS I guess
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
|
||||
# Allow reading from Windows drives
|
||||
boot.supportedFilesystems =
|
||||
lib.mkIf (config.physical && pkgs.stdenv.isLinux) [ "ntfs" ];
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user