refactoring wsl config

This commit is contained in:
Deepak Mallubhotla 2025-03-07 01:49:03 +00:00
parent 1b95b2cf9d
commit 134ee05cd6
Signed by: deepak
GPG Key ID: 8F904A3FC7021497
3 changed files with 8 additions and 6 deletions

View File

@ -31,9 +31,10 @@ in
specialArgs = {
inherit customPackageOverlay;
inherit nixpkgs-unstable;
hostname = "nixosWSL";
};
modules = [
./nixosWSL/configuration.nix
./commonWSL-configuration.nix
inputs.sops-nix.nixosModules.sops
homeManager-24-05.nixosModules.home-manager {
home-manager.extraSpecialArgs = {

View File

@ -86,8 +86,4 @@ in
services.tailscale.port = 62532;
# environment.variables = {
# DPK_NIX_CONF_DIR = "/mnt/d/Projects/nixconf";
# };
}

View File

@ -60,7 +60,7 @@ in
pinentry
pinentry-curses
gnupg
# tailscale (don't need here)
tailscale
];
# Fix of WSL issue
@ -80,5 +80,10 @@ in
enableSSHSupport = true;
};
services.tailscale.enable = true;
# Optional (default: 41641):
services.tailscale.port = 62532;
}