diff --git a/homes/x86_64-linux/jo@puzzlevision/default.nix b/homes/x86_64-linux/jo@puzzlevision/default.nix index 125e127..262875e 100644 --- a/homes/x86_64-linux/jo@puzzlevision/default.nix +++ b/homes/x86_64-linux/jo@puzzlevision/default.nix @@ -25,6 +25,9 @@ packages = []; }; + # TODO: look at git-sync for syncing stuff like obsidian vaults. + programs.git-credential-oauth.enable = true; + # Declare user packages. home.packages = with pkgs; [ ### General @@ -46,6 +49,7 @@ bun devenv python39 + poetry nil zed-editor bruno diff --git a/modules/nixos/common/nix/default.nix b/modules/nixos/common/nix/default.nix index 1114504..6b1628d 100644 --- a/modules/nixos/common/nix/default.nix +++ b/modules/nixos/common/nix/default.nix @@ -11,6 +11,7 @@ in { options.${namespace}.common.nix = { enable = mkEnableOption "Overwrite the default Nix configuration."; use-lix = mkEnableOption "Enable Lix as an alternative to CppNix."; + use-nixld = mkEnableOption "Enable the use of dynamically linked executables on nix based systems."; }; config = mkIf cfg.enable { @@ -39,5 +40,14 @@ in { package = mkIf cfg.use-lix pkgs.lix; # Enable LIX }; + + # Dynamic libraries for unpackaged programs + programs.nix-ld = mkIf cfg.use-nixld { + enable = true; + libraries = with pkgs; [ + glibc + libcxx + ]; + }; }; }