nix-wsl/configuration.nix

22 lines
446 B
Nix
Raw Permalink Normal View History

2026-01-12 17:57:30 +00:00
# NixOS-WSL specific options are documented on the NixOS-WSL repository:
# https://nix-community.github.io/NixOS-WSL/
{ config, lib, pkgs, ... }:
{
wsl.enable = true;
wsl.defaultUser = "lunita";
programs.zsh.enable = true;
users.users.lunita.shell = pkgs.zsh;
services.openssh = {
enable = true;
ports = [ 4356 ];
};
nix.settings.experimental-features = [ "nix-command" "flakes" ];
system.stateVersion = "25.05";
}