1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-28 10:37:44 +00:00

shells: init

This commit is contained in:
RGBCube 2025-07-19 21:01:54 +03:00
parent 4a90dba591
commit 5a699752fd
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
11 changed files with 99 additions and 55 deletions

View file

@ -1,6 +1,6 @@
{ config, lib, ... }: let
inherit (lib) genAttrs mkConst mkIf remove;
in{
in {
options.services.restic.hosts = mkConst <| remove config.networking.hostName [ "nine" "best" ];
config.secrets.resticPassword.file = mkIf config.isServer ./password.age;