various fixes

This commit is contained in:
Gerg-L 2023-07-18 17:18:24 -04:00
parent c13f56c217
commit 1cfe329423
6 changed files with 50 additions and 44 deletions

View file

@ -1,4 +1,8 @@
inputs: {pkgs, ...}: {
inputs: {
pkgs,
config,
...
}: {
#other nix settings
nix = {
package = inputs.nix.packages.${pkgs.system}.default;
@ -24,6 +28,6 @@ inputs: {pkgs, ...}: {
};
#fix for use-xdg-base-directories
environment.profiles = [
"$HOME/.local/state/nix/profiles/profile"
"${config.environment.variables.XDG_STATE_HOME or "$HOME/.local/state"}/nix/profile"
];
}