Configure nix-shell to allow unfree packages
This commit is contained in:
parent
88be6bf8db
commit
545b4c897c
2 changed files with 3 additions and 1 deletions
|
@ -20,6 +20,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.charlotte = { ... }: {
|
home-manager.users.charlotte = { ... }: {
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config = import ./nix-store/config.nix;
|
||||||
|
xdg.configFile."nixpkgs/config.nix".source = ./nix-store/config.nix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
1
configurations/nix-store/config.nix
Normal file
1
configurations/nix-store/config.nix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{ allowUnfree = true; }
|
Loading…
Add table
Add a link
Reference in a new issue