[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

View File

@@ -1,25 +1,12 @@
{ config, pkgs, options, inputs, ... }:
{
imports = [
./nix.nix
./users.nix
./essential.nix
./environment.nix
];
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;
nixpkgs.config.permittedInsecurePackages = [
"openssl-1.0.2u"
];