fix nixosConfiguration
This commit is contained in:
parent
ba7d2d4b54
commit
311b3abff7
1 changed files with 20 additions and 19 deletions
39
flake.nix
39
flake.nix
|
|
@ -4,26 +4,27 @@
|
||||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||||
|
|
||||||
outputs = { self, nixpkgs, flake-utils }:
|
outputs = { self, nixpkgs, flake-utils }:
|
||||||
flake-utils.lib.eachDefaultSystem (system:
|
flake-utils.lib.eachDefaultSystem
|
||||||
let
|
(system:
|
||||||
pkgs = import nixpkgs
|
let
|
||||||
{
|
pkgs = import nixpkgs
|
||||||
system = system;
|
{
|
||||||
config = {
|
system = system;
|
||||||
allowUnfree = true;
|
config = {
|
||||||
|
allowUnfree = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
in
|
||||||
in
|
{
|
||||||
{
|
packages.lutris = pkgs.lutris;
|
||||||
packages.lutris = pkgs.lutris;
|
|
||||||
|
|
||||||
devShells.zig = import ./nix/zig.nix { pkgs = pkgs; };
|
devShells.zig = import ./nix/zig.nix { pkgs = pkgs; };
|
||||||
|
}) // {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
dustbowl = nixpkgs.lib.nixosSystem {
|
dustbowl = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [ ./nixos/dustbowl.nix ];
|
modules = [ ./nixos/dustbowl.nix ];
|
||||||
};
|
|
||||||
};
|
};
|
||||||
});
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue