mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-24 10:04:09 -05:00
refactor(hosts): move shared config into hosts/common
Assisted-by: pi (claude-opus-5)
This commit is contained in:
+1
-1
@@ -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,5 +1,5 @@
|
|||||||
{...}: {
|
{...}: {
|
||||||
imports = [../../../wireless.nix];
|
imports = [../../../common/wireless.nix];
|
||||||
|
|
||||||
hardware.bluetooth = {
|
hardware.bluetooth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user