reformatted document

This commit is contained in:
Andreas 2024-09-23 10:21:57 +00:00
parent c256a2aa8a
commit a39878e91c

View File

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