diff --git a/home/isabel/programs/configs/cli/default.nix b/home/isabel/programs/configs/cli/default.nix index 1d3786c19..acb5ec589 100644 --- a/home/isabel/programs/configs/cli/default.nix +++ b/home/isabel/programs/configs/cli/default.nix @@ -2,6 +2,7 @@ _: { imports = [ ./shells + ./atuin.nix ./bat.nix ./eza.nix ./git.nix diff --git a/home/isabel/programs/configs/gui/default.nix b/home/isabel/programs/configs/gui/default.nix index e47e90a64..2f3400378 100644 --- a/home/isabel/programs/configs/gui/default.nix +++ b/home/isabel/programs/configs/gui/default.nix @@ -7,6 +7,7 @@ _: { ./terminals ./discord.nix + ./viewnior.nix ./zathura.nix ]; } diff --git a/home/isabel/programs/configs/gui/viewnior.nix b/home/isabel/programs/configs/gui/viewnior.nix index 44694fddc..26fedb54b 100644 --- a/home/isabel/programs/configs/gui/viewnior.nix +++ b/home/isabel/programs/configs/gui/viewnior.nix @@ -7,34 +7,32 @@ acceptedTypes = ["laptop" "desktop" "hybrid"]; in { config = lib.mkIf ((lib.isAcceptedDevice osConfig acceptedTypes) && osConfig.modules.programs.gui.enable) { - home = { - packages = with pkgs; [ - viewnior - ]; + home.packages = with pkgs; [ + viewnior + ]; - xdg.configFile."viewnior/viewnior.conf".text = '' - [prefs] - zoom-mode=0 - fit-on-fullscreen=true - show-hidden=true - dark-background=false - smooth-images=true - confirm-delete=true - reload-on-save=false - show-menu-bar=false - show-toolbar=false - show-scrollbar=false - show-statusbar=false - start-maximized=false - slideshow-timeout=5 - auto-resize=false - behavior-wheel=1 - behavior-click=0 - behavior-modify=0 - jpeg-quality=100 - png-compression=9 - desktop=6 - ''; - }; + xdg.configFile."viewnior/viewnior.conf".text = '' + [prefs] + zoom-mode=0 + fit-on-fullscreen=true + show-hidden=true + dark-background=false + smooth-images=true + confirm-delete=true + reload-on-save=false + show-menu-bar=false + show-toolbar=false + show-scrollbar=false + show-statusbar=false + start-maximized=false + slideshow-timeout=5 + auto-resize=false + behavior-wheel=1 + behavior-click=0 + behavior-modify=0 + jpeg-quality=100 + png-compression=9 + desktop=6 + ''; }; }