mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 16:16:50 +01:00
feat: add desktop-wsl host
This commit is contained in:
parent
fac1a09715
commit
4fd2361813
17 changed files with 92 additions and 18 deletions
23
hosts/desktop-wsl/default.nix
Normal file
23
hosts/desktop-wsl/default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
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 = [];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue