minor experiment with signing
This commit is contained in:
		| @@ -1,7 +1,14 @@ | |||||||
| { config, pkgs, lib, ... }: | { | ||||||
| let name = "olaf"; |   config, | ||||||
|  |   pkgs, | ||||||
|  |   lib, | ||||||
|  |   ... | ||||||
|  | }: | ||||||
|  | let | ||||||
|  |   name = "olaf"; | ||||||
|   user = "olaf"; |   user = "olaf"; | ||||||
|     email = "github@dacht.net"; in |   email = "olaf@xolx.nl"; | ||||||
|  | in | ||||||
| { | { | ||||||
|   # Shared shell configuration |   # Shared shell configuration | ||||||
|   zsh = { |   zsh = { | ||||||
| @@ -85,8 +92,15 @@ let name = "olaf"; | |||||||
|  |  | ||||||
|   vim = { |   vim = { | ||||||
|     enable = true; |     enable = true; | ||||||
|     plugins = with pkgs.vimPlugins; [ vim-airline vim-airline-themes vim-startify vim-tmux-navigator ]; |     plugins = with pkgs.vimPlugins; [ | ||||||
|     settings = { ignorecase = true; }; |       vim-airline | ||||||
|  |       vim-airline-themes | ||||||
|  |       vim-startify | ||||||
|  |       vim-tmux-navigator | ||||||
|  |     ]; | ||||||
|  |     settings = { | ||||||
|  |       ignorecase = true; | ||||||
|  |     }; | ||||||
|     extraConfig = '' |     extraConfig = '' | ||||||
|       "" General |       "" General | ||||||
|       set number |       set number | ||||||
| @@ -261,12 +275,8 @@ let name = "olaf"; | |||||||
|   ssh = { |   ssh = { | ||||||
|     enable = true; |     enable = true; | ||||||
|     includes = [ |     includes = [ | ||||||
|       (lib.mkIf pkgs.stdenv.hostPlatform.isLinux |       (lib.mkIf pkgs.stdenv.hostPlatform.isLinux "/home/${user}/.ssh/config_external") | ||||||
|         "/home/${user}/.ssh/config_external" |       (lib.mkIf pkgs.stdenv.hostPlatform.isDarwin "/Users/${user}/.ssh/config_external") | ||||||
|       ) |  | ||||||
|       (lib.mkIf pkgs.stdenv.hostPlatform.isDarwin |  | ||||||
|         "/Users/${user}/.ssh/config_external" |  | ||||||
|       ) |  | ||||||
|     ]; |     ]; | ||||||
|     matchBlocks = { |     matchBlocks = { | ||||||
|       "Host *" = { |       "Host *" = { | ||||||
| @@ -275,11 +285,8 @@ let name = "olaf"; | |||||||
|       "github.com" = { |       "github.com" = { | ||||||
|         identitiesOnly = true; |         identitiesOnly = true; | ||||||
|         identityFile = [ |         identityFile = [ | ||||||
|           (lib.mkIf pkgs.stdenv.hostPlatform.isLinux |           (lib.mkIf pkgs.stdenv.hostPlatform.isLinux "/home/${user}/.ssh/id_github") | ||||||
|             "/home/${user}/.ssh/id_github"          ) |           (lib.mkIf pkgs.stdenv.hostPlatform.isDarwin "/Users/${user}/.ssh/id_github") | ||||||
|           (lib.mkIf pkgs.stdenv.hostPlatform.isDarwin |  | ||||||
|             "/Users/${user}/.ssh/id_github" |  | ||||||
|           ) |  | ||||||
|         ]; |         ]; | ||||||
|       }; |       }; | ||||||
|     }; |     }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user