Temporary steam config
This commit is contained in:
		
							
								
								
									
										8
									
								
								flake.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										8
									
								
								flake.lock
									
									
									
										generated
									
									
									
								
							| @@ -22,16 +22,16 @@ | ||||
|     }, | ||||
|     "nixpkgs": { | ||||
|       "locked": { | ||||
|         "lastModified": 1709237383, | ||||
|         "narHash": "sha256-cy6ArO4k5qTx+l5o+0mL9f5fa86tYUX3ozE1S+Txlds=", | ||||
|         "lastModified": 1709309926, | ||||
|         "narHash": "sha256-VZFBtXGVD9LWTecGi6eXrE0hJ/mVB3zGUlHImUs2Qak=", | ||||
|         "owner": "nixos", | ||||
|         "repo": "nixpkgs", | ||||
|         "rev": "1536926ef5621b09bba54035ae2bb6d806d72ac8", | ||||
|         "rev": "79baff8812a0d68e24a836df0a364c678089e2c7", | ||||
|         "type": "github" | ||||
|       }, | ||||
|       "original": { | ||||
|         "owner": "nixos", | ||||
|         "ref": "nixos-unstable", | ||||
|         "ref": "nixos-23.11", | ||||
|         "repo": "nixpkgs", | ||||
|         "type": "github" | ||||
|       } | ||||
|   | ||||
| @@ -2,7 +2,8 @@ | ||||
|   description = "Torjus nixos config flake"; | ||||
|  | ||||
|   inputs = { | ||||
|     nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; | ||||
|     # nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; | ||||
|     nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-23.11"; | ||||
|     home-manager = { | ||||
|       url = "github:nix-community/home-manager"; | ||||
|       inputs.nixpkgs.follows = "nixpkgs"; | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|     home.packages = with pkgs; [ | ||||
|       cliphist | ||||
|       dunst | ||||
|       hyprlock | ||||
|       # hyprlock | ||||
|       hyprpaper | ||||
|       rofi-wayland | ||||
|       slurp | ||||
|   | ||||
| @@ -14,6 +14,7 @@ | ||||
|     glib | ||||
|     jq | ||||
|     kitty | ||||
|     kubectl | ||||
|     ncdu | ||||
|     nwg-look | ||||
|     mumble | ||||
| @@ -29,11 +30,12 @@ | ||||
|     rofi-rbw-wayland | ||||
|     spotify | ||||
|     spicetify-cli | ||||
|     talosctl | ||||
|  | ||||
|     steam | ||||
|     steam-run | ||||
|     steamcmd | ||||
|     gamescope | ||||
|     # steam | ||||
|     # steam-run | ||||
|     # steamcmd | ||||
|     # gamescope | ||||
|     tokei | ||||
|     unzip | ||||
|     yt-dlp | ||||
|   | ||||
| @@ -17,9 +17,9 @@ | ||||
|  | ||||
|   boot.loader.efi = { canTouchEfiVariables = true; }; | ||||
|  | ||||
|   boot.extraModprobeConfig = '' | ||||
|     options nvidia NVreg_RegistryDwords="PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3" | ||||
|   ''; | ||||
|   # boot.extraModprobeConfig = '' | ||||
|   #   options nvidia NVreg_RegistryDwords="PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3" | ||||
|   # ''; | ||||
|  | ||||
|   # Networking stuff | ||||
|   networking.hostName = "gunter"; # Define your hostname. | ||||
| @@ -47,7 +47,7 @@ | ||||
|     open = false; | ||||
|     nvidiaSettings = true; | ||||
|  | ||||
|     package = config.boot.kernelPackages.nvidiaPackages.beta; | ||||
|     package = config.boot.kernelPackages.nvidiaPackages.stable; | ||||
|   }; | ||||
|  | ||||
|   # Setup hyprland | ||||
|   | ||||
| @@ -2,6 +2,9 @@ | ||||
|   environment.shells = with pkgs; [ zsh ]; | ||||
|  | ||||
|   services.xserver.desktopManager.xfce.enable = true; | ||||
|   programs.steam.enable = true; | ||||
|  | ||||
|   services.flatpak.enable = true; | ||||
|  | ||||
|   users.users.steam = { | ||||
|     isNormalUser = true; | ||||
| @@ -11,8 +14,6 @@ | ||||
|     shell = pkgs.zsh; | ||||
|     # Install some user packages | ||||
|     packages = with pkgs; [ | ||||
|       steam | ||||
|       steamcmd | ||||
|     ]; | ||||
|   }; | ||||
| } | ||||
|   | ||||
| @@ -16,17 +16,4 @@ | ||||
|     packages = with pkgs; [ | ||||
|     ]; | ||||
|   }; | ||||
|   users.users.steam = { | ||||
|     isNormalUser = true; | ||||
|     initialPassword = "steam"; | ||||
|     home = "/home/steam"; | ||||
|     description = "Steam user"; | ||||
|     shell = pkgs.zsh; | ||||
|     extraGroups = [ "networkmanager" ]; | ||||
|     # Install some user packages | ||||
|     packages = with pkgs; [ | ||||
|       steam | ||||
|       steamcmd | ||||
|     ]; | ||||
|   }; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user