diff --git a/homeConfigs/hosts/iso.nix b/homeConfigs/hosts/iso.nix index 3b07af0..f055981 100644 --- a/homeConfigs/hosts/iso.nix +++ b/homeConfigs/hosts/iso.nix @@ -1,5 +1,5 @@ { lib, pkgs, ... }: { - mods.discord.enable = false; + mods.nonChromium.enable = false; } diff --git a/homeConfigs/modules/discord.nix b/homeConfigs/modules/discord.nix deleted file mode 100644 index 53edf44..0000000 --- a/homeConfigs/modules/discord.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ config, lib, pkgs, ... }: - -{ - options.mods.discord.enable = lib.mkOption { - type = lib.types.bool; - default = true; - description = "install discord"; - }; - - config = lib.mkIf config.mods.discord.enable { - home.packages = with pkgs;[ - discord - google-chrome - ]; - }; -} diff --git a/homeConfigs/modules/nonChromium.nix b/homeConfigs/modules/nonChromium.nix new file mode 100644 index 0000000..bd83476 --- /dev/null +++ b/homeConfigs/modules/nonChromium.nix @@ -0,0 +1,16 @@ +{ config, lib, pkgs, ... }: + +{ + options.mods.nonChromium.enable = lib.mkOption { + type = lib.types.bool; + default = true; + description = "all chromium/electron based application can't be built by act-runner, so they can't be in the iso"; + }; + + config = lib.mkIf config.mods.nonChromium.enable { + home.packages = with pkgs;[ + discord + google-chrome + ]; + }; +}