#2 first somewhat working iteration, there seems to be a problem with home manager still
This commit is contained in:
parent
19d03b20c5
commit
0be4728958
11 changed files with 118 additions and 16 deletions
16
modules/nixos/tools/nix-ld/default.nix
Normal file
16
modules/nixos/tools/nix-ld/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ options, config, lib, pkgs, ... }:
|
||||
|
||||
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";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.nix-ld.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue