Compare commits
	
		
			No commits in common. "707faa675187f5e092bce1df762155507430a07a" and "b6bc254c02ddc62f60ae23a63d9df4774d4fd258" have entirely different histories.
		
	
	
		
			707faa6751
			...
			b6bc254c02
		
	
		
					 7 changed files with 14 additions and 22 deletions
				
			
		
							
								
								
									
										11
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								README.md
									
										
									
									
									
								
							|  | @ -1,11 +0,0 @@ | ||||||
| ```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,6 +56,10 @@ | ||||||
|         allowUnfree = true; |         allowUnfree = true; | ||||||
|       }; |       }; | ||||||
| 
 | 
 | ||||||
|  |       homes.users."harald@nix.fedora.fritz.box".modules = with inputs; [ | ||||||
|  |         neovim-flake.homeManagerModules.default | ||||||
|  |       ]; | ||||||
|  | 
 | ||||||
|       homes.users."harald@sgx-nixos".modules = with inputs; [ |       homes.users."harald@sgx-nixos".modules = with inputs; [ | ||||||
|         neovim-flake.homeManagerModules.default |         neovim-flake.homeManagerModules.default | ||||||
|       ]; |       ]; | ||||||
|  | @ -72,10 +76,6 @@ | ||||||
|         neovim-flake.homeManagerModules.default |         neovim-flake.homeManagerModules.default | ||||||
|       ]; |       ]; | ||||||
| 
 | 
 | ||||||
|       homes.users."harald@sgx-azure".modules = with inputs; [ |  | ||||||
|         neovim-flake.homeManagerModules.default |  | ||||||
|       ]; |  | ||||||
| 
 |  | ||||||
|       #      homes.modules = with inputs; [ |       #      homes.modules = with inputs; [ | ||||||
|       #        neovim-flake.homeManagerModules.default |       #        neovim-flake.homeManagerModules.default | ||||||
|       #      ]; |       #      ]; | ||||||
|  |  | ||||||
|  | @ -2,6 +2,8 @@ | ||||||
| , pkgs | , pkgs | ||||||
| , config | , config | ||||||
| , nixpkgs | , nixpkgs | ||||||
|  | , osConfig ? { } | ||||||
|  | , format ? "unknown" | ||||||
| , ... | , ... | ||||||
| }: | }: | ||||||
| { | { | ||||||
|  | @ -26,7 +28,10 @@ | ||||||
|       git.enable = true; |       git.enable = true; | ||||||
|       direnv.enable = true; |       direnv.enable = true; | ||||||
|       ssh.enable = true; |       ssh.enable = true; | ||||||
|  |       # jetbrains.enable = true; | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
|  | 
 | ||||||
|  |   fonts.fontconfig.enable = true; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -48,7 +48,7 @@ in | ||||||
|         pull.ff = "only"; |         pull.ff = "only"; | ||||||
|         core.pager = "${pkgs.delta}/bin/delta"; |         core.pager = "${pkgs.delta}/bin/delta"; | ||||||
|         delta = { |         delta = { | ||||||
|           features = "decorations"; |           features = "decorations" ; | ||||||
|           syntax-theme = "Dracula"; |           syntax-theme = "Dracula"; | ||||||
|           light = "false"; |           light = "false"; | ||||||
|           navigate = "true"; |           navigate = "true"; | ||||||
|  |  | ||||||
|  | @ -58,7 +58,6 @@ in | ||||||
|       }; |       }; | ||||||
|       enableRedistributableFirmware = lib.mkDefault true; |       enableRedistributableFirmware = lib.mkDefault true; | ||||||
|       enableAllFirmware = true; |       enableAllFirmware = true; | ||||||
|       opengl.extraPackages = with pkgs; [ intel-compute-runtime ]; |  | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     programs = { |     programs = { | ||||||
|  | @ -79,7 +78,6 @@ in | ||||||
|     # powerManagement.cpuFreqGovernor = "ondemand"; |     # powerManagement.cpuFreqGovernor = "ondemand"; | ||||||
| 
 | 
 | ||||||
|     services = { |     services = { | ||||||
|       btrfs.autoScrub.enable = true; |  | ||||||
|       dbus.implementation = "broker"; |       dbus.implementation = "broker"; | ||||||
|       dbus.packages = [ pkgs.gcr ]; |       dbus.packages = [ pkgs.gcr ]; | ||||||
|       fwupd.enable = true; |       fwupd.enable = true; | ||||||
|  | @ -129,7 +127,5 @@ in | ||||||
|       flake = "git+https://git.hoyer.xyz/harald/nixcfg"; |       flake = "git+https://git.hoyer.xyz/harald/nixcfg"; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     virtualisation.libvirtd.enable = true; |  | ||||||
| 
 |  | ||||||
|   }; |   }; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -4,8 +4,6 @@ with lib.plusultra; | ||||||
| { | { | ||||||
|   imports = [ ./hardware-configuration.nix ]; |   imports = [ ./hardware-configuration.nix ]; | ||||||
| 
 | 
 | ||||||
|   sops.secrets.pccs.sopsFile = ../../../.secrets/sgx/pccs.yaml; |  | ||||||
| 
 |  | ||||||
|   plusultra = { |   plusultra = { | ||||||
|     base.enable = true; |     base.enable = true; | ||||||
|     gui.enable = false; |     gui.enable = false; | ||||||
|  | @ -27,6 +25,10 @@ with lib.plusultra; | ||||||
|   security.tpm2.enable = false; |   security.tpm2.enable = false; | ||||||
|   security.tpm2.abrmd.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. |   networking.wireless.enable = false; # Enables wireless support via wpa_supplicant. | ||||||
| 
 | 
 | ||||||
|   services.aesmd.enable = true; |   services.aesmd.enable = true; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue