diff --git a/flake.nix b/flake.nix index a9f1175..0ac7b62 100644 --- a/flake.nix +++ b/flake.nix @@ -5,8 +5,10 @@ nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05"; }; - outputs = { self, nixpkgs }: - let + outputs = { + self, + nixpkgs, + }: let system = "x86_64-linux"; pkgs = import nixpkgs { @@ -16,18 +18,15 @@ allowUnfree = true; }; }; -in -{ + in { + nixosConfigurations = { + myNixos = nixpkgs.lib.nixosSystem { + specialArgs = {inherit system;}; -nixosConfigurations = { - myNixos = nixpkgs.lib.nixosSystem { - specialArgs = { inherit system; }; - - modules = [ - ./nixos/configuration.nix - ]; + modules = [ + ./nixos/configuration.nix + ]; + }; + }; }; - }; - - }; -} \ No newline at end of file +}