Allow unfree packages in nixplgs
This commit is contained in:
parent
c241b30e6b
commit
4d08f9df54
|
@ -14,6 +14,7 @@
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
home-manager,
|
home-manager,
|
||||||
}: let
|
}: let
|
||||||
|
pkgs = import nixpkgs {config = {allowUnfree = true;};};
|
||||||
common-config = {...}: {
|
common-config = {...}: {
|
||||||
nix = {
|
nix = {
|
||||||
settings.experimental-features = ["nix-command" "flakes"];
|
settings.experimental-features = ["nix-command" "flakes"];
|
||||||
|
@ -89,6 +90,7 @@
|
||||||
in {
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
Legion = nixpkgs.lib.nixosSystem {
|
Legion = nixpkgs.lib.nixosSystem {
|
||||||
|
inherit pkgs;
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
|
@ -99,6 +101,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
N0245 = nixpkgs.lib.nixosSystem {
|
N0245 = nixpkgs.lib.nixosSystem {
|
||||||
|
inherit pkgs;
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
|
|
Loading…
Reference in a new issue