mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 00:58:16 +00:00
Cleanup for macOS
This commit is contained in:
43
modules/machines/aether/configuration.nix
Normal file
43
modules/machines/aether/configuration.nix
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
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
|
||||
'';
|
||||
}
|
Reference in New Issue
Block a user