nix: Move unfree allowing into os config

Might need the same for HM config?
This commit is contained in:
Geoffrey Frogeye 2023-11-23 13:21:29 +01:00
parent 63b5e9c252
commit 42954e7214
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
3 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,6 @@ then
exec nix-shell -p nix-output-monitor --run $0 exec nix-shell -p nix-output-monitor --run $0
fi fi
export NIXPKGS_ALLOW_UNFREE=1
extra="" extra=""
if [ "$(uname -m)" != "aarch64" ] if [ "$(uname -m)" != "aarch64" ]
then then

View file

@ -10,7 +10,6 @@ then
exec nix-shell -p nix-output-monitor --run $0 exec nix-shell -p nix-output-monitor --run $0
fi fi
export NIXPKGS_ALLOW_UNFREE=1
if [ "$(uname -m)" == "x86_64" ] if [ "$(uname -m)" == "x86_64" ]
then then
config=./curacao.nix config=./curacao.nix

View file

@ -30,6 +30,8 @@
android-udev-rules android-udev-rules
]; ];
nixpkgs.config.allowUnfree = true;
programs = { programs = {
# Enable compilation cache # Enable compilation cache
ccache.enable = true; ccache.enable = true;