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 3a9cb6c332
commit 77e8840534
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
4 changed files with 41 additions and 56 deletions

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;
};
}