split wsl, consolidate hardware

This commit is contained in:
Noah Masur
2023-04-15 20:55:56 -04:00
parent 8f8012e435
commit 1510c8c31f
8 changed files with 52 additions and 74 deletions

View File

@ -47,7 +47,7 @@
};
config = lib.mkIf (pkgs.stdenv.isLinux && !config.wsl.enable) {
config = lib.mkIf pkgs.stdenv.isLinux {
# Create a default directory to place secrets

View File

@ -13,7 +13,7 @@
};
};
config = lib.mkIf (!config.wsl.enable && config.publicKey != null) {
config = lib.mkIf (config.publicKey != null) {
services.openssh = {
enable = true;
ports = [ 22 ];