Compare commits
	
		
			2 Commits 
		
	
	
		
			e161df5cc8
			...
			cbdc5a99f2
		
	
	| Author | SHA1 | Date | 
|---|---|---|
| 
							
							
								
									
								
								 | 
						cbdc5a99f2 | |
| 
							
							
								
									
								
								 | 
						34c02e4049 | 
| 
						 | 
				
			
			@ -1,3 +1,9 @@
 | 
			
		|||
# nixos
 | 
			
		||||
 | 
			
		||||
My NixOS config
 | 
			
		||||
My NixOS config
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
git clone https://git.hektormisplon.xyz/hektor/nix.git
 | 
			
		||||
cd nix
 | 
			
		||||
sudo nix run 'github:nix-community/disko/latest#disko-install' -- --flake .#vm --disk root /dev/vda
 | 
			
		||||
```
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -18,6 +18,10 @@
 | 
			
		|||
 | 
			
		||||
  nix.settings.experimental-features = [ "nix-command" "flakes" ];
 | 
			
		||||
 | 
			
		||||
  # These are needed for ZFS
 | 
			
		||||
 | 
			
		||||
  networking.hostId = "25698a58";
 | 
			
		||||
  # https://discourse.nixos.org/t/zfs-with-disko-faluire-to-import-zfs-pool/61988/3
 | 
			
		||||
  boot = {
 | 
			
		||||
    zfs = {
 | 
			
		||||
        devNodes = "/dev/disk/by-uuid";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue