Skip to content

Commit

Permalink
[NixOS] Half fix for evaluation of <nixpath> in nix commands
Browse files Browse the repository at this point in the history
  • Loading branch information
colonelpanic8 committed Sep 3, 2023
1 parent 0017e46 commit 2f02f72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nixos/nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;

nix = {
nix = rec {
extraOptions = ''
experimental-features = nix-command flakes
'';
Expand All @@ -32,6 +32,7 @@
nixPath = [
"nixpkgs=${inputs.nixpkgs.outPath}"
];
settings.nix-path = nixPath;
};

nixpkgs.overlays = [
Expand Down

0 comments on commit 2f02f72

Please sign in to comment.