sync w/ laptop

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-03-24 14:56:06 +02:00
parent 1d46820135
commit bb0a0ccb1c
4 changed files with 102 additions and 12 deletions

View File

@ -1,8 +1,8 @@
{inputs, ...}: let
secretsPath = builtins.toString inputs.mysecrets;
in {
imports = with inputs; [
sops-nix.nixosModules.sops
imports = [
inputs.sops-nix.nixosModules.sops
];
sops = {
@ -19,11 +19,36 @@ in {
mode = "0400";
owner = "user";
};
"ssh-private-sarien-user" = {
"ssh-sarien-user" = {
path = "/home/user/.ssh/id_ed25519";
mode = "0400";
owner = "user";
};
"ssh-sarien-user.pub" = {
path = "/home/user/.ssh/id_ed25519.pub";
mode = "0400";
owner = "user";
};
"ssh-unexplrd" = {
path = "/home/user/.ssh/id_unexplrd_ed25519";
mode = "0400";
owner = "user";
};
"ssh-unexplrd.pub" = {
path = "/home/user/.ssh/id_unexplrd_ed25519.pub";
mode = "0400";
owner = "user";
};
"ssh-uni" = {
path = "/home/user/.ssh/id_uni_ed25519";
mode = "0400";
owner = "user";
};
"ssh-uni.pub" = {
path = "/home/user/.ssh/id_uni_ed25519.pub";
mode = "0400";
owner = "user";
};
};
};
}