mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-09 22:49:42 +00:00
Add nomacs
This commit is contained in:
parent
9eb0fc4b0a
commit
92e0e85ee6
|
@ -2,5 +2,6 @@ _: {
|
|||
imports = [
|
||||
./wayland.nix
|
||||
./stremio.nix
|
||||
./nomacs.nix
|
||||
];
|
||||
}
|
||||
|
|
16
home/packages/gui/nomacs.nix
Normal file
16
home/packages/gui/nomacs.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
|
@ -172,6 +172,7 @@
|
|||
enable = true;
|
||||
autoStart = true;
|
||||
};
|
||||
nomacs.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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)";
|
||||
|
|
Loading…
Reference in a new issue