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

@ -13,10 +13,10 @@ let
};
subnetMask4 = mkOption {
type = types.nullOr types.net.cidrv4;
type = types.nullOr types.net.ipv4;
description = "The dotted decimal form of the subnet mask of this network";
readOnly = true;
default = lib.swarselsystems.cidrToSubnetMask netSubmod.cidrv4;
default = lib.swarselsystems.cidrToSubnetMask netSubmod.config.cidrv4;
};
cidrv6 = mkOption {

View file

@ -7,6 +7,7 @@
useUserPackages = true;
verbose = true;
backupFileExtension = "hm-bak";
overwriteBackup = true;
users.${config.swarselsystems.mainUser}.imports = [
inputs.nix-index-database.homeModules.nix-index
inputs.sops-nix.homeManagerModules.sops