allow unfree

This commit is contained in:
2024-10-18 16:06:50 -05:00
parent b671b7453d
commit 22f3ab8f51
2 changed files with 8 additions and 6 deletions

10
flake.lock generated
View File

@@ -1057,13 +1057,13 @@
"prgms": "prgms" "prgms": "prgms"
}, },
"locked": { "locked": {
"lastModified": 1, "lastModified": 0,
"narHash": "sha256-w8QAH7J7i0N6VBrimTIEMRAQsNewV9Or9ZGciVC21s4=", "narHash": "sha256-w8QAH7J7i0N6VBrimTIEMRAQsNewV9Or9ZGciVC21s4=",
"path": "/nix/store/2dnlpq2ld6d38qczmir57rcv4pv4mxg8-source/home", "path": "/nix/store/njalq9aqmk4hnn7b38szvfbkdygnndvp-source/home",
"type": "path" "type": "path"
}, },
"original": { "original": {
"path": "/nix/store/2dnlpq2ld6d38qczmir57rcv4pv4mxg8-source/home", "path": "/nix/store/njalq9aqmk4hnn7b38szvfbkdygnndvp-source/home",
"type": "path" "type": "path"
} }
}, },
@@ -1689,11 +1689,11 @@
"locked": { "locked": {
"lastModified": 1, "lastModified": 1,
"narHash": "sha256-pisVSoS4ojquaGhd+MP6mtUmTOFK5ONzeTZJ1D6GOwQ=", "narHash": "sha256-pisVSoS4ojquaGhd+MP6mtUmTOFK5ONzeTZJ1D6GOwQ=",
"path": "/nix/store/2dnlpq2ld6d38qczmir57rcv4pv4mxg8-source/system", "path": "/nix/store/njalq9aqmk4hnn7b38szvfbkdygnndvp-source/system",
"type": "path" "type": "path"
}, },
"original": { "original": {
"path": "/nix/store/2dnlpq2ld6d38qczmir57rcv4pv4mxg8-source/system", "path": "/nix/store/njalq9aqmk4hnn7b38szvfbkdygnndvp-source/system",
"type": "path" "type": "path"
} }
}, },

View File

@@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ config, lib, pkgs, core_inputs, ... }: { config, lib, pkgs, ... }:
{ {
@@ -13,6 +13,8 @@
config = lib.mkIf config.sysconfig.homebox.enable { config = lib.mkIf config.sysconfig.homebox.enable {
allowUnfree = true;
assertions = [ assertions = [
{ {
assertion = !config.sysconfig.laptop.enable; assertion = !config.sysconfig.laptop.enable;