From 311b3abff735cd573396bc17d9c46b50cd80c112 Mon Sep 17 00:00:00 2001 From: joachimschmidt557 Date: Sun, 10 Oct 2021 10:09:48 +0200 Subject: [PATCH] fix nixosConfiguration --- flake.nix | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/flake.nix b/flake.nix index 793acff..c7da823 100644 --- a/flake.nix +++ b/flake.nix @@ -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 ]; }; - }); + }; + }; }