mirror of
https://github.com/zoriya/flake.git
synced 2026-06-04 19:26:09 +00:00
Cleanup wsl
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user