Compare commits
	
		
			No commits in common. "ec3d9e6049ee02c7957b0a8c0fe7fdd199a7821f" and "4b7c62d00ba40eb5d52f723d32c9cb9371489b0e" have entirely different histories.
		
	
	
		
			ec3d9e6049
			...
			4b7c62d00b
		
	
		
| @ -31,12 +31,8 @@ in | ||||
| 
 | ||||
|   config = mkIf cfg.enable { | ||||
|     # Set up SOPS | ||||
|     # TODO: Fix the key not being present in .config/sops before sops-nix runs | ||||
|     sops.defaultSopsFile = cfg.defaultFile; | ||||
|     sops.age.sshKeyPaths = [ | ||||
|       "${config.home.homeDirectory}/.config/sops/sops_ed25519_key" | ||||
|       # "/persist/home/${config.home.username}/.config/sops/sops_ed25519_key" | ||||
|     ]; | ||||
|     sops.age.sshKeyPaths = [ "${config.home.homeDirectory}/.config/sops/sops_ed25519_key" ]; | ||||
|     sops.secrets = cfg.secrets; | ||||
|     modules.impermanence.directories = [ ".config/sops" ]; | ||||
|   }; | ||||
|  | ||||
| @ -23,7 +23,6 @@ in | ||||
|         "/var/lib/nixos" | ||||
|       ]; | ||||
| 
 | ||||
|       # TODO: Remove the secrets module and use sops directly? | ||||
|       secrets = { | ||||
|         enable = true; | ||||
|         secrets = { | ||||
|  | ||||
| @ -33,7 +33,6 @@ in | ||||
|     }; | ||||
| 
 | ||||
|     # Local user | ||||
|     sops.secrets."ssh-keys/admin-pub" = { }; | ||||
|     services.getty.autologinUser = "local"; | ||||
|     security.sudo.extraRules = [ | ||||
|       { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user