mirror of
				https://github.com/lxstinthesky/matrix.git
				synced 2025-11-03 17:32:44 +00:00 
			
		
		
		
	Added remote unlock capabilities
This commit is contained in:
		@@ -10,6 +10,7 @@
 | 
			
		||||
 | 
			
		||||
  # nix settings
 | 
			
		||||
  nix.settings.experimental-features = [ "nix-command" "flakes" ];
 | 
			
		||||
  nix.settings.download-buffer-size = 524288000; # 500MB
 | 
			
		||||
 | 
			
		||||
  # Bootloader to work with LUKS
 | 
			
		||||
  boot.loader.grub = {
 | 
			
		||||
@@ -73,6 +74,11 @@
 | 
			
		||||
      ];
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    # this is related to luks remote unlock via ssh
 | 
			
		||||
    # Disable initrd secrets for VM builds to avoid secret error 
 | 
			
		||||
    # Error is not present in real depolyments
 | 
			
		||||
    boot.initrd.secrets = lib.mkForce {};
 | 
			
		||||
 | 
			
		||||
    # Add VM-specific users
 | 
			
		||||
    users.users.smith = {
 | 
			
		||||
      isNormalUser = true;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user