reformatted document
This commit is contained in:
parent
c256a2aa8a
commit
a39878e91c
16
flake.nix
16
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; };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user