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

@ -8,6 +8,13 @@
config = {
plugins = [ pkgs.vimPlugins.nvim-base16 ];
setup.base16-colorscheme = config.colors;
# Telescope isn't working, shut off for now
lua = ''
require('base16-colorscheme').with_config {
telescope = false,
}
'';
};
}

View File

@ -1,13 +1,6 @@
{ ... }: {
imports = [
./applications
./gaming
./graphical
./hardware
./services
./system
./wsl
];
imports =
[ ./applications ./gaming ./graphical ./hardware ./services ./system ];
}

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 ];