mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 19:54:36 +00:00
Group app programs options
This commit is contained in:
parent
92e0e85ee6
commit
874cbcec70
|
@ -6,7 +6,7 @@
|
|||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.nomacs;
|
||||
cfg = osConfig.myOptions.home-manager.programs.applications.nomacs;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.stremio;
|
||||
cfg = osConfig.myOptions.home-manager.programs.applications.stremio;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.spotify;
|
||||
cfg = osConfig.myOptions.home-manager.programs.applications.spotify;
|
||||
spicePkgs = inputs.spicetify.packages.${pkgs.system}.default;
|
||||
in {
|
||||
imports = [inputs.spicetify.homeManagerModule];
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.vesktop;
|
||||
cfg = osConfig.myOptions.home-manager.programs.applications.vesktop;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [ vesktop ];
|
||||
|
|
|
@ -101,8 +101,9 @@
|
|||
mullvad-browser.enable = true;
|
||||
schizofox.enable = true;
|
||||
};
|
||||
|
||||
spotify.enable = true;
|
||||
applications = {
|
||||
spotify.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -166,13 +166,15 @@
|
|||
fastfetch.enable = true;
|
||||
hyfetch.enable = true;
|
||||
};
|
||||
spotify.enable = true;
|
||||
stremio.enable = true;
|
||||
vesktop = {
|
||||
enable = true;
|
||||
autoStart = true;
|
||||
applications = {
|
||||
spotify.enable = true;
|
||||
stremio.enable = true;
|
||||
vesktop = {
|
||||
enable = true;
|
||||
autoStart = true;
|
||||
};
|
||||
nomacs.enable = true;
|
||||
};
|
||||
nomacs.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -26,13 +26,15 @@ in
|
|||
schizofox.enable = mkEnableOption "Schizophrenic version of Firefox browser";
|
||||
};
|
||||
|
||||
spotify.enable = mkEnableOption "Spotify";
|
||||
stremio.enable = mkEnableOption "Stremio free media center";
|
||||
vesktop = {
|
||||
enable = mkEnableOption "Vesktop (An alternate client for Discord with Vencord built-in)";
|
||||
autoStart = mkEnableOption "Auto-Start for Vesktop";
|
||||
applications = {
|
||||
spotify.enable = mkEnableOption "Spotify";
|
||||
stremio.enable = mkEnableOption "Stremio free media center";
|
||||
vesktop = {
|
||||
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)";
|
||||
};
|
||||
nomacs.enable = mkEnableOption "Nomacs (Qt-based image viewer)";
|
||||
|
||||
tools = {
|
||||
fastfetch.enable = mkEnableOption "FastFetch (fast neofetch)";
|
||||
|
|
Loading…
Reference in a new issue