refactor: Rename keys
This commit is contained in:
@@ -10,7 +10,7 @@ in {
|
|||||||
keyFile = mkOption {
|
keyFile = mkOption {
|
||||||
description = "Path to an Age key file.";
|
description = "Path to an Age key file.";
|
||||||
type = types.path;
|
type = types.path;
|
||||||
default = "/persist/key.txt";
|
default = "/persist/sydnix-key";
|
||||||
};
|
};
|
||||||
secrets = mkOption {
|
secrets = mkOption {
|
||||||
description = "Secrets passed directly to sops-nix.";
|
description = "Secrets passed directly to sops-nix.";
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
sydnix = {
|
sydnix = {
|
||||||
sops = {
|
sops = {
|
||||||
enable = true;
|
enable = true;
|
||||||
keyFile = "/persist/vault/${config.home.username}/key.txt";
|
keyFile = "/persist/vault/${config.home.username}/keys/melbourne";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ in {
|
|||||||
mutableSymlink "~/Dropbox/org";
|
mutableSymlink "~/Dropbox/org";
|
||||||
|
|
||||||
xdg.configFile."sops/age/keys.txt".source =
|
xdg.configFile."sops/age/keys.txt".source =
|
||||||
mutableSymlink "/persist/vault/${config.home.username}/key.txt";
|
mutableSymlink "/persist/vault/${config.home.username}/keys/melbourne";
|
||||||
|
|
||||||
sydnix.impermanence = {
|
sydnix.impermanence = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user