Add nomacs

This commit is contained in:
ItsDrike 2024-06-21 11:38:10 +02:00
parent 9eb0fc4b0a
commit 92e0e85ee6
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
4 changed files with 19 additions and 0 deletions

View file

@ -2,5 +2,6 @@ _: {
imports = [ imports = [
./wayland.nix ./wayland.nix
./stremio.nix ./stremio.nix
./nomacs.nix
]; ];
} }

View file

@ -0,0 +1,16 @@
{
lib,
pkgs,
osConfig,
...
}: let
inherit (lib) mkIf;
cfg = osConfig.myOptions.home-manager.programs.nomacs;
in {
config = mkIf cfg.enable {
home.packages = with pkgs; [
nomacs
];
};
}

View file

@ -172,6 +172,7 @@
enable = true; enable = true;
autoStart = true; autoStart = true;
}; };
nomacs.enable = true;
}; };
}; };
}; };

View file

@ -32,6 +32,7 @@ in
enable = mkEnableOption "Vesktop (An alternate client for Discord with Vencord built-in)"; enable = mkEnableOption "Vesktop (An alternate client for Discord with Vencord built-in)";
autoStart = mkEnableOption "Auto-Start for Vesktop"; autoStart = mkEnableOption "Auto-Start for Vesktop";
}; };
nomacs.enable = mkEnableOption "Nomacs (Qt-based image viewer)";
tools = { tools = {
fastfetch.enable = mkEnableOption "FastFetch (fast neofetch)"; fastfetch.enable = mkEnableOption "FastFetch (fast neofetch)";