added config for remote acess pi.
This pi will be used to acesss the offsite backup location through tailscale and ssh.
This commit is contained in:
		
							parent
							
								
									0bb1f38a63
								
							
						
					
					
						commit
						e7ca693b77
					
				
					 4 changed files with 126 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -15,9 +15,7 @@ inputs.nixpkgs.lib.nixosSystem {
 | 
			
		|||
    ../../configs/nixos/common.nix
 | 
			
		||||
    ../../configs/nixos/sshd.nix
 | 
			
		||||
    ../../configs/nixos/secrets.nix
 | 
			
		||||
    ../../configs/nixos/i3
 | 
			
		||||
    ../../configs/nixos/sound.nix
 | 
			
		||||
    ../../configs/nixos/interactive-networking.nix
 | 
			
		||||
    ../../configs/nixos/tailscale.nix
 | 
			
		||||
    ({
 | 
			
		||||
      config,
 | 
			
		||||
      pkgs,
 | 
			
		||||
| 
						 | 
				
			
			@ -40,9 +38,12 @@ inputs.nixpkgs.lib.nixosSystem {
 | 
			
		|||
        fullName = "Gabe Venberg";
 | 
			
		||||
      };
 | 
			
		||||
      networking.hostName = "rockhole"; # Define your hostname.
 | 
			
		||||
      networking.hostId = "e0c31928";
 | 
			
		||||
      networking.useNetworkd = true;
 | 
			
		||||
      systemd.network = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
        networks."TODO" = {
 | 
			
		||||
          name = "TODO";
 | 
			
		||||
          address = ["10.10.0.2/16"];
 | 
			
		||||
          gateway = ["10.10.0.1"];
 | 
			
		||||
          dns = ["10.10.0.2"];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue