nixos/home-manager/work-wsl.nix

20 lines
356 B
Nix
Raw Normal View History

2021-12-28 23:05:17 +01:00
{ pkgs, ... }:
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
];
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 = ''
. ~/.nixos/home-manager/configs/bash/work_wsl_bashrc
. /home/${username}/.nix-profile/etc/profile.d/nix.sh
2021-11-22 18:33:36 +01:00
'';
};
2021-11-16 11:43:02 +01:00
}