This commit is contained in:
2026-07-23 23:27:38 +02:00
parent 6e9d588f00
commit 3556a27c2b
2 changed files with 5 additions and 13 deletions
+5 -9
View File
@@ -4,9 +4,6 @@
# desktop-hyprland.nix, which owns the *session* (compositor, greeter, audio, # desktop-hyprland.nix, which owns the *session* (compositor, greeter, audio,
# portals); this owns the things the user actually launches inside it. # portals); this owns the things the user actually launches inside it.
{ {
# gitkraken / jetbrains-toolbox / steam are unfree. Allow exactly those
# rather than flipping allowUnfree globally, so an unfree dep sneaking into
# a server host's closure still fails loudly.
nixpkgs.config.allowUnfreePredicate = pkg: nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [ builtins.elem (lib.getName pkg) [
"gitkraken" "gitkraken"
@@ -17,22 +14,21 @@
"claude-code" "claude-code"
]; ];
# Steam needs its own module (not just the package): it sets up the FHS
# wrapper, the udev rules for controllers, and the 32-bit graphics stack.
programs.steam = { programs.steam = {
enable = true; enable = true;
remotePlay.openFirewall = true; # in-home streaming remotePlay.openFirewall = true;
dedicatedServer.openFirewall = false; dedicatedServer.openFirewall = false;
}; };
hardware.graphics.enable32Bit = true; # required by steam's 32-bit games hardware.graphics.enable32Bit = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
alacritty
zed-editor zed-editor
protonplus # manages Proton-GE / Wine-GE builds for steam + lutris protonplus
gitkraken gitkraken
jetbrains-toolbox jetbrains-toolbox
kdePackages.dolphin kdePackages.dolphin
]; ];
fonts.packages = [ pkgs.nerd-fonts.departure-mono ]; # alacritty's font, see hosts/terra/home.nix fonts.packages = [ pkgs.nerd-fonts.departure-mono ];
} }
-4
View File
@@ -28,9 +28,5 @@
hardware.graphics.enable = true; # OpenGL/Vulkan for the compositor + apps hardware.graphics.enable = true; # OpenGL/Vulkan for the compositor + apps
services.libinput.enable = true; services.libinput.enable = true;
environment.systemPackages = with pkgs; [
alacritty
];
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
} }