System/machines/wsl/configuration.nix

32 lines
640 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";
startMenuLaunchers = true;
nativeSystemd = true;
};
security.sudo.enable = true;
environment.systemPackages = with pkgs; [ syncthing ];
}