config: add NixOS-WSL for test WSL configuration

This commit is contained in:
Gabriel Arazas 2023-11-24 10:11:26 +08:00
parent c1f7eda12c
commit c74ad8118d
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 77 additions and 0 deletions

72
flake.lock generated
View File

@ -202,6 +202,22 @@
"type": "github"
}
},
"flake-compat_4": {
"flake": false,
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
@ -331,6 +347,24 @@
"type": "github"
}
},
"flake-utils_6": {
"inputs": {
"systems": "systems_6"
},
"locked": {
"lastModified": 1694529238,
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"guix-overlay": {
"inputs": {
"nixpkgs": "nixpkgs"
@ -583,6 +617,28 @@
"type": "github"
}
},
"nixos-wsl": {
"inputs": {
"flake-compat": "flake-compat_4",
"flake-utils": "flake-utils_6",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1700665566,
"narHash": "sha256-+AU2AdpA2eHlVwH3LL1qCWCTJyOJwCw/7pwampP3Jy8=",
"owner": "nix-community",
"repo": "NixOS-WSL",
"rev": "a9287f7191467138d6203ea44b3a0b9c745cb145",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "NixOS-WSL",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1665763903,
@ -695,6 +751,7 @@
"nixos-stable": "nixos-stable",
"nixos-unstable": "nixos-unstable",
"nixos-unstable-small": "nixos-unstable-small",
"nixos-wsl": "nixos-wsl",
"nixpkgs": [
"nixos-unstable"
],
@ -823,6 +880,21 @@
"type": "github"
}
},
"systems_6": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"utils": {
"locked": {
"lastModified": 1667395993,

View File

@ -37,6 +37,10 @@
sops-nix.url = "github:Mic92/sops-nix";
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
# NixOS in Windows.
nixos-wsl.url = "github:nix-community/NixOS-WSL";
nixos-wsl.inputs.nixpkgs.follows = "nixpkgs";
# Easy access to development environments.
devshell.url = "github:numtide/devshell";
devshell.inputs.nixpkgs.follows = "nixpkgs";
@ -159,6 +163,7 @@
inputs.guix-overlay.nixosModules.guix
inputs.disko.nixosModules.disko
inputs.nix-index-database.nixosModules.nix-index
inputs.nixos-wsl.nixosModules.default
];
# Find Nix files with these! Even if nix-index is already enabled, it