Cleanup wsl

This commit is contained in:
2024-11-25 12:31:59 +01:00
parent 709140c8c7
commit e60a384be4
4 changed files with 37 additions and 33 deletions
+1 -23
View File
@@ -1,29 +1,7 @@
{
pkgs,
inputs,
...
}: {
imports = [
inputs.nixos-wsl.nixosModules.wsl
];
wsl.enable = true;
wsl.defaultUser = "zoriya";
environment.systemPackages = with pkgs; [
wslu
wsl-open
];
services.flatpak.enable = true;
xdg.portal = {
enable = true;
wlr.enable = true;
config.common.default = "*";
};
services.openssh = {
enable = true;
ports = [ 1022 ];
ports = [1022];
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";