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:
|
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; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user