Files
nix-config/machines/aether/configuration.nix
2022-07-30 13:42:28 +00:00

41 lines
668 B
Nix

{
lib,
pkgs,
config,
modulesPath,
...
}:
with lib; let
nixos-wsl = import ./nixos-wsl;
in {
imports = [
"${modulesPath}/profiles/minimal.nix"
nixos-wsl.nixosModules.wsl
];
nixpkgs.config.allowUnfree = true;
system.stateVersion = "unstable";
networking = {hostName = "aether";};
wsl = {
enable = true;
automountPath = "/mnt";
defaultUser = "dave";
startMenuLaunchers = true;
# Enable integration with Docker Desktop
docker.enable = true;
tailscale.enable = true;
};
# Enable nix flakes
nix.package = pkgs.nixFlakes;
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
}