mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
24 lines
471 B
Nix
24 lines
471 B
Nix
|
|
{
|
||
|
|
config = rec {
|
||
|
|
fireproof = {
|
||
|
|
hostname = "desktop-wsl";
|
||
|
|
username = "nickolaj";
|
||
|
|
work.enable = true;
|
||
|
|
dev.enable = true;
|
||
|
|
};
|
||
|
|
|
||
|
|
wsl.enable = true;
|
||
|
|
wsl.defaultUser = fireproof.username;
|
||
|
|
|
||
|
|
services.keyd.enable = false;
|
||
|
|
|
||
|
|
system.stateVersion = "25.11";
|
||
|
|
|
||
|
|
# WSL doesn't use a bootloader - disable systemd-boot
|
||
|
|
boot.loader.systemd-boot.enable = false;
|
||
|
|
boot.loader.efi.canTouchEfiVariables = false;
|
||
|
|
};
|
||
|
|
|
||
|
|
imports = [];
|
||
|
|
}
|