Files
nix-config/modules/machines/aether/configuration.nix
2023-07-11 04:37:24 -04:00

44 lines
733 B
Nix

{
lib,
pkgs,
config,
modulesPath,
...
}:
with lib; let
nixos-wsl = import ./nixos-wsl;
in {
imports = [
"${modulesPath}/profiles/minimal.nix"
./nix-ld-config.nix
nixos-wsl.nixosModules.wsl
];
nix-ld-config.enable = true;
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.nixVersions.stable;
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
}