mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-19 10:47:01 -04:00
add ssh-to-age as a sops dep
This commit is contained in:
parent
540b049e49
commit
be7643201e
2 changed files with 12 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ NAME }: { config, inputs, ... }: {
|
{ NAME }: { config, inputs, pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
];
|
];
|
||||||
|
@ -16,6 +16,11 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
environment = {
|
||||||
|
systemPackages = with pkgs; [
|
||||||
|
ssh-to-age
|
||||||
|
];
|
||||||
|
};
|
||||||
users = {
|
users = {
|
||||||
users = {
|
users = {
|
||||||
"${NAME}" = {
|
"${NAME}" = {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, inputs, ... }:
|
{ config, pkgs, inputs, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
inputs.sops-nix.homeManagerModules.sops
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
|
@ -12,4 +12,9 @@
|
||||||
path = "/home/${config.home.username}/.config/gh/hosts.yml";
|
path = "/home/${config.home.username}/.config/gh/hosts.yml";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
home = {
|
||||||
|
packages = with pkgs; [
|
||||||
|
ssh-to-age
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue