Files
dotfiles/wsl.nix
Lennart J. Kurzweg (Nx2) ff91701431 dcs fix
2025-11-24 09:31:15 +00:00

31 lines
805 B
Nix

{ pkgs, ... }@all: with all; {
imports = [
inputs.nixos-wsl.nixosModules.default
./system-modules/docker.nix
./system-modules/gc.nix
./system-modules/gpg.nix
./system-modules/networking.nix
./system-modules/nixd.nix
./system-modules/users.nix
];
environment.systemPackages = import ./system-modules/base-packages.nix pkgs;
system.stateVersion = hypr.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;
}