configurations for my servers and desktops
nix nixos flake dots dotfiles

feat: tank-wsl

+66 -3
+54 -1
flake.lock
··· 75 75 "type": "github" 76 76 } 77 77 }, 78 + "flake-compat_2": { 79 + "flake": false, 80 + "locked": { 81 + "lastModified": 1765121682, 82 + "narHash": "sha256-4VBOP18BFeiPkyhy9o4ssBNQEvfvv1kXkasAYd0+rrA=", 83 + "owner": "edolstra", 84 + "repo": "flake-compat", 85 + "rev": "65f23138d8d09a92e30f1e5c87611b23ef451bf3", 86 + "type": "github" 87 + }, 88 + "original": { 89 + "owner": "edolstra", 90 + "repo": "flake-compat", 91 + "type": "github" 92 + } 93 + }, 78 94 "flake-utils": { 79 95 "inputs": { 80 96 "systems": [ ··· 201 217 "type": "github" 202 218 } 203 219 }, 220 + "nixos-wsl": { 221 + "inputs": { 222 + "flake-compat": "flake-compat_2", 223 + "nixpkgs": "nixpkgs_4" 224 + }, 225 + "locked": { 226 + "lastModified": 1765841014, 227 + "narHash": "sha256-55V0AJ36V5Egh4kMhWtDh117eE3GOjwq5LhwxDn9eHg=", 228 + "owner": "nix-community", 229 + "repo": "NixOS-WSL", 230 + "rev": "be4af8042e7a61fa12fda58fe9a3b3babdefe17b", 231 + "type": "github" 232 + }, 233 + "original": { 234 + "owner": "nix-community", 235 + "ref": "main", 236 + "repo": "NixOS-WSL", 237 + "type": "github" 238 + } 239 + }, 204 240 "nixpkgs": { 205 241 "locked": { 206 242 "lastModified": 1754028485, ··· 267 303 }, 268 304 "nixpkgs_4": { 269 305 "locked": { 306 + "lastModified": 1765472234, 307 + "narHash": "sha256-9VvC20PJPsleGMewwcWYKGzDIyjckEz8uWmT0vCDYK0=", 308 + "owner": "NixOS", 309 + "repo": "nixpkgs", 310 + "rev": "2fbfb1d73d239d2402a8fe03963e37aab15abe8b", 311 + "type": "github" 312 + }, 313 + "original": { 314 + "owner": "NixOS", 315 + "ref": "nixos-unstable", 316 + "repo": "nixpkgs", 317 + "type": "github" 318 + } 319 + }, 320 + "nixpkgs_5": { 321 + "locked": { 270 322 "lastModified": 1766125104, 271 323 "narHash": "sha256-l/YGrEpLromL4viUo5GmFH3K5M1j0Mb9O+LiaeCPWEM=", 272 324 "owner": "NixOS", ··· 288 340 "home-manager-stable": "home-manager-stable", 289 341 "mac-app-util": "mac-app-util", 290 342 "nix-darwin": "nix-darwin", 291 - "nixpkgs": "nixpkgs_4", 343 + "nixos-wsl": "nixos-wsl", 344 + "nixpkgs": "nixpkgs_5", 292 345 "nixpkgs-stable": "nixpkgs-stable" 293 346 } 294 347 },
+4 -2
flake.nix
··· 7 7 home-manager-stable.url = "github:nix-community/home-manager/release-25.11"; 8 8 mac-app-util.url = "github:hraban/mac-app-util"; 9 9 nix-darwin.url = "github:nix-darwin/nix-darwin/master"; 10 + nixos-wsl.url = "github:nix-community/NixOS-WSL/main"; 10 11 nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; 11 12 nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.11"; 12 13 ··· 50 51 ]; 51 52 }; 52 53 53 - nixosConfigurations.devins-5495 = inputs.nixpkgs.lib.nixosSystem { 54 + nixosConfigurations.tank-wsl = inputs.nixpkgs.lib.nixosSystem { 54 55 specialArgs = inputs; 55 56 modules = [ 56 57 ./modules/common 57 58 ./modules/nixos 58 - ./hosts/devins-5495 59 + ./hosts/tank-wsl 59 60 inputs.home-manager.nixosModules.home-manager 61 + inputs.nixos-wsl.nixosModules.default 60 62 ]; 61 63 }; 62 64
+8
hosts/tank-wsl/default.nix
··· 1 + { config, lib, pkgs, ... }: 2 + 3 + { 4 + wsl.enable = true; 5 + wsl.defaultUser = "devin"; 6 + 7 + system.stateVersion = "25.05"; 8 + }