add basic wsl config

This commit is contained in:
John Bowdre 2023-08-03 09:16:20 -05:00
parent 105156a327
commit cc9ccca5d1
2 changed files with 20 additions and 0 deletions

View file

@ -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; };
};
};
};
}

15
nix/home/jammy-wsl.nix Normal file
View file

@ -0,0 +1,15 @@
{ inputs, outputs, lib, config, pkgs, ... }: {
imports = [
./global
];
home = {
# username override
username = "jbowdre";
packages = with pkgs; [
vagrant
wslu
wsl-open
];
};
}