2021-12-28 23:05:17 +01:00
|
|
|
{ pkgs, ... }:
|
2021-12-31 10:32:47 +01:00
|
|
|
let
|
|
|
|
username = import ../username.nix;
|
|
|
|
in
|
2021-11-22 14:48:47 +01:00
|
|
|
{
|
2021-11-16 11:43:02 +01:00
|
|
|
imports = [
|
2021-12-22 18:28:56 +01:00
|
|
|
./common
|
2021-12-22 18:05:25 +01:00
|
|
|
./software/git
|
2021-11-16 11:43:02 +01:00
|
|
|
];
|
2022-01-20 11:03:38 +01:00
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
vagrant
|
|
|
|
];
|
|
|
|
|
2021-11-22 14:48:47 +01:00
|
|
|
programs.git.userEmail = "zweili@contria.com";
|
|
|
|
|
2021-11-22 18:33:36 +01:00
|
|
|
programs.bash = {
|
|
|
|
enable = true;
|
|
|
|
bashrcExtra = ''
|
2022-01-12 22:12:48 +01:00
|
|
|
. ~/.nixos/home-manager/configs/bash/work_wsl_bashrc
|
2021-12-31 10:32:47 +01:00
|
|
|
. /home/${username}/.nix-profile/etc/profile.d/nix.sh
|
2021-11-22 18:33:36 +01:00
|
|
|
'';
|
2022-01-20 11:03:38 +01:00
|
|
|
sessionVariables = {
|
|
|
|
VAGRANT_WSL_ENABLE_WINDOWS_ACCESS = 1;
|
|
|
|
PATH = "$PATH:/mnt/c/Program Files/Oracle/VirtualBox";
|
|
|
|
};
|
2021-11-22 18:33:36 +01:00
|
|
|
};
|
2021-11-16 11:43:02 +01:00
|
|
|
}
|