fix nixosConfiguration

This commit is contained in:
joachimschmidt557 2021-10-10 10:09:48 +02:00
parent ba7d2d4b54
commit 311b3abff7
No known key found for this signature in database
GPG key ID: E0B575BE2884ACC5

View file

@ -4,26 +4,27 @@
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs
{
system = system;
config = {
allowUnfree = true;
flake-utils.lib.eachDefaultSystem
(system:
let
pkgs = import nixpkgs
{
system = system;
config = {
allowUnfree = true;
};
};
};
in
{
packages.lutris = pkgs.lutris;
in
{
packages.lutris = pkgs.lutris;
devShells.zig = import ./nix/zig.nix { pkgs = pkgs; };
nixosConfigurations = {
dustbowl = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./nixos/dustbowl.nix ];
};
devShells.zig = import ./nix/zig.nix { pkgs = pkgs; };
}) // {
nixosConfigurations = {
dustbowl = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./nixos/dustbowl.nix ];
};
});
};
};
}