summaryrefslogtreecommitdiff
path: root/configuration/work/home-manager.nix
diff options
context:
space:
mode:
authorJasper Ras <jaspert.ras@gmail.com>2025-02-06 22:03:10 +0000
committerJasper Ras <jaspert.ras@gmail.com>2025-02-06 22:19:49 +0000
commitf71051f47158f57091306e269352d7579522e426 (patch)
tree3b112ddd10797c8669e9b68d483b205d49c3035b /configuration/work/home-manager.nix
parent463f0d40c6ee02e5512269d2e370506a8ca8f965 (diff)
bluurb
Diffstat (limited to 'configuration/work/home-manager.nix')
-rw-r--r--configuration/work/home-manager.nix83
1 files changed, 83 insertions, 0 deletions
diff --git a/configuration/work/home-manager.nix b/configuration/work/home-manager.nix
new file mode 100644
index 0000000..bbfb0a9
--- /dev/null
+++ b/configuration/work/home-manager.nix
@@ -0,0 +1,83 @@
+{ 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 = "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;
+ };
+ };
+ };
+}