Temporary steam config

This commit is contained in:
Torjus Håkestad 2024-03-04 04:24:34 +01:00
parent bb9bb49940
commit 08ad72c933
7 changed files with 20 additions and 29 deletions

View File

@ -22,16 +22,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1709237383, "lastModified": 1709309926,
"narHash": "sha256-cy6ArO4k5qTx+l5o+0mL9f5fa86tYUX3ozE1S+Txlds=", "narHash": "sha256-VZFBtXGVD9LWTecGi6eXrE0hJ/mVB3zGUlHImUs2Qak=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1536926ef5621b09bba54035ae2bb6d806d72ac8", "rev": "79baff8812a0d68e24a836df0a364c678089e2c7",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-unstable", "ref": "nixos-23.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View File

@ -2,7 +2,8 @@
description = "Torjus nixos config flake"; description = "Torjus nixos config flake";
inputs = { 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 = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

View File

@ -4,7 +4,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
cliphist cliphist
dunst dunst
hyprlock # hyprlock
hyprpaper hyprpaper
rofi-wayland rofi-wayland
slurp slurp

View File

@ -14,6 +14,7 @@
glib glib
jq jq
kitty kitty
kubectl
ncdu ncdu
nwg-look nwg-look
mumble mumble
@ -29,11 +30,12 @@
rofi-rbw-wayland rofi-rbw-wayland
spotify spotify
spicetify-cli spicetify-cli
talosctl
steam # steam
steam-run # steam-run
steamcmd # steamcmd
gamescope # gamescope
tokei tokei
unzip unzip
yt-dlp yt-dlp

View File

@ -17,9 +17,9 @@
boot.loader.efi = { canTouchEfiVariables = true; }; boot.loader.efi = { canTouchEfiVariables = true; };
boot.extraModprobeConfig = '' # boot.extraModprobeConfig = ''
options nvidia NVreg_RegistryDwords="PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3" # options nvidia NVreg_RegistryDwords="PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3"
''; # '';
# Networking stuff # Networking stuff
networking.hostName = "gunter"; # Define your hostname. networking.hostName = "gunter"; # Define your hostname.
@ -47,7 +47,7 @@
open = false; open = false;
nvidiaSettings = true; nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.beta; package = config.boot.kernelPackages.nvidiaPackages.stable;
}; };
# Setup hyprland # Setup hyprland

View File

@ -2,6 +2,9 @@
environment.shells = with pkgs; [ zsh ]; environment.shells = with pkgs; [ zsh ];
services.xserver.desktopManager.xfce.enable = true; services.xserver.desktopManager.xfce.enable = true;
programs.steam.enable = true;
services.flatpak.enable = true;
users.users.steam = { users.users.steam = {
isNormalUser = true; isNormalUser = true;
@ -11,8 +14,6 @@
shell = pkgs.zsh; shell = pkgs.zsh;
# Install some user packages # Install some user packages
packages = with pkgs; [ packages = with pkgs; [
steam
steamcmd
]; ];
}; };
} }

View File

@ -16,17 +16,4 @@
packages = with pkgs; [ 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
];
};
} }