nix: Move unfree allowing into os config
Might need the same for HM config?
This commit is contained in:
parent
63b5e9c252
commit
42954e7214
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue