remove discord from iso build
Some checks failed
Build iso when a new version is pushed / test (push) Failing after 2m17s

This commit is contained in:
2025-04-15 15:54:01 +02:00
parent 72f6ae62bc
commit e5c52b4bc5
5 changed files with 26 additions and 4 deletions

View File

@ -9,7 +9,7 @@ jobs:
- name: get repo - name: get repo
uses: actions/checkout@v4.2.2 uses: actions/checkout@v4.2.2
- name: create iso image - name: install nix
uses: https://github.com/cachix/install-nix-action@v31 uses: https://github.com/cachix/install-nix-action@v31
- name: build iso - name: build iso

View File

@ -0,0 +1,5 @@
{ lib, pkgs, ... }:
{
mods.discord.enable = false;
}

View File

@ -0,0 +1,15 @@
{ 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
];
};
}

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ # # By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2025/02/09 22:01:56 by tomoron #+# #+# # # Created: 2025/02/09 22:01:56 by tomoron #+# #+# #
# Updated: 2025/03/27 18:53:17 by tomoron ### ########.fr # # Updated: 2025/04/15 15:34:14 by tomoron ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -18,7 +18,6 @@
activate-linux activate-linux
unison unison
discord
google-chrome google-chrome
brightnessctl brightnessctl
playerctl playerctl

View File

@ -17,6 +17,9 @@
home-manager.extraSpecialArgs = { inherit inputs; inherit pkgs; isOs = true;}; home-manager.extraSpecialArgs = { inherit inputs; inherit pkgs; isOs = true;};
home-manager.users.tom = { home-manager.users.tom = {
imports = [ ../../homeConfigs/home.nix ]; imports = [
../../homeConfigs/home.nix
../../homeConfigs/hosts/iso.nix
];
}; };
} }