[NixOS] Add jay-lenovo-wsl and wsl support

This commit is contained in:
2023-07-26 19:14:00 +00:00
parent 36b3ef1d9a
commit 19962bdc6e
9 changed files with 147 additions and 281 deletions

17
nixos/nix.nix Normal file
View File

@@ -0,0 +1,17 @@
{ inputs, ... }:
{
nix = {
extraOptions = ''
experimental-features = nix-command flakes
'';
registry.nixpkgs.flake = inputs.nixpkgs;
};
nixpkgs.overlays = with inputs; [
# nix.overlays.default
(import ./overlay.nix)
];
# Allow all the things
nixpkgs.config.allowUnfree = true;
}