mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 10:33:39 +00:00
44 lines
733 B
Nix
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
|
|
'';
|
|
}
|