Heroic moved to stable and nvtop commented out

This commit is contained in:
foglar 2025-01-01 16:42:41 +01:00
parent 688cf330ca
commit 5e09533ca1
4 changed files with 44 additions and 35 deletions

View File

@ -56,6 +56,7 @@ sudo nixos-rebuild switch --flake ~/.dotfiles#kogami
- The system consists currently from 2 profiles: - The system consists currently from 2 profiles:
- [Kogami](./kogami/) - My daily driver notebook - [Kogami](./kogami/) - My daily driver notebook
- [Ginoza](./ginoza/) - Old notebook, only essentials installed - [Ginoza](./ginoza/) - Old notebook, only essentials installed
- [Tsunemori](./tsunemori/) - Phone configuration, for those moments without notebook
### Custom setup ### Custom setup

View File

@ -1,4 +1,8 @@
{userSettings, ...}: { {
userSettings,
pkgs,
...
}: {
# Home manager configuration # Home manager configuration
home.username = "${userSettings.username}"; home.username = "${userSettings.username}";
home.homeDirectory = "/home/${userSettings.username}"; home.homeDirectory = "/home/${userSettings.username}";

View File

@ -1,5 +1,6 @@
{ {
pkgs, pkgs,
pkgs-stable,
lib, lib,
config, config,
... ...
@ -9,11 +10,11 @@
lib.mkEnableOption "enable games"; lib.mkEnableOption "enable games";
}; };
config = lib.mkIf config.app_list.games.enable { config = lib.mkIf config.app_list.games.enable {
home.packages = with pkgs; [ home.packages =
(with pkgs; [
vitetris vitetris
steam steam
superTuxKart superTuxKart
heroic
wine wine
(writeShellScriptBin "gs" '' (writeShellScriptBin "gs" ''
@ -45,7 +46,10 @@
exec gamescope "''${gamescopeArgs[@]}" -- steam "''${steamArgs[@]}" exec gamescope "''${gamescopeArgs[@]}" -- steam "''${steamArgs[@]}"
'') '')
]; ])
++ (with pkgs-stable; [
heroic
]);
nixpkgs.config.allowUnfreePredicate = pkg: nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [ builtins.elem (lib.getName pkg) [

View File

@ -28,7 +28,7 @@
++ ( ++ (
if pkgs.system == "x86_64-linux" if pkgs.system == "x86_64-linux"
then [ then [
nvtopPackages.full #nvtopPackages.full
] ]
else [] else []
); );