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 = [
./wayland.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;
autoStart = true;
};
nomacs.enable = true;
};
};
};

View file

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