diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 91bd56d..a65ac06 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -13,6 +13,8 @@ boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.efiSysMountPoint = "/boot/efi"; + nix.daemonCPUSchedPolicy = "idle"; + networking.hostName = "nixos"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. diff --git a/hosts/home.nix b/hosts/home.nix index c031f28..2a6a408 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -13,6 +13,7 @@ [ (import ../modules/themes/home.nix) ] ++ [ (import ../modules/programs/mako.nix) ] ++ [ (import ../modules/programs/alacritty.nix) ] ++ + [ (import ../modules/programs/zathura.nix) ] ++ [ (import ../modules/desktop/gtk.nix) ] ++ [ (import ../modules/shell/zsh/home.nix) ]; diff --git a/modules/programs/zathura.nix b/modules/programs/zathura.nix new file mode 100644 index 0000000..0b96d14 --- /dev/null +++ b/modules/programs/zathura.nix @@ -0,0 +1,11 @@ +{ pkgs, config, ... }: + +{ + programs.zathura = { + enable = true; + extraConfig = '' + # Open document in fit-width mode by default + set adjust-open "best-fit" + ''; + }; +}