added tide and removed things from the 'main' config to see if it still works

This commit is contained in:
Christoph Hollizeck 2024-03-26 17:48:15 +01:00
parent 1d0cb3f788
commit 829d0d076d
4 changed files with 41 additions and 56 deletions

View file

@ -1,17 +1,17 @@
{ options, config, lib, pkgs, ... }:
with lib;
with lib.wyrdgard; let
cfg = config.wyrdgard.apps.vivaldi;
cfg = config.wyrdgard.apps.vivaldi;
in
{
options.wyrdgard.apps.vivaldi = with types; {
enable = mkBoolOpt false "Whether or not to enable vivaldi browser";
};
options.wyrdgard.apps.vivaldi = with types; {
enable = mkBoolOpt false "Whether or not to enable vivaldi browser";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
vivaldi
vivaldi-ffmpeg-codecs
];
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
vivaldi
vivaldi-ffmpeg-codecs
];
};
}

View file

@ -4,13 +4,14 @@ with lib;
with lib.wyrdgard;
let
cfg = config.wyrdgard.tools.nix-ld;
in {
options.wyrdgard.tools.nix-ld = with types; {
enable = mkBoolOpt false "Wether or not to enable nix-ld";
};
cfg = config.wyrdgard.tools.nix-ld;
in
{
options.wyrdgard.tools.nix-ld = with types; {
enable = mkBoolOpt false "Wether or not to enable nix-ld";
};
config = mkIf cfg.enable {
programs.nix-ld.enable = true;
};
config = mkIf cfg.enable {
programs.nix-ld.enable = true;
};
}