diff --git a/nixos/configurations/Tytonidae/default.nix b/nixos/configurations/Tytonidae/default.nix index 4189403..e724726 100644 --- a/nixos/configurations/Tytonidae/default.nix +++ b/nixos/configurations/Tytonidae/default.nix @@ -42,6 +42,7 @@ enable = true; baseDomain = "home.arp"; }; + nix-ld.enable = true; }; gui.enabled = "cosmic"; }; diff --git a/nixos/modules/programs/default.nix b/nixos/modules/programs/default.nix index 4502cec..88fedc8 100644 --- a/nixos/modules/programs/default.nix +++ b/nixos/modules/programs/default.nix @@ -15,5 +15,6 @@ ./tailscale.nix ./transmission.nix ./conduwuit.nix + ./nix-ld.nix ]; } diff --git a/nixos/modules/programs/nix-ld.nix b/nixos/modules/programs/nix-ld.nix new file mode 100644 index 0000000..2625592 --- /dev/null +++ b/nixos/modules/programs/nix-ld.nix @@ -0,0 +1,31 @@ +{ + pkgs, + config, + lib, + ... +}: +let + cfg = config.youthlic.programs.nix-ld; +in +{ + options = { + youthlic.programs.nix-ld = { + enable = lib.mkEnableOption "nix-ld"; + }; + }; + config = lib.mkIf cfg.enable { + programs.nix-ld = { + enable = true; + # libraries = with pkgs; [ + # stdenv.cc.cc + # zlib + # fuse3 + # icu + # nss + # openssl + # curl + # expat + # ]; + }; + }; +}