Add age identity secret file
This commit is contained in:
@@ -14,10 +14,16 @@
|
|||||||
programs.nm-applet.enable = true;
|
programs.nm-applet.enable = true;
|
||||||
|
|
||||||
# A bit confusing but this is required for the home-manager spotifyd :/
|
# A bit confusing but this is required for the home-manager spotifyd :/
|
||||||
age.secrets.spotify_pass = {
|
age.secrets = {
|
||||||
|
spotify_pass = {
|
||||||
file = ../../../secrets/spotify_pass.age;
|
file = ../../../secrets/spotify_pass.age;
|
||||||
owner = config.users.users.daniel.name;
|
owner = config.users.users.daniel.name;
|
||||||
};
|
};
|
||||||
|
age_identity = {
|
||||||
|
file = ../../../secrets/age_identity.age;
|
||||||
|
owner = config.users.users.daniel.name;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
fonts.fonts = with pkgs; [
|
fonts.fonts = with pkgs; [
|
||||||
(nerdfonts.override {fonts = ["CascadiaCode" "Iosevka" "FiraCode"]; })
|
(nerdfonts.override {fonts = ["CascadiaCode" "Iosevka" "FiraCode"]; })
|
||||||
|
|||||||
BIN
secrets/age_identity.age
Normal file
BIN
secrets/age_identity.age
Normal file
Binary file not shown.
@@ -23,4 +23,5 @@ in {
|
|||||||
"dungflix_bucket_account_key.age".publicKeys = users ++ [system2 system4];
|
"dungflix_bucket_account_key.age".publicKeys = users ++ [system2 system4];
|
||||||
"dungflix_crypt_remote_obscured_pass.age".publicKeys = users ++ [system2 system4];
|
"dungflix_crypt_remote_obscured_pass.age".publicKeys = users ++ [system2 system4];
|
||||||
"dungflix_crypt_remote_pass.age".publicKeys = users ++ [system2 system4];
|
"dungflix_crypt_remote_pass.age".publicKeys = users ++ [system2 system4];
|
||||||
|
"age_identity.age".publicKeys = users ++ [system1 system3];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{config, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
# ./i3
|
# ./i3
|
||||||
# ./i3status-rust
|
# ./i3status-rust
|
||||||
@@ -6,4 +6,11 @@
|
|||||||
./spotify
|
./spotify
|
||||||
./rofi
|
./rofi
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
home.file = {
|
||||||
|
".age/age.txt" = {
|
||||||
|
source = config.lib.file.mkOutOfStoreSymlink "/run/agenix/age_identity";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
cliPackages = with pkgs; [
|
cliPackages = with pkgs; [
|
||||||
|
age
|
||||||
direnv
|
direnv
|
||||||
elixir_1_14
|
elixir_1_14
|
||||||
elixir_ls
|
elixir_ls
|
||||||
|
|||||||
Reference in New Issue
Block a user