37 lines
897 B
Nix
37 lines
897 B
Nix
{ 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/sops.nix
|
|
# ./system-modules/sshd.nix
|
|
# ./system-modules/syncthing.nix
|
|
./system-modules/users.nix
|
|
];
|
|
system.stateVersion = pkgs.version;
|
|
# system.stateVersion = "24.11";
|
|
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;
|
|
}
|