mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
refactor: complete overhaul
This commit is contained in:
parent
fb3e6fed86
commit
0541b3d61f
154 changed files with 936 additions and 904 deletions
|
@ -1,4 +1,6 @@
|
|||
{flake, ...}: {
|
||||
{flake, ...}: let
|
||||
inherit (flake.config.people) user0;
|
||||
in {
|
||||
security = {
|
||||
doas = {
|
||||
enable = true;
|
||||
|
@ -6,7 +8,7 @@
|
|||
{
|
||||
keepEnv = true;
|
||||
noPass = true;
|
||||
users = [flake.config.people.user0];
|
||||
users = [user0];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
flake,
|
||||
...
|
||||
}: let
|
||||
inherit (flake.config.people) user0;
|
||||
inherit (flake.config.people.users.${user0}) email;
|
||||
inherit (flake.config.people.users.user0) email;
|
||||
inherit (flake.config.services) instances;
|
||||
|
||||
domain0 = instances.web.domains.url0;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{flake, ...}: let
|
||||
inherit (flake.config.machines.devices) nas phone tablet;
|
||||
inherit (flake.config.machines.devices) synology phone tablet;
|
||||
inherit (flake.config.services.instances) syncthing web;
|
||||
service = syncthing;
|
||||
localhost = web.localhost.address0;
|
||||
|
@ -14,13 +14,13 @@ in {
|
|||
guiAddress = "${localhost}:${toString service.ports.port0}";
|
||||
settings = {
|
||||
devices = {
|
||||
${nas.name} = {
|
||||
${synology.name} = {
|
||||
autoAcceptFolders = true;
|
||||
name = nas.name;
|
||||
name = synology.name;
|
||||
addresses = [
|
||||
"tcp://${nas.ip.address0}:${toString service.ports.port2}"
|
||||
"tcp://${synology.ip.address0}:${toString service.ports.port2}"
|
||||
];
|
||||
id = nas.sync;
|
||||
id = synology.sync;
|
||||
};
|
||||
${phone.name} = {
|
||||
autoAcceptFolders = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue