System/machines/wsl/configuration.nix

31 lines
611 B
Nix
Raw Normal View History

2022-07-06 01:42:31 -04:00
{ config, lib, pkgs, ... }:
{
# Setup system configuration
nathan = {
services = {
ssh = false;
tailscale.enable = false;
};
config = {
installUser = false;
nix.autoUpdate = false;
harden = false;
fonts = true;
};
};
# Configure networking
networking = { domain = "mccarty.io"; };
2022-07-06 01:42:31 -04:00
# Setup home manager
home-manager.users.nathan = import ./home.nix;
2022-07-06 02:09:33 -04:00
# Setup WSL
wsl = {
enable = true;
defaultUser = "nathan";
2023-04-18 23:52:03 -04:00
# nativeSystemd = true;
2022-07-06 02:09:33 -04:00
};
2023-02-25 21:17:20 -05:00
security.sudo.enable = true;
2023-03-18 14:54:01 -04:00
environment.systemPackages = with pkgs; [ syncthing ];
2022-07-06 01:42:31 -04:00
}