mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
various fixes
This commit is contained in:
parent
c13f56c217
commit
1cfe329423
6 changed files with 50 additions and 44 deletions
|
|
@ -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"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue