feat: add remote disk decryption over ssh

This commit is contained in:
Leon Schwarzäugl 2025-11-17 22:51:14 +01:00 committed by Leon Schwarzäugl
parent 66a543abf7
commit 3391febda2
6 changed files with 162 additions and 64 deletions

View file

@ -1,5 +1,5 @@
# adapted from https://github.com/oddlama/nix-config/blob/main/nix/globals.nix
{ inputs, ... }:
{ self, inputs, ... }:
{
flake = { config, lib, ... }:
{
@ -8,7 +8,8 @@
globalsSystem = lib.evalModules {
prefix = [ "globals" ];
specialArgs = {
inherit lib;
inherit (inputs.self.pkgs.x86_64-linux) lib; # fuck
# inherit (self.outputs) lib;
inherit inputs;
inherit (config) nodes;
};
@ -54,6 +55,7 @@
inherit (globalsSystem.config.globals)
domains
services
networks
hosts
user
root