Compare commits
	
		
			7 commits
		
	
	
		
			b6bc254c02
			...
			707faa6751
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 707faa6751 | |||
| c405c2af83 | |||
| 2f3ccfbc5d | |||
| d3fb170fee | |||
| 34a8c1443a | |||
| af66a3f524 | |||
| be2a34bcc5 | 
					 7 changed files with 22 additions and 14 deletions
				
			
		
							
								
								
									
										11
									
								
								README.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								README.md
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,11 @@ | |||
| ```bash | ||||
| ❯ nix run  github:numtide/nixos-anywhere -- --flake .#hostname root@hostname --no-reboot --tty -i $HOME/.ssh/id_ed25519 | ||||
| ... enter disk password | ||||
| ❯ ssh -t  root@hostname systemd-cryptenroll /dev/luksdev --wipe-slot=tpm2 --tpm2-device=auto --tpm2-pcrs=1,15 | ||||
| ``` | ||||
| 
 | ||||
| remote git flake | ||||
| ```bash | ||||
| ❯ sudo nixos-rebuild boot --refresh --flake git+https://git.hoyer.xyz/harald/nixcfg | ||||
| ``` | ||||
| 
 | ||||
|  | @ -56,10 +56,6 @@ | |||
|         allowUnfree = true; | ||||
|       }; | ||||
| 
 | ||||
|       homes.users."harald@nix.fedora.fritz.box".modules = with inputs; [ | ||||
|         neovim-flake.homeManagerModules.default | ||||
|       ]; | ||||
| 
 | ||||
|       homes.users."harald@sgx-nixos".modules = with inputs; [ | ||||
|         neovim-flake.homeManagerModules.default | ||||
|       ]; | ||||
|  | @ -76,6 +72,10 @@ | |||
|         neovim-flake.homeManagerModules.default | ||||
|       ]; | ||||
| 
 | ||||
|       homes.users."harald@sgx-azure".modules = with inputs; [ | ||||
|         neovim-flake.homeManagerModules.default | ||||
|       ]; | ||||
| 
 | ||||
|       #      homes.modules = with inputs; [ | ||||
|       #        neovim-flake.homeManagerModules.default | ||||
|       #      ]; | ||||
|  |  | |||
|  | @ -2,8 +2,6 @@ | |||
| , pkgs | ||||
| , config | ||||
| , nixpkgs | ||||
| , osConfig ? { } | ||||
| , format ? "unknown" | ||||
| , ... | ||||
| }: | ||||
| { | ||||
|  | @ -28,10 +26,7 @@ | |||
|       git.enable = true; | ||||
|       direnv.enable = true; | ||||
|       ssh.enable = true; | ||||
|       # jetbrains.enable = true; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   fonts.fontconfig.enable = true; | ||||
| } | ||||
| 
 | ||||
|  | @ -48,7 +48,7 @@ in | |||
|         pull.ff = "only"; | ||||
|         core.pager = "${pkgs.delta}/bin/delta"; | ||||
|         delta = { | ||||
|           features = "decorations" ; | ||||
|           features = "decorations"; | ||||
|           syntax-theme = "Dracula"; | ||||
|           light = "false"; | ||||
|           navigate = "true"; | ||||
|  |  | |||
|  | @ -58,6 +58,7 @@ in | |||
|       }; | ||||
|       enableRedistributableFirmware = lib.mkDefault true; | ||||
|       enableAllFirmware = true; | ||||
|       opengl.extraPackages = with pkgs; [ intel-compute-runtime ]; | ||||
|     }; | ||||
| 
 | ||||
|     programs = { | ||||
|  | @ -78,6 +79,7 @@ in | |||
|     # powerManagement.cpuFreqGovernor = "ondemand"; | ||||
| 
 | ||||
|     services = { | ||||
|       btrfs.autoScrub.enable = true; | ||||
|       dbus.implementation = "broker"; | ||||
|       dbus.packages = [ pkgs.gcr ]; | ||||
|       fwupd.enable = true; | ||||
|  | @ -127,5 +129,7 @@ in | |||
|       flake = "git+https://git.hoyer.xyz/harald/nixcfg"; | ||||
|     }; | ||||
| 
 | ||||
|     virtualisation.libvirtd.enable = true; | ||||
| 
 | ||||
|   }; | ||||
| } | ||||
|  |  | |||
|  | @ -4,6 +4,8 @@ with lib.plusultra; | |||
| { | ||||
|   imports = [ ./hardware-configuration.nix ]; | ||||
| 
 | ||||
|   sops.secrets.pccs.sopsFile = ../../../.secrets/sgx/pccs.yaml; | ||||
| 
 | ||||
|   plusultra = { | ||||
|     base.enable = true; | ||||
|     gui.enable = false; | ||||
|  | @ -25,10 +27,6 @@ with lib.plusultra; | |||
|   security.tpm2.enable = false; | ||||
|   security.tpm2.abrmd.enable = false; | ||||
| 
 | ||||
|   sops.secrets.pccs = { | ||||
|     sopsFile = ../../../.secrets/sgx/pccs.yaml; # bring your own password file | ||||
|   }; | ||||
| 
 | ||||
|   networking.wireless.enable = false; # Enables wireless support via wpa_supplicant. | ||||
| 
 | ||||
|   services.aesmd.enable = true; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue