diff options
author | Freya Murphy <freya@freyacat.org> | 2025-06-24 10:39:35 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-06-24 10:39:35 -0400 |
commit | f9ecdf8226d26c311ac663c1a383538db48e6078 (patch) | |
tree | 8f7bca7e4535f33352a5ec28ea6a171b0d1d1718 /hosts/wsl | |
parent | add minimal config option (diff) | |
download | dotfiles-nix-f9ecdf8226d26c311ac663c1a383538db48e6078.tar.gz dotfiles-nix-f9ecdf8226d26c311ac663c1a383538db48e6078.tar.bz2 dotfiles-nix-f9ecdf8226d26c311ac663c1a383538db48e6078.zip |
add wsl host
Diffstat (limited to 'hosts/wsl')
-rw-r--r-- | hosts/wsl/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/hosts/wsl/default.nix b/hosts/wsl/default.nix new file mode 100644 index 0000000..9ccfc31 --- /dev/null +++ b/hosts/wsl/default.nix @@ -0,0 +1,18 @@ +# WSL +# System configuration for any wsl instance +{config, pkgs, inputs, ...}: { + imports = [ + inputs.nixos-wsl.nixosModules.default + ]; + + # options + hostName = "wsl"; + minimal = true; + wsl.enable = true; + wsl.defaultUser = config.user; + + # packages + environment.systemPackages = with pkgs; [ + sphinx + ]; +} |