mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 19:47:47 +00:00
Use all env vars for nushell
This commit is contained in:
parent
b388135b21
commit
b86f2a7fd2
4 changed files with 6 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
|||
{ theme, homeConfiguration, enabled, ... }:
|
||||
|
||||
homeConfiguration [ "nixos" "root" ] {
|
||||
programs.nushell.environmentVariables = {
|
||||
home.sessionVariables = {
|
||||
MANPAGER = ''"bat --plain --language man"'';
|
||||
PAGER = ''"bat --plain"'';
|
||||
};
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ lib, pkgs, homeConfiguration, homePackages, enabled, ... }: lib.recursiveUpdate
|
||||
|
||||
(homeConfiguration [ "nixos" "root" ] {
|
||||
programs.nushell.environmentVariables.EDITOR = "hx";
|
||||
programs.nushell.shellAliases.x = "hx";
|
||||
programs.nushell.shellAliases.x = "hx";
|
||||
|
||||
programs.helix = enabled {
|
||||
defaultEditor = true;
|
||||
|
||||
settings.theme = "base16_transparent";
|
||||
|
||||
settings.editor = {
|
||||
|
|
|
@ -11,9 +11,7 @@
|
|||
configFile.source = ./configuration.nu;
|
||||
envFile.source = ./environment.nu;
|
||||
|
||||
environmentVariables = {
|
||||
inherit (config.environment.variables) NIX_LD;
|
||||
};
|
||||
environmentVariables = config.environment.variables;
|
||||
|
||||
shellAliases = {
|
||||
cdtmp = "cd (mktemp --directory)";
|
||||
|
|
|
@ -5,9 +5,7 @@ systemConfiguration {
|
|||
sound = enabled {};
|
||||
|
||||
services.pipewire = enabled {
|
||||
alsa = enabled {
|
||||
support32Bit = true;
|
||||
};
|
||||
alsa = enabled { support32Bit = true; };
|
||||
pulse = enabled {};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue