From cc9ccca5d1f58f8b9b104086020b3325eb5c6e0e Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Thu, 3 Aug 2023 09:16:20 -0500 Subject: [PATCH] add basic wsl config --- flake.nix | 5 +++++ nix/home/jammy-wsl.nix | 15 +++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 nix/home/jammy-wsl.nix diff --git a/flake.nix b/flake.nix index 3c99a7a..23c64cd 100644 --- a/flake.nix +++ b/flake.nix @@ -73,6 +73,11 @@ pkgs = pkgsFor.x86_64-linux; extraSpecialArgs = { inherit inputs outputs; }; }; + "jbowdre@jammy-wsl" = lib.homeManagerConfiguration { + modules = [ ./nix/home/jammy-wsl.nix ]; + pkgs = pkgsFor.x86_64-linux; + extraSpecialArgs = { inherit inputs outputs; }; + }; }; }; } diff --git a/nix/home/jammy-wsl.nix b/nix/home/jammy-wsl.nix new file mode 100644 index 0000000..7e382d4 --- /dev/null +++ b/nix/home/jammy-wsl.nix @@ -0,0 +1,15 @@ +{ inputs, outputs, lib, config, pkgs, ... }: { + imports = [ + ./global + ]; + + home = { + # username override + username = "jbowdre"; + packages = with pkgs; [ + vagrant + wslu + wsl-open + ]; + }; +}