Skip to content

Commit

Permalink
Remove root channels from nixpath
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed Sep 19, 2024
1 parent ae59b6a commit 9396017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@
nix.registry.nixpkgs.flake = nixpkgs;
# set the system "nixpkgs" to the nixpkgs defined in this flake
# https://dataswamp.org/~solene/2022-07-20-nixos-flakes-command-sync-with-system.html#_nix-shell_vs_nix_shell
nix.nixPath = ["nixpkgs=/etc/channels/nixpkgs" "/nix/var/nix/profiles/per-user/root/channels"];
nix.nixPath = ["nixpkgs=/etc/channels/nixpkgs"];
environment.etc."channels/nixpkgs".source = nixpkgs.outPath;
};
nixos = {name ? throw "No module name provided" }: import ./system/nixos/${name}/configuration.nix;
Expand Down

0 comments on commit 9396017

Please sign in to comment.