add ssh-to-age as a sops dep

This commit is contained in:
sadan 2025-03-17 09:40:49 -04:00
parent 540b049e49
commit be7643201e
No known key found for this signature in database
2 changed files with 12 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ NAME }: { config, inputs, ... }: {
{ NAME }: { config, inputs, pkgs, ... }: {
imports = [
inputs.sops-nix.nixosModules.sops
];
@ -16,6 +16,11 @@
};
};
};
environment = {
systemPackages = with pkgs; [
ssh-to-age
];
};
users = {
users = {
"${NAME}" = {

View file

@ -1,4 +1,4 @@
{ config, inputs, ... }:
{ config, pkgs, inputs, ... }:
{
imports = [
inputs.sops-nix.homeManagerModules.sops
@ -12,4 +12,9 @@
path = "/home/${config.home.username}/.config/gh/hosts.yml";
};
};
home = {
packages = with pkgs; [
ssh-to-age
];
};
}