Allow unfree packages in nixplgs

This commit is contained in:
Evie Litherland-Smith 2023-06-22 10:00:21 +01:00
parent c241b30e6b
commit 4d08f9df54

View file

@ -14,6 +14,7 @@
nixpkgs,
home-manager,
}: let
pkgs = import nixpkgs {config = {allowUnfree = true;};};
common-config = {...}: {
nix = {
settings.experimental-features = ["nix-command" "flakes"];
@ -89,6 +90,7 @@
in {
nixosConfigurations = {
Legion = nixpkgs.lib.nixosSystem {
inherit pkgs;
system = "x86_64-linux";
modules = [
home-manager.nixosModules.home-manager
@ -99,6 +101,7 @@
];
};
N0245 = nixpkgs.lib.nixosSystem {
inherit pkgs;
system = "x86_64-linux";
modules = [
home-manager.nixosModules.home-manager