mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 15:45:39 +00:00
feat: add wsl host configurations
This commit is contained in:
parent
6e88dd69a8
commit
ae9b39d2b8
2 changed files with 19 additions and 0 deletions
15
hosts/wsl/configuration.nix
Normal file
15
hosts/wsl/configuration.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
inputs.nixos-wsl.nixosModules.default
|
||||
];
|
||||
|
||||
wsl.enable = true;
|
||||
wsl.defaultUser = "toast";
|
||||
|
||||
networking.hostName = "wsl";
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue