1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 19:47:47 +00:00

Enable nix ld

This commit is contained in:
RGBCube 2023-12-05 17:26:26 +03:00
parent 5abecb0456
commit 7ba6ec389c
No known key found for this signature in database
2 changed files with 8 additions and 2 deletions

View file

@ -117,7 +117,7 @@
};
};
defaultConfiguration = host: abstractions.systemConfiguration {
defaultConfiguration = host: with abstractions; systemConfiguration {
nix.gc = {
automatic = true;
dates = "daily";
@ -143,6 +143,8 @@
nixpkgs.config.allowUnfree = true;
nixpkgs.overlays = [ fenix.overlays.default ];
programs.nix-ld = enabled {};
environment.defaultPackages = [];
boot.tmp.cleanOnBoot = true;

View file

@ -1,4 +1,4 @@
{ pkgs, ulib, systemConfiguration, homeConfiguration, homePackages, enabled, ... }: ulib.recursiveUpdate3
{ config, pkgs, ulib, systemConfiguration, homeConfiguration, homePackages, enabled, ... }: ulib.recursiveUpdate3
(systemConfiguration {
users.defaultUserShell = pkgs.nushell;
@ -11,6 +11,10 @@
configFile.source = ./configuration.nu;
envFile.source = ./environment.nu;
environmentVariables = {
inherit (config.environment.variables) NIX_LD;
};
shellAliases = {
cdtmp = "cd (mktemp --directory)";