blob: 494bb000e87a82e9b7b361516b2f50c9db0e2be3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
{ lib, pkgs, inputs, ... }:
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.users.jras = {
imports = [
../home-manager/core
../home-manager/hyprland.nix
../home-manager/hostnet.nix
../home-manager/php.nix
../home-manager/ansible.nix
../home-manager/python.nix
];
home.username = "jras";
home.homeDirectory = "/home/jras";
home.stateVersion = "22.11";
home.sessionPath = [ "$HOME/.local/bin" "$HOME/.plenv/bin" ];
home.packages = with pkgs; [
slack
moonlight-qt
brightnessctl
google-chrome
];
programs.git = {
userName = "Jasper Ras";
userEmail = lib.mkForce "jras@hostnet.nl";
extraConfig = { gitreview.username = "jrasper"; };
ignores = [
".direnv"
".envrc"
".project"
".settings/"
".buildpath"
"tags"
".hhconfig"
".DS_Store"
".idea/"
".vagrant/"
"*.swp"
"clover.xml"
"yarn-error.log"
"gsuite-auth.json"
"venv/"
"shell.nix"
".devenv*"
"devenv*"
".pre-commit-config.yaml"
];
};
programs.zsh.envExtra = "export PATH=$HOME/.plenv/bin:$PATH";
programs.zsh.initExtra = ''
eval "$(plenv init -)"
eval "$(dircolors)"
'';
programs.zsh.shellAliases = {
ssh = "TERM=xterm-256color ssh";
};
programs.pyenv.enable = true;
programs.pyenv.enableZshIntegration = true;
programs.ssh = {
controlMaster = "auto";
controlPersist = "12h";
serverAliveInterval = 11;
matchBlocks = {
"*.g1i.one".user = "jasras";
"*.os1.openstack.group.one".user = "jasras";
"*.one.com".user = "jasras";
"91.184.16.185".port = 12345;
"*.compute.prv.vps1-testpod-cph3.one.com".forwardAgent = true;
"access.*.one.com".forwardAgent = true;
"access.*.g1i.one".forwardAgent = true;
};
};
};
}
|