nod
This commit is contained in:
30
wsl.nix
Normal file
30
wsl.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ pkgs, ... }@all: with all; {
|
||||
imports = [
|
||||
inputs.nixos-wsl.nixosModules.default
|
||||
./system-modules/base-packages.nix
|
||||
./system-modules/docker.nix
|
||||
./system-modules/gc.nix
|
||||
./system-modules/gpg.nix
|
||||
./system-modules/networking.nix
|
||||
./system-modules/nixd.nix
|
||||
./system-modules/users.nix
|
||||
];
|
||||
system.stateVersion = pkgs.version;
|
||||
wsl = {
|
||||
defaultUser = hyper.user;
|
||||
enable = true;
|
||||
};
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
substitute = true;
|
||||
substituters = [
|
||||
"https://yazi.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"yazi.cachix.org-1:Dcdz63NZKfvUCbDGngQDAZq6kOroIrFoyO064uvLh8k="
|
||||
];
|
||||
};
|
||||
};
|
||||
nixpkgs.hostPlatform = hyper.system;
|
||||
}
|
||||
Reference in New Issue
Block a user