adsd user to ssh config

This commit is contained in:
Sam 2024-05-28 21:04:15 +01:00
parent 2b74cf80e2
commit 2e46781189
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
{ {
home.username = "media"; home.username = "media";
home.homeDirectory = "/home/media"; home.homeDirectory = "/home/media";
home.stateVersion = "23.11"; home.stateVersion = "23.11";
imports = [ imports = [
inputs.impermanence.nixosModules.home-manager.impermanence inputs.impermanence.nixosModules.home-manager.impermanence
@ -13,6 +13,7 @@
enable = true; enable = true;
matchBlocks = { matchBlocks = {
"git.bitlab21.com" = { "git.bitlab21.com" = {
user = "sam";
identitiesOnly = true; identitiesOnly = true;
identityFile = [ "~/.ssh/deploy_key-ssh-ed25519" ]; identityFile = [ "~/.ssh/deploy_key-ssh-ed25519" ];
}; };
@ -46,4 +47,3 @@
programs.home-manager.enable = true; programs.home-manager.enable = true;
} }