Set NIX_PATH
* set `NIX_PATH` correctly * ensure that dynamic update of nixpkgs path works
This commit is contained in:
parent
80dcdb8290
commit
1dab9bb303
4 changed files with 10 additions and 0 deletions
|
|
@ -62,6 +62,8 @@ in
|
||||||
programs.fish.loginShellInit = ''
|
programs.fish.loginShellInit = ''
|
||||||
if [ -z $WAYLAND_DISPLAY ] && [ (tty) = /dev/tty1 ]
|
if [ -z $WAYLAND_DISPLAY ] && [ (tty) = /dev/tty1 ]
|
||||||
export XDG_SESSION_TYPE="wayland" # otherwise set to tty
|
export XDG_SESSION_TYPE="wayland" # otherwise set to tty
|
||||||
|
set -e __HM_SESS_VARS_SOURCED
|
||||||
|
set -e __NIXOS_SET_ENVIRONMENT_DONE
|
||||||
exec systemd-cat -t sway sway
|
exec systemd-cat -t sway sway
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./autologin.nix
|
./autologin.nix
|
||||||
./dji-goggles.nix
|
./dji-goggles.nix
|
||||||
|
./fish.nix
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
./kvm-switch-enable-screen.nix
|
./kvm-switch-enable-screen.nix
|
||||||
./localization.nix
|
./localization.nix
|
||||||
|
|
|
||||||
3
modules/fish.nix
Normal file
3
modules/fish.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
programs.fish.enable = true;
|
||||||
|
}
|
||||||
|
|
@ -14,6 +14,10 @@
|
||||||
daemonIOSchedPriority = 7;
|
daemonIOSchedPriority = 7;
|
||||||
|
|
||||||
autoOptimiseStore = true;
|
autoOptimiseStore = true;
|
||||||
|
|
||||||
|
nixPath = [
|
||||||
|
"nixpkgs=${inputs.nixpkgs}"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.overlays = with inputs; [
|
nixpkgs.overlays = with inputs; [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue