mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: add remote disk decryption over ssh
This commit is contained in:
parent
66a543abf7
commit
3391febda2
6 changed files with 162 additions and 64 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue