nix-config/hosts/heimdall/default.nix
Lander Van den Bulcke bcaa72ff69
chore: upgrade to nixos 25.11
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
2025-12-01 10:24:17 +01:00

47 lines
816 B
Nix

{ inputs, pkgs, ... }:
{
imports = [
inputs.nixos-wsl.nixosModules.default
../common/global
../common/optional/yubikey-gpg.nix
../common/users/lander
];
nixpkgs.hostPlatform = "x86_64-linux";
wsl = {
enable = true;
defaultUser = "lander";
interop.register = true;
usbip = {
enable = true;
autoAttach = [ "1-2" ];
snippetIpAddress = "127.0.0.1"; # using mirrored networking
};
};
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
networking.hostName = "heimdall";
security.pki.certificateFiles = [
./BASF_all.pem
];
services.syslogd.enable = true;
environment.systemPackages = with pkgs; [
vim
wget
];
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
system.stateVersion = "24.11";
}