remove discord from iso build
Some checks failed
Build iso when a new version is pushed / test (push) Failing after 2m17s
Some checks failed
Build iso when a new version is pushed / test (push) Failing after 2m17s
This commit is contained in:
@ -9,7 +9,7 @@ jobs:
|
||||
- name: get repo
|
||||
uses: actions/checkout@v4.2.2
|
||||
|
||||
- name: create iso image
|
||||
- name: install nix
|
||||
uses: https://github.com/cachix/install-nix-action@v31
|
||||
|
||||
- name: build iso
|
||||
|
5
homeConfigs/hosts/iso.nix
Normal file
5
homeConfigs/hosts/iso.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
mods.discord.enable = false;
|
||||
}
|
15
homeConfigs/modules/discord.nix
Normal file
15
homeConfigs/modules/discord.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
@ -6,7 +6,7 @@
|
||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# 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
|
||||
unison
|
||||
discord
|
||||
google-chrome
|
||||
brightnessctl
|
||||
playerctl
|
||||
|
@ -17,6 +17,9 @@
|
||||
|
||||
home-manager.extraSpecialArgs = { inherit inputs; inherit pkgs; isOs = true;};
|
||||
home-manager.users.tom = {
|
||||
imports = [ ../../homeConfigs/home.nix ];
|
||||
imports = [
|
||||
../../homeConfigs/home.nix
|
||||
../../homeConfigs/hosts/iso.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user