feat!: move everything around to accomodate two system configurations in one repo
This commit is contained in:
		
							parent
							
								
									d735060641
								
							
						
					
					
						commit
						53a2609204
					
				
					 82 changed files with 1786 additions and 863 deletions
				
			
		
							
								
								
									
										11
									
								
								specific/wizlap/hardware.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								specific/wizlap/hardware.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
{ pkgs, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  # Enable Zenergy
 | 
			
		||||
  boot.extraModulePackages = [
 | 
			
		||||
    (pkgs.callPackage ../kernel/zenergy.nix { kernel = pkgs.linux_zen; })
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # enable a better driver for wireless xbox controllers.
 | 
			
		||||
  hardware.xpadneo.enable = true;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										78
									
								
								specific/wizlap/nixos.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										78
									
								
								specific/wizlap/nixos.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,78 @@
 | 
			
		|||
{ ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ./hardware.nix
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  networking.hostName = "wizlap"; # Define your hostname.
 | 
			
		||||
 | 
			
		||||
  # Open ports in the firewall.
 | 
			
		||||
  networking.firewall = {
 | 
			
		||||
    allowedTCPPortRanges = [
 | 
			
		||||
      {
 | 
			
		||||
        from = 1714;
 | 
			
		||||
        to = 1764;
 | 
			
		||||
      } # KDEConnect
 | 
			
		||||
    ];
 | 
			
		||||
    allowedUDPPortRanges = [
 | 
			
		||||
      {
 | 
			
		||||
        from = 1714;
 | 
			
		||||
        to = 1764;
 | 
			
		||||
      } # KDEConnect
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # Define a user account. Don't forget to set a password with ‘passwd’.
 | 
			
		||||
  users.users.wizardlink = {
 | 
			
		||||
    createHome = true;
 | 
			
		||||
    description = "Alexandre Cavalheiro";
 | 
			
		||||
    extraGroups = [
 | 
			
		||||
      "docker"
 | 
			
		||||
      "gamemode"
 | 
			
		||||
      "libvirtd"
 | 
			
		||||
      "networkmanager"
 | 
			
		||||
      "openrazer"
 | 
			
		||||
      "postgresql"
 | 
			
		||||
      "wheel"
 | 
			
		||||
    ];
 | 
			
		||||
 | 
			
		||||
    initialPassword = "wizardlink";
 | 
			
		||||
    isNormalUser = true;
 | 
			
		||||
 | 
			
		||||
    openssh.authorizedKeys.keys = [
 | 
			
		||||
      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDdGOyRbu6IOw9yqotxE6m7wCif7oP/2D0tlREa5Q6uo Alexandre Cavalheiro S. Tiago da Silva <contact@thewizard.link>"
 | 
			
		||||
      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIISfCUsZrnCMZapdrvkUCrdRiX+1xuZBdGrynNRzDI2v" # SpaceEEC
 | 
			
		||||
      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPInBFp7zBLhFluoww65CZzcnMdhndTawBv8QYJ5s/Xt david.alejandro.rubio@gmail.com" # Kodehawa
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # Set your time zone.
 | 
			
		||||
  time.timeZone = "America/Sao_Paulo";
 | 
			
		||||
 | 
			
		||||
  # Select internationalisation properties.
 | 
			
		||||
  i18n = {
 | 
			
		||||
    defaultLocale = "en_US.UTF-8";
 | 
			
		||||
    supportedLocales = [
 | 
			
		||||
      "C.UTF-8/UTF-8"
 | 
			
		||||
      "en_GB.UTF-8/UTF-8"
 | 
			
		||||
      "en_US.UTF-8/UTF-8"
 | 
			
		||||
      "ja_JP.UTF-8/UTF-8"
 | 
			
		||||
      "pt_BR.UTF-8/UTF-8"
 | 
			
		||||
    ];
 | 
			
		||||
 | 
			
		||||
    extraLocaleSettings = {
 | 
			
		||||
      LANGUAGE = "en_US.UTF-8";
 | 
			
		||||
      LC_ADDRESS = "en_US.UTF-8";
 | 
			
		||||
      LC_ALL = "en_US.UTF-8";
 | 
			
		||||
      LC_IDENTIFICATION = "en_US.UTF-8";
 | 
			
		||||
      LC_MEASUREMENT = "pt_BR.UTF-8";
 | 
			
		||||
      LC_MONETARY = "en_US.UTF-8";
 | 
			
		||||
      LC_NAME = "en_US.UTF-8";
 | 
			
		||||
      LC_NUMERIC = "pt_BR.UTF-8";
 | 
			
		||||
      LC_PAPER = "pt_BR.UTF-8";
 | 
			
		||||
      LC_TELEPHONE = "pt_BR.UTF-8";
 | 
			
		||||
      LC_TIME = "en_GB.UTF-8";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue