refactor(hosts): move shared config into hosts/common

Assisted-by: pi (claude-opus-5)
This commit is contained in:
Gabriel Fontes
2026-08-13 16:37:39 -03:00
parent fc9ab65dd1
commit 4da7e34d42
8 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ keys:
- &pleione age1mhlh8lj8jv58xy9mdhsarfyanckyx8c2xdu09xrn23nrc56e94xserztxx - &pleione age1mhlh8lj8jv58xy9mdhsarfyanckyx8c2xdu09xrn23nrc56e94xserztxx
- &mgc age1znn83s2w8s6manxmfj488kmrrmp49s2497qvz5kk25xajfyn7cfqk8meu5 - &mgc age1znn83s2w8s6manxmfj488kmrrmp49s2497qvz5kk25xajfyn7cfqk8meu5
creation_rules: creation_rules:
- path_regex: hosts/secrets.ya?ml$ - path_regex: hosts/common/secrets.ya?ml$
key_groups: key_groups:
- age: - age:
- *atlas - *atlas
+1 -1
View File
@@ -1,5 +1,5 @@
{...}: { {...}: {
imports = [../../../wireless.nix]; imports = [../../../common/wireless.nix];
hardware.bluetooth = { hardware.bluetooth = {
enable = true; enable = true;
+2 -2
View File
@@ -62,11 +62,11 @@ in {
neededForUsers = true; neededForUsers = true;
}; };
brave_api_key = { brave_api_key = {
sopsFile = ../../../../secrets.yaml; sopsFile = ../../../../common/secrets.yaml;
owner = "gabriel"; owner = "gabriel";
}; };
kagi_session_token = { kagi_session_token = {
sopsFile = ../../../../secrets.yaml; sopsFile = ../../../../common/secrets.yaml;
owner = "gabriel"; owner = "gabriel";
}; };
}; };
@@ -1,5 +1,5 @@
{...}: { {...}: {
imports = [../../../wireless.nix]; imports = [../../../common/wireless.nix];
# The upstream module emits no country line; Ubuntu's netplan-generated # The upstream module emits no country line; Ubuntu's netplan-generated
# config used to set this, and dropping it would silently relax the # config used to set this, and dropping it would silently relax the
@@ -41,11 +41,11 @@ in {
sops.secrets = { sops.secrets = {
brave_api_key = { brave_api_key = {
sopsFile = ../../../../secrets.yaml; sopsFile = ../../../../common/secrets.yaml;
owner = "gabriel"; owner = "gabriel";
}; };
kagi_session_token = { kagi_session_token = {
sopsFile = ../../../../secrets.yaml; sopsFile = ../../../../common/secrets.yaml;
owner = "gabriel"; owner = "gabriel";
}; };
}; };