added virtiofs to be able to edit config from host.
This commit is contained in:
		
							parent
							
								
									0f3e6821b2
								
							
						
					
					
						commit
						be670ea374
					
				
					 3 changed files with 11 additions and 1 deletions
				
			
		| 
						 | 
					@ -27,6 +27,11 @@
 | 
				
			||||||
    fsType = "vfat";
 | 
					    fsType = "vfat";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  fileSystems."/home/gabe/nix-config-host" = {
 | 
				
			||||||
 | 
					    device = "nix-config-host";
 | 
				
			||||||
 | 
					    fsType = "virtiofs";
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  swapDevices = [
 | 
					  swapDevices = [
 | 
				
			||||||
    {device = "/dev/disk/by-uuid/506f2ef4-c9ee-4fe6-8590-95e0821d5903";}
 | 
					    {device = "/dev/disk/by-uuid/506f2ef4-c9ee-4fe6-8590-95e0821d5903";}
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -27,6 +27,11 @@
 | 
				
			||||||
    fsType = "vfat";
 | 
					    fsType = "vfat";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  fileSystems."/home/gabe/nix-config-host" = {
 | 
				
			||||||
 | 
					    device = "nix-config-host";
 | 
				
			||||||
 | 
					    fsType = "virtiofs";
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  swapDevices = [
 | 
					  swapDevices = [
 | 
				
			||||||
    {device = "/dev/disk/by-uuid/679dd57a-6a34-47f1-a0c8-cdf1e280c3fa";}
 | 
					    {device = "/dev/disk/by-uuid/679dd57a-6a34-47f1-a0c8-cdf1e280c3fa";}
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,7 +6,7 @@
 | 
				
			||||||
}: {
 | 
					}: {
 | 
				
			||||||
  programs.password-store = {
 | 
					  programs.password-store = {
 | 
				
			||||||
    enable = true;
 | 
					    enable = true;
 | 
				
			||||||
    settings={
 | 
					    settings = {
 | 
				
			||||||
      PASSWORD_STORE_DIR = "$HOME/keys/password-store";
 | 
					      PASSWORD_STORE_DIR = "$HOME/keys/password-store";
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue