refactor: Rename keys
This commit is contained in:
@@ -10,7 +10,7 @@ in {
|
||||
keyFile = mkOption {
|
||||
description = "Path to an Age key file.";
|
||||
type = types.path;
|
||||
default = "/persist/key.txt";
|
||||
default = "/persist/sydnix-key";
|
||||
};
|
||||
secrets = mkOption {
|
||||
description = "Secrets passed directly to sops-nix.";
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
sydnix = {
|
||||
sops = {
|
||||
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";
|
||||
|
||||
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 = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user