22 lines
446 B
Nix
22 lines
446 B
Nix
|
|
# 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";
|
||
|
|
}
|