initial commit

This commit is contained in:
michal 2025-11-07 12:06:29 +00:00
commit a4b7f28d8e
3 changed files with 116 additions and 0 deletions

25
flake.nix Normal file
View file

@ -0,0 +1,25 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixos-wsl.url = "github:nix-community/NixOS-WSL/main";
};
outputs = { self, nixpkgs, nixos-wsl, ... }: {
nixosConfigurations = {
nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
nixos-wsl.nixosModules.default
{
imports = [ ./configuration.nix ];
system.stateVersion = "25.05";
wsl = {
enable = true;
defaultUser = "michal";
};
}
];
};
};
};
}