mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
26 lines
446 B
Nix
26 lines
446 B
Nix
{
|
|
username,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
programs.nix-ld = {
|
|
enable = true;
|
|
};
|
|
|
|
wsl = {
|
|
enable = true;
|
|
defaultUser = username;
|
|
};
|
|
|
|
home-manager.users.${username}.imports = [
|
|
./home-manager.nix
|
|
];
|
|
|
|
# Hacks to enable vscode
|
|
services.vscode-server.enable = true;
|
|
wsl.extraBin = with pkgs; [
|
|
{ src = "${coreutils}/bin/uname"; }
|
|
{ src = "${coreutils}/bin/dirname"; }
|
|
{ src = "${coreutils}/bin/readlink"; }
|
|
];
|
|
}
|