Compare commits

...

2 commits

View file

@ -89,6 +89,11 @@
# Add ~/.local/bin/ to $PATH
environment.localBinInPath = true;
environment.homeBinInPath = true;
# Only this works, from https://github.com/NixOS/nixpkgs/issues/157383#issuecomment-1186081648
environment.shellInit = ''
export PATH="$PATH:$HOME/.local/bin"
'';
# Needed for Slack but probably helps other stuff too.
# See https://wiki.nixos.org/wiki/Slack
@ -131,6 +136,10 @@
LC_TIME = "en_US.UTF-8";
};
# Just make bin/bash work, see https://github.com/Mic92/envfs
# via the long, sad https://discourse.nixos.org/t/add-bin-bash-to-avoid-unnecessary-pain/5673/37
services.envfs.enable = true;
# Via https://github.com/NixOS/nixos-hardware/tree/master/framework
services.fwupd.enable = true;
services.fwupd.extraRemotes = [ "lvfs-testing" ];