2022-11-08 09:19:15 +01:00
|
|
|
{ custom, pkgs, ... }:
|
2021-11-22 14:48:47 +01:00
|
|
|
{
|
2021-11-16 11:43:02 +01:00
|
|
|
imports = [
|
2022-11-04 19:35:57 +01:00
|
|
|
(import "${custom.inputs.self}/home-manager/common" { inherit custom; })
|
|
|
|
"${custom.inputs.self}/home-manager/software/ansible"
|
|
|
|
"${custom.inputs.self}/home-manager/software/emacs"
|
|
|
|
"${custom.inputs.self}/home-manager/software/fzf"
|
|
|
|
"${custom.inputs.self}/home-manager/software/git"
|
|
|
|
"${custom.inputs.self}/home-manager/software/starship"
|
|
|
|
"${custom.inputs.self}/home-manager/software/vagrant-wsl"
|
|
|
|
"${custom.inputs.self}/home-manager/software/vim"
|
2022-01-20 11:03:38 +01:00
|
|
|
];
|
|
|
|
|
2021-11-22 14:48:47 +01:00
|
|
|
programs.git.userEmail = "zweili@contria.com";
|
2022-04-01 11:31:02 +02:00
|
|
|
programs.direnv = {
|
|
|
|
enable = true;
|
|
|
|
nix-direnv.enable = true;
|
|
|
|
};
|
|
|
|
|
2022-04-01 11:31:17 +02:00
|
|
|
home.packages = with pkgs; [
|
2022-12-20 16:59:49 +01:00
|
|
|
keychain
|
2022-04-01 11:31:17 +02:00
|
|
|
nixpkgs-fmt
|
2022-04-26 19:04:59 +02:00
|
|
|
mosh
|
2022-04-01 11:31:17 +02:00
|
|
|
];
|
2022-12-01 16:10:09 +01:00
|
|
|
nix = {
|
|
|
|
package = pkgs.nix;
|
|
|
|
settings = {
|
|
|
|
connect-timeout = 5;
|
|
|
|
log-lines = 25;
|
|
|
|
experimental-features = "nix-command flakes";
|
|
|
|
fallback = true;
|
|
|
|
warn-dirty = false;
|
|
|
|
substituters = [
|
|
|
|
"https://nix-community.cachix.org"
|
|
|
|
"https://cache.nixos.org"
|
|
|
|
];
|
|
|
|
trusted-public-keys = [
|
|
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
|
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2021-11-22 14:48:47 +01:00
|
|
|
|
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
|
2022-02-21 11:36:12 +01:00
|
|
|
. /home/${custom.username}/.nix-profile/etc/profile.d/nix.sh
|
2021-11-22 18:33:36 +01:00
|
|
|
'';
|
|
|
|
};
|
2021-11-16 11:43:02 +01:00
|
|
|
}
|