Merge remote-tracking branch 'origin/main'
This commit is contained in:
		
						commit
						dba05fa0c4
					
				
					 8 changed files with 47 additions and 13 deletions
				
			
		
							
								
								
									
										25
									
								
								hosts/Puenktchen/hardware-configuration.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								hosts/Puenktchen/hardware-configuration.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,25 @@
 | 
			
		|||
# Do not modify this file!  It was generated by ‘nixos-generate-config’
 | 
			
		||||
# and may be overwritten by future invocations.  Please make changes
 | 
			
		||||
# to /etc/nixos/configuration.nix instead.
 | 
			
		||||
{ config, lib, pkgs, modulesPath, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports =
 | 
			
		||||
    [ (modulesPath + "/installer/scan/not-detected.nix")
 | 
			
		||||
    ];
 | 
			
		||||
 | 
			
		||||
  boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
 | 
			
		||||
  boot.initrd.kernelModules = [ ];
 | 
			
		||||
  boot.kernelModules = [ "kvm-amd" ];
 | 
			
		||||
  boot.extraModulePackages = [ ];
 | 
			
		||||
 | 
			
		||||
  # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
 | 
			
		||||
  # (the default) this is the recommended approach. When using systemd-networkd it's
 | 
			
		||||
  # still possible to use this option, but it's recommended to use it in conjunction
 | 
			
		||||
  # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
 | 
			
		||||
  networking.useDHCP = lib.mkDefault true;
 | 
			
		||||
  # networking.interfaces.enp9s0.useDHCP = lib.mkDefault true;
 | 
			
		||||
 | 
			
		||||
  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
 | 
			
		||||
  hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -7,6 +7,10 @@
 | 
			
		|||
    #probe-rs
 | 
			
		||||
    #cargo-binutils
 | 
			
		||||
 | 
			
		||||
    bc
 | 
			
		||||
    jq
 | 
			
		||||
    xorg.xrandr
 | 
			
		||||
 | 
			
		||||
    btop
 | 
			
		||||
 | 
			
		||||
    feh
 | 
			
		||||
| 
						 | 
				
			
			@ -14,7 +18,7 @@
 | 
			
		|||
    hyfetch
 | 
			
		||||
    enpass
 | 
			
		||||
    webcord
 | 
			
		||||
    obsidian
 | 
			
		||||
#    obsidian
 | 
			
		||||
    kicad
 | 
			
		||||
 | 
			
		||||
  ];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,6 +9,7 @@
 | 
			
		|||
 | 
			
		||||
    ./firefox.nix
 | 
			
		||||
    ./kitty.nix
 | 
			
		||||
    ./steam.nix
 | 
			
		||||
    ./thunar.nix
 | 
			
		||||
    ./thunderbird.nix
 | 
			
		||||
  ];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,10 @@
 | 
			
		|||
    programs.vscode = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      package = pkgs.vscodium;
 | 
			
		||||
 | 
			
		||||
      userSettings = {
 | 
			
		||||
        "[nix]"."editor.tabSize" = 2;
 | 
			
		||||
      };
 | 
			
		||||
      extensions = with pkgs.vscode-extensions; [
 | 
			
		||||
        # System
 | 
			
		||||
        bbenoist.nix
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,6 +3,7 @@
 | 
			
		|||
  home-manager.users.willifan = {
 | 
			
		||||
    wayland.windowManager.hyprland = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      systemd.variables = ["--all"];
 | 
			
		||||
      settings = {
 | 
			
		||||
 | 
			
		||||
        misc = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -21,31 +21,24 @@
 | 
			
		|||
        {
 | 
			
		||||
          profile.name = "home";
 | 
			
		||||
	        profile.outputs = [
 | 
			
		||||
            {
 | 
			
		||||
              criteria = "eDP-1";
 | 
			
		||||
              mode = "2256x1504";
 | 
			
		||||
              position = "0,384";
 | 
			
		||||
              scale = 1.6;
 | 
			
		||||
              transform = "normal";
 | 
			
		||||
            }
 | 
			
		||||
            {
 | 
			
		||||
	            criteria = "ViewSonic Corporation VX2705-2KP W6Z205100250";
 | 
			
		||||
	  	        mode = "2560x1440";
 | 
			
		||||
	  	        position = "1410,384";
 | 
			
		||||
	  	        position = "0,384";
 | 
			
		||||
	  	        scale = 1.25;
 | 
			
		||||
              transform = "normal";
 | 
			
		||||
            }
 | 
			
		||||
            {
 | 
			
		||||
              criteria = "ViewSonic Corporation VX2705-2KP W6Z210400766";
 | 
			
		||||
              mode = "2560x1440@143.91Hz";
 | 
			
		||||
              position = "3457,384";
 | 
			
		||||
              position = "2048,384";
 | 
			
		||||
              scale = 1.25;
 | 
			
		||||
	  	        transform = "normal";
 | 
			
		||||
            }
 | 
			
		||||
            {
 | 
			
		||||
              criteria = "BNQ BenQ BL2283 CAM01567019";
 | 
			
		||||
              mode = "1920x1080";
 | 
			
		||||
              position = "5505,0";
 | 
			
		||||
              position = "4096,0";
 | 
			
		||||
              scale = 1.0;
 | 
			
		||||
	          	transform = "270";
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										6
									
								
								users/willifan/graphical/steam.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								users/willifan/graphical/steam.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,6 @@
 | 
			
		|||
{ pkgs, home-manager, ... }:
 | 
			
		||||
{
 | 
			
		||||
  programs.steam.enable = true;
 | 
			
		||||
 | 
			
		||||
  hardware.steam-hardware.enable = true;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
{ ... }:
 | 
			
		||||
{
 | 
			
		||||
  username = "willifan";
 | 
			
		||||
  hostname = "Lenni";
 | 
			
		||||
  hostname = "Puenktchen";
 | 
			
		||||
  email = "willifan@proton.me";
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue