Remove some git-crypt usage

This commit is contained in:
Charlotte Van Petegem 2021-09-16 13:41:55 +02:00
parent 866658ca30
commit 22836a44d7
No known key found for this signature in database
GPG key ID: 019E764B7184435A
8 changed files with 89 additions and 4 deletions

View file

@ -22,10 +22,10 @@ let
userKnownHostsFile = "${config.chvp.cachePrefix}${home}/.ssh/known_hosts";
serverAliveInterval = 10;
extraOptionOverrides = {
Include = config.age.secrets."files/programs/ssh/host_configuration".path;
IdentityFile = "${config.chvp.dataPrefix}${home}/.ssh/id_ed25519";
HostKeyAlgorithms = "ssh-ed25519-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa";
};
matchBlocks = import ./hosts.secret.nix;
};
home.packages = lib.mkIf config.chvp.graphical.enable [ ssh pkgs.sshfs ];
};
@ -33,4 +33,8 @@ in
{
home-manager.users.root = { ... }: (base "/root");
home-manager.users.charlotte = { ... }: (base "/home/charlotte");
age.secrets."files/programs/ssh/host_configuration" = {
file = ../../../secrets/files/programs/ssh/host_configuration.age;
owner = "charlotte";
};
}

Binary file not shown.