mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-26 07:44:33 +00:00
Group app programs options
This commit is contained in:
parent
92e0e85ee6
commit
874cbcec70
|
@ -6,7 +6,7 @@
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
|
|
||||||
cfg = osConfig.myOptions.home-manager.programs.nomacs;
|
cfg = osConfig.myOptions.home-manager.programs.applications.nomacs;
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
|
|
||||||
cfg = osConfig.myOptions.home-manager.programs.stremio;
|
cfg = osConfig.myOptions.home-manager.programs.applications.stremio;
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkIf;
|
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;
|
spicePkgs = inputs.spicetify.packages.${pkgs.system}.default;
|
||||||
in {
|
in {
|
||||||
imports = [inputs.spicetify.homeManagerModule];
|
imports = [inputs.spicetify.homeManagerModule];
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
|
|
||||||
cfg = osConfig.myOptions.home-manager.programs.vesktop;
|
cfg = osConfig.myOptions.home-manager.programs.applications.vesktop;
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = with pkgs; [ vesktop ];
|
home.packages = with pkgs; [ vesktop ];
|
||||||
|
|
|
@ -101,9 +101,10 @@
|
||||||
mullvad-browser.enable = true;
|
mullvad-browser.enable = true;
|
||||||
schizofox.enable = true;
|
schizofox.enable = true;
|
||||||
};
|
};
|
||||||
|
applications = {
|
||||||
spotify.enable = true;
|
spotify.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -166,6 +166,7 @@
|
||||||
fastfetch.enable = true;
|
fastfetch.enable = true;
|
||||||
hyfetch.enable = true;
|
hyfetch.enable = true;
|
||||||
};
|
};
|
||||||
|
applications = {
|
||||||
spotify.enable = true;
|
spotify.enable = true;
|
||||||
stremio.enable = true;
|
stremio.enable = true;
|
||||||
vesktop = {
|
vesktop = {
|
||||||
|
@ -176,4 +177,5 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,6 +26,7 @@ in
|
||||||
schizofox.enable = mkEnableOption "Schizophrenic version of Firefox browser";
|
schizofox.enable = mkEnableOption "Schizophrenic version of Firefox browser";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
applications = {
|
||||||
spotify.enable = mkEnableOption "Spotify";
|
spotify.enable = mkEnableOption "Spotify";
|
||||||
stremio.enable = mkEnableOption "Stremio free media center";
|
stremio.enable = mkEnableOption "Stremio free media center";
|
||||||
vesktop = {
|
vesktop = {
|
||||||
|
@ -33,6 +34,7 @@ in
|
||||||
autoStart = mkEnableOption "Auto-Start for Vesktop";
|
autoStart = mkEnableOption "Auto-Start for Vesktop";
|
||||||
};
|
};
|
||||||
nomacs.enable = mkEnableOption "Nomacs (Qt-based image viewer)";
|
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