1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-08-01 12:37:46 +00:00

Use all env vars for nushell

This commit is contained in:
RGBCube 2023-12-06 01:57:35 +03:00
parent b388135b21
commit b86f2a7fd2
No known key found for this signature in database
4 changed files with 6 additions and 9 deletions

View file

@ -1,7 +1,7 @@
{ theme, homeConfiguration, enabled, ... }: { theme, homeConfiguration, enabled, ... }:
homeConfiguration [ "nixos" "root" ] { homeConfiguration [ "nixos" "root" ] {
programs.nushell.environmentVariables = { home.sessionVariables = {
MANPAGER = ''"bat --plain --language man"''; MANPAGER = ''"bat --plain --language man"'';
PAGER = ''"bat --plain"''; PAGER = ''"bat --plain"'';
}; };

View file

@ -1,10 +1,11 @@
{ lib, pkgs, homeConfiguration, homePackages, enabled, ... }: lib.recursiveUpdate { lib, pkgs, homeConfiguration, homePackages, enabled, ... }: lib.recursiveUpdate
(homeConfiguration [ "nixos" "root" ] { (homeConfiguration [ "nixos" "root" ] {
programs.nushell.environmentVariables.EDITOR = "hx"; programs.nushell.shellAliases.x = "hx";
programs.nushell.shellAliases.x = "hx";
programs.helix = enabled { programs.helix = enabled {
defaultEditor = true;
settings.theme = "base16_transparent"; settings.theme = "base16_transparent";
settings.editor = { settings.editor = {

View file

@ -11,9 +11,7 @@
configFile.source = ./configuration.nu; configFile.source = ./configuration.nu;
envFile.source = ./environment.nu; envFile.source = ./environment.nu;
environmentVariables = { environmentVariables = config.environment.variables;
inherit (config.environment.variables) NIX_LD;
};
shellAliases = { shellAliases = {
cdtmp = "cd (mktemp --directory)"; cdtmp = "cd (mktemp --directory)";

View file

@ -5,9 +5,7 @@ systemConfiguration {
sound = enabled {}; sound = enabled {};
services.pipewire = enabled { services.pipewire = enabled {
alsa = enabled { alsa = enabled { support32Bit = true; };
support32Bit = true;
};
pulse = enabled {}; pulse = enabled {};
}; };
} }