mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-21 19:52:52 +00:00
add environment
This commit is contained in:
parent
61195fb59b
commit
0e6f928345
3 changed files with 11 additions and 9 deletions
|
@ -67,15 +67,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
environment = {
|
||||
homeBinInPath = true; # Include ~/bin/ in $PATH
|
||||
localBinInPath = true; # Include ~/.local/bin in $PATH
|
||||
sessionVariables = {
|
||||
# tell electron apps to use wayland
|
||||
NIXOS_OZONW_WL = "1";
|
||||
};
|
||||
};
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
./bootloader
|
||||
./display-manager
|
||||
./editor
|
||||
./environment
|
||||
./filesystem
|
||||
./fonts
|
||||
./hardware
|
||||
|
|
10
modules/nixos/environment/default.nix
Normal file
10
modules/nixos/environment/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
_: {
|
||||
environment = {
|
||||
homeBinInPath = true; # Include ~/bin/ in $PATH
|
||||
localBinInPath = true; # Include ~/.local/bin in $PATH
|
||||
sessionVariables = {
|
||||
# tell electron apps to use wayland
|
||||
NIXOS_OZONE_WL = "1";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue