mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 19:47:47 +00:00
Enable nix ld
This commit is contained in:
parent
5abecb0456
commit
7ba6ec389c
2 changed files with 8 additions and 2 deletions
|
@ -117,7 +117,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultConfiguration = host: abstractions.systemConfiguration {
|
defaultConfiguration = host: with abstractions; systemConfiguration {
|
||||||
nix.gc = {
|
nix.gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "daily";
|
dates = "daily";
|
||||||
|
@ -143,6 +143,8 @@
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
nixpkgs.overlays = [ fenix.overlays.default ];
|
nixpkgs.overlays = [ fenix.overlays.default ];
|
||||||
|
|
||||||
|
programs.nix-ld = enabled {};
|
||||||
|
|
||||||
environment.defaultPackages = [];
|
environment.defaultPackages = [];
|
||||||
|
|
||||||
boot.tmp.cleanOnBoot = true;
|
boot.tmp.cleanOnBoot = true;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ulib, systemConfiguration, homeConfiguration, homePackages, enabled, ... }: ulib.recursiveUpdate3
|
{ config, pkgs, ulib, systemConfiguration, homeConfiguration, homePackages, enabled, ... }: ulib.recursiveUpdate3
|
||||||
|
|
||||||
(systemConfiguration {
|
(systemConfiguration {
|
||||||
users.defaultUserShell = pkgs.nushell;
|
users.defaultUserShell = pkgs.nushell;
|
||||||
|
@ -11,6 +11,10 @@
|
||||||
configFile.source = ./configuration.nu;
|
configFile.source = ./configuration.nu;
|
||||||
envFile.source = ./environment.nu;
|
envFile.source = ./environment.nu;
|
||||||
|
|
||||||
|
environmentVariables = {
|
||||||
|
inherit (config.environment.variables) NIX_LD;
|
||||||
|
};
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
cdtmp = "cd (mktemp --directory)";
|
cdtmp = "cd (mktemp --directory)";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue