Remove some git-crypt usage
This commit is contained in:
parent
866658ca30
commit
22836a44d7
8 changed files with 89 additions and 4 deletions
|
@ -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.
Loading…
Add table
Add a link
Reference in a new issue