fix(wsl): specify system

This commit is contained in:
lightly-toasted 2025-09-21 09:20:02 +00:00
parent ae9b39d2b8
commit 79363ee03b
2 changed files with 40 additions and 0 deletions

39
flake.lock generated
View file

@ -45,6 +45,22 @@
"url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
}
},
"flake-compat_3": {
"flake": false,
"locked": {
"lastModified": 1747046372,
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
@ -256,6 +272,28 @@
"type": "github"
}
},
"nixos-wsl": {
"inputs": {
"flake-compat": "flake-compat_3",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1758123407,
"narHash": "sha256-4qwMlR0Q4Zr2rjUFauYIldfjzffYt3G5tZ1uPFPPYGU=",
"owner": "nix-community",
"repo": "NixOS-WSL",
"rev": "ba2b3b6c0bc42442559a3b090f032bc8d501f5e3",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "main",
"repo": "NixOS-WSL",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1753939845,
@ -382,6 +420,7 @@
"lanzaboote": "lanzaboote",
"nix-flatpak": "nix-flatpak",
"nixcord": "nixcord",
"nixos-wsl": "nixos-wsl",
"nixpkgs": "nixpkgs",
"nixvim": "nixvim",
"sops-nix": "sops-nix"

View file

@ -39,6 +39,7 @@
modules = [ ./hosts/nixos/configuration.nix ];
};
wsl = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs rootPath; };
modules = [ ./hosts/wsl/configuration.nix ];
};