mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
123
This commit is contained in:
@@ -19,10 +19,6 @@
|
||||
sops.secrets.minifluxenv = {
|
||||
format = "dotenv";
|
||||
sopsFile = ./secrets/miniflux.env;
|
||||
# key = null;
|
||||
# owner = "miniflux";
|
||||
# group = "miniflux";
|
||||
mode = "0650";
|
||||
# path = "/run/secrets/miniflux.env";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,8 +39,6 @@
|
||||
sshKeyPaths = [
|
||||
"/etc/ssh/id_ed25519"
|
||||
];
|
||||
# keyFile = "/var/lib/sops-nix/key.txt";
|
||||
# generateKey = true;
|
||||
};
|
||||
defaultSopsFile = ../secrets/default.yaml;
|
||||
secrets = {
|
||||
@@ -58,14 +56,18 @@
|
||||
};
|
||||
ssh_key_private = {
|
||||
format = "yaml";
|
||||
# sopsFile = ../secrets/default.yaml;
|
||||
key = "ssh_key_private";
|
||||
|
||||
path = "/home/${xlib.device.username}/.ssh/id_ed25519";
|
||||
owner = config.users.users."${xlib.device.username}".name;
|
||||
group = config.users.users."${xlib.device.username}".group;
|
||||
mode = "0600";
|
||||
};
|
||||
ssh_key_private_host = {
|
||||
format = "yaml";
|
||||
key = "ssh_key_private";
|
||||
path = "/etc/ssh/id_ed25519";
|
||||
mode = "0600";
|
||||
};
|
||||
ssh_key_public = {
|
||||
format = "yaml";
|
||||
key = "ssh_key_public";
|
||||
|
||||
Reference in New Issue
Block a user