Compare commits
	
		
			2 commits
		
	
	
		
			8000c42896
			...
			8610d5ee7a
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 8610d5ee7a | |||
| 0a4a26f94e | 
					 4 changed files with 20 additions and 21 deletions
				
			
		
							
								
								
									
										8
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										8
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							| 
						 | 
					@ -159,11 +159,11 @@
 | 
				
			||||||
    "mysecrets": {
 | 
					    "mysecrets": {
 | 
				
			||||||
      "flake": false,
 | 
					      "flake": false,
 | 
				
			||||||
      "locked": {
 | 
					      "locked": {
 | 
				
			||||||
        "lastModified": 1710686355,
 | 
					        "lastModified": 1722419972,
 | 
				
			||||||
        "narHash": "sha256-YcSywZx6/IMYfNax1Yx0EDLQiKsCn7glYVz1eglhbcM=",
 | 
					        "narHash": "sha256-7gKcSKTu7Z6sswIK4QuMHtDbpKMs09b6w7uFjJJyAIA=",
 | 
				
			||||||
        "ref": "refs/heads/master",
 | 
					        "ref": "refs/heads/master",
 | 
				
			||||||
        "rev": "72d2478b720fabf69971747641230387d0df7689",
 | 
					        "rev": "c725f810bb9a43c213fcf964f036dd0c64b6ba04",
 | 
				
			||||||
        "revCount": 4,
 | 
					        "revCount": 5,
 | 
				
			||||||
        "type": "git",
 | 
					        "type": "git",
 | 
				
			||||||
        "url": "ssh://gitea@git.orlives.de:2342/schmittlauch/home-manager_secrets.git"
 | 
					        "url": "ssh://gitea@git.orlives.de:2342/schmittlauch/home-manager_secrets.git"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,6 +3,7 @@
 | 
				
			||||||
  inputs,
 | 
					  inputs,
 | 
				
			||||||
  config,
 | 
					  config,
 | 
				
			||||||
  system,
 | 
					  system,
 | 
				
			||||||
 | 
					  lib,
 | 
				
			||||||
  ...
 | 
					  ...
 | 
				
			||||||
}:
 | 
					}:
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
| 
						 | 
					@ -29,7 +30,7 @@
 | 
				
			||||||
  programs.git =
 | 
					  programs.git =
 | 
				
			||||||
    let
 | 
					    let
 | 
				
			||||||
      # TODO profile specific
 | 
					      # TODO profile specific
 | 
				
			||||||
      contacts = import "${inputs.mysecrets}/contacts.nix";
 | 
					      contacts = import "${inputs.mysecrets}/contacts.nix" { inherit lib; };
 | 
				
			||||||
    in
 | 
					    in
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      includes =
 | 
					      includes =
 | 
				
			||||||
| 
						 | 
					@ -37,15 +38,15 @@
 | 
				
			||||||
          {
 | 
					          {
 | 
				
			||||||
            condition = "gitdir:~/Seafile/Studium/";
 | 
					            condition = "gitdir:~/Seafile/Studium/";
 | 
				
			||||||
            contents = {
 | 
					            contents = {
 | 
				
			||||||
              user.name = contacts.realName;
 | 
					              user.name = contacts.personal.name;
 | 
				
			||||||
              user.email = contacts.uniMail;
 | 
					              user.email = contacts.uni.email;
 | 
				
			||||||
            };
 | 
					            };
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
          {
 | 
					          {
 | 
				
			||||||
            condition = "gitdir:~/src/nixpkgs/";
 | 
					            condition = "gitdir:~/src/nixpkgs/";
 | 
				
			||||||
            contents = {
 | 
					            contents = {
 | 
				
			||||||
              user.name = "Trolli Schmittlauch";
 | 
					              user.name = "Trolli Schmittlauch";
 | 
				
			||||||
              user.email = contacts.nixosMail;
 | 
					              user.email = contacts.nixOs.email;
 | 
				
			||||||
            };
 | 
					            };
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
| 
						 | 
					@ -55,8 +56,7 @@
 | 
				
			||||||
            (dir: {
 | 
					            (dir: {
 | 
				
			||||||
              condition = "gitdir:${dir}";
 | 
					              condition = "gitdir:${dir}";
 | 
				
			||||||
              contents = {
 | 
					              contents = {
 | 
				
			||||||
                user.name = "Trolli Schmittlauch";
 | 
					                inherit (contacts.schmittlauch) email name;
 | 
				
			||||||
                user.email = contacts.mainMail;
 | 
					 | 
				
			||||||
              };
 | 
					              };
 | 
				
			||||||
            })
 | 
					            })
 | 
				
			||||||
            [
 | 
					            [
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1 +1 @@
 | 
				
			||||||
Subproject commit 72d2478b720fabf69971747641230387d0df7689
 | 
					Subproject commit c725f810bb9a43c213fcf964f036dd0c64b6ba04
 | 
				
			||||||
| 
						 | 
					@ -27,6 +27,9 @@ in
 | 
				
			||||||
    # also TODO: color schemes nix-darwin
 | 
					    # also TODO: color schemes nix-darwin
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # pinning theme is necessary until iTerm 3.5, because despite the dark terminal background, bat detects light mode and adapts theme
 | 
				
			||||||
 | 
					  programs.bat.config.theme = "Visual Studio Dark+";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  programs.ssh = {
 | 
					  programs.ssh = {
 | 
				
			||||||
    enable = true;
 | 
					    enable = true;
 | 
				
			||||||
    # ssh host config
 | 
					    # ssh host config
 | 
				
			||||||
| 
						 | 
					@ -36,23 +39,21 @@ in
 | 
				
			||||||
        extraOptions.IdentityAgent = "\"~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock\"";
 | 
					        extraOptions.IdentityAgent = "\"~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock\"";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      "hydra01" = lib.hm.dag.entryAfter ["*"] {
 | 
					      "hydra01" = lib.hm.dag.entryAfter [ "*" ] {
 | 
				
			||||||
        hostname = "hydra01.access.whq.gocept.net";
 | 
					        hostname = "hydra01.access.whq.gocept.net";
 | 
				
			||||||
        user = "os";
 | 
					        user = "os";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      "fcio-whq-jump" = lib.hm.dag.entryAfter ["*"] {
 | 
					      "fcio-whq-jump" = lib.hm.dag.entryAfter [ "*" ] {
 | 
				
			||||||
        hostname = "vpn-whq.services.fcio.net";
 | 
					        hostname = "vpn-whq.services.fcio.net";
 | 
				
			||||||
        extraOptions.LogLevel = "Verbose";
 | 
					        extraOptions.LogLevel = "Verbose";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      "fcio-rzob-jump" = lib.hm.dag.entryAfter ["*"] {
 | 
					      "fcio-rzob-jump" = lib.hm.dag.entryAfter [ "*" ] { hostname = "vpn-rzob.services.fcio.net"; };
 | 
				
			||||||
        hostname = "vpn-rzob.services.fcio.net";
 | 
					 | 
				
			||||||
      };
 | 
					 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  programs.git =
 | 
					  programs.git =
 | 
				
			||||||
    let
 | 
					    let
 | 
				
			||||||
      contacts = import "${inputs.mysecrets}/contacts.nix";
 | 
					      contacts = import "${inputs.mysecrets}/contacts.nix" { inherit lib; };
 | 
				
			||||||
    in
 | 
					    in
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      includes =
 | 
					      includes =
 | 
				
			||||||
| 
						 | 
					@ -60,8 +61,7 @@ in
 | 
				
			||||||
          {
 | 
					          {
 | 
				
			||||||
            condition = "gitdir:~/src/schmittlauch/";
 | 
					            condition = "gitdir:~/src/schmittlauch/";
 | 
				
			||||||
            contents = {
 | 
					            contents = {
 | 
				
			||||||
              user.name = "Trolli Schmittlauch";
 | 
					              inherit (contacts.schmittlauch) name email;
 | 
				
			||||||
              user.email = contacts.nixosMail;
 | 
					 | 
				
			||||||
            };
 | 
					            };
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
| 
						 | 
					@ -69,8 +69,7 @@ in
 | 
				
			||||||
        ++ map (dir: {
 | 
					        ++ map (dir: {
 | 
				
			||||||
          condition = "gitdir:${dir}";
 | 
					          condition = "gitdir:${dir}";
 | 
				
			||||||
          contents = {
 | 
					          contents = {
 | 
				
			||||||
            user.name = contacts.realName;
 | 
					            inherit (contacts.work) name email;
 | 
				
			||||||
            user.email = contacts.fcioMail;
 | 
					 | 
				
			||||||
          };
 | 
					          };
 | 
				
			||||||
        }) [ "~/" ];
 | 
					        }) [ "~/" ];
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue