System/machines/wsl/configuration.nix

31 lines
611 B
Nix

{ 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"; };
# Setup home manager
home-manager.users.nathan = import ./home.nix;
# Setup WSL
wsl = {
enable = true;
defaultUser = "nathan";
# nativeSystemd = true;
};
security.sudo.enable = true;
environment.systemPackages = with pkgs; [ syncthing ];
}