inital attempt at getting lxc working. Currently home-manager is broken.
This commit is contained in:
		
							parent
							
								
									6f5169947a
								
							
						
					
					
						commit
						7d1ae316bb
					
				
					 6 changed files with 120 additions and 16 deletions
				
			
		| 
						 | 
				
			
			@ -31,20 +31,6 @@ inputs.nixpkgs.lib.nixosSystem {
 | 
			
		|||
        isVm = true;
 | 
			
		||||
      };
 | 
			
		||||
      networking.hostName = "archlaptop-vm"; # Define your hostname.
 | 
			
		||||
      # Set your time zone.
 | 
			
		||||
      time.timeZone = "America/Chicago";
 | 
			
		||||
 | 
			
		||||
      # Select internationalisation properties.
 | 
			
		||||
      i18n.defaultLocale = "en_US.UTF-8";
 | 
			
		||||
 | 
			
		||||
      # Configure keymap in X11
 | 
			
		||||
      services.xserver = {
 | 
			
		||||
        xkb.layout = "us";
 | 
			
		||||
        xkb.variant = "";
 | 
			
		||||
      };
 | 
			
		||||
 | 
			
		||||
      users.users.root.openssh.authorizedKeys.keys =
 | 
			
		||||
        configLib.dirToStrings "${inputs.nix-secrets}/public-keys";
 | 
			
		||||
 | 
			
		||||
      programs.zsh.enable = true;
 | 
			
		||||
      environment.shells = with pkgs; [zsh];
 | 
			
		||||
| 
						 | 
				
			
			@ -95,8 +81,6 @@ inputs.nixpkgs.lib.nixosSystem {
 | 
			
		|||
          };
 | 
			
		||||
        };
 | 
			
		||||
      };
 | 
			
		||||
      # Enable the OpenSSH daemon.
 | 
			
		||||
      services.openssh.enable = true;
 | 
			
		||||
 | 
			
		||||
      # Bootloader.
 | 
			
		||||
      boot.loader.systemd-boot.enable = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue