mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-26 07:14:34 +00:00
Add nomacs
This commit is contained in:
parent
9eb0fc4b0a
commit
92e0e85ee6
|
@ -2,5 +2,6 @@ _: {
|
||||||
imports = [
|
imports = [
|
||||||
./wayland.nix
|
./wayland.nix
|
||||||
./stremio.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;
|
enable = true;
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
};
|
};
|
||||||
|
nomacs.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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)";
|
||||||
|
|
Loading…
Reference in a new issue