mirror of
https://github.com/RGBCube/ncc
synced 2025-07-31 12:07:48 +00:00
parent
c4a9653cd3
commit
33fa3b639a
3 changed files with 6 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
{ theme, homeConfiguration, enabled, ... }:
|
{ theme, homeConfiguration, enabled, ... }:
|
||||||
|
|
||||||
homeConfiguration [ "nixos" "root" ] {
|
homeConfiguration [ "nixos" "root" ] {
|
||||||
home.sessionVariables = {
|
programs.nushell.environmentVariables = {
|
||||||
MANPAGER = ''"bat --plain --language man"'';
|
MANPAGER = ''"bat --plain --language man"'';
|
||||||
PAGER = ''"bat --plain"'';
|
PAGER = ''"bat --plain"'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
{ lib, pkgs, homeConfiguration, homePackages, enabled, ... }: lib.recursiveUpdate
|
{ lib, pkgs, homeConfiguration, homePackages, enabled, ... }: lib.recursiveUpdate
|
||||||
|
|
||||||
(homeConfiguration [ "nixos" "root" ] {
|
(homeConfiguration [ "nixos" "root" ] {
|
||||||
programs.nushell.shellAliases.x = "hx";
|
programs.nushell.environmentVariables.EDITOR = "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 = {
|
||||||
|
|
|
@ -11,7 +11,9 @@
|
||||||
configFile.source = ./configuration.nu;
|
configFile.source = ./configuration.nu;
|
||||||
envFile.source = ./environment.nu;
|
envFile.source = ./environment.nu;
|
||||||
|
|
||||||
environmentVariables = config.environment.variables;
|
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