diff --git a/flake.nix b/flake.nix index 236c0c3..52de783 100644 --- a/flake.nix +++ b/flake.nix @@ -8,23 +8,23 @@ outputs = { self, nixpkgs, nixos-wsl, nix, ...}@inputs: let system = if builtins ? currentSystem - then builtins.currentSystem - else "x86_64-linux"; + then builtins.currentSystem + else "x86_64-linux"; in { nixosConfigurations = { nixos = nixpkgs.lib.nixosSystem { - inherit system; + inherit system; modules = [ nixos-wsl.nixosModules.default - ./configuration.nix - { - system.stateVersion = "24.05"; + ./configuration.nix + { + system.stateVersion = "24.05"; wsl.enable = true; - nix.settings.experimental-features = ["nix-command" "flakes" ]; + nix.settings.experimental-features = ["nix-command" "flakes" ]; } ]; - specialArgs = { inherit inputs; }; + specialArgs = { inherit inputs; }; }; }; };