diff --git a/flake.lock b/flake.lock index fc51ef2..c5ff736 100644 --- a/flake.lock +++ b/flake.lock @@ -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" } diff --git a/flake.nix b/flake.nix index 415929e..60cafaa 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; diff --git a/home/hyprland/hyprland.nix b/home/hyprland/hyprland.nix index c07acc5..5144cda 100644 --- a/home/hyprland/hyprland.nix +++ b/home/hyprland/hyprland.nix @@ -4,7 +4,7 @@ home.packages = with pkgs; [ cliphist dunst - hyprlock + # hyprlock hyprpaper rofi-wayland slurp diff --git a/home/packages/default.nix b/home/packages/default.nix index a5d28b6..801776c 100644 --- a/home/packages/default.nix +++ b/home/packages/default.nix @@ -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 diff --git a/hosts/gunter/configuration.nix b/hosts/gunter/configuration.nix index c00fa3c..63df9a9 100644 --- a/hosts/gunter/configuration.nix +++ b/hosts/gunter/configuration.nix @@ -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 diff --git a/hosts/gunter/steamuser.nix b/hosts/gunter/steamuser.nix index e834fae..6459ddb 100644 --- a/hosts/gunter/steamuser.nix +++ b/hosts/gunter/steamuser.nix @@ -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 ]; }; } diff --git a/system/users.nix b/system/users.nix index 575f630..c0abf56 100644 --- a/system/users.nix +++ b/system/users.nix @@ -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 - ]; - }; }