Skip to content

Commit

Permalink
octo fixes and nix daemon nofile
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony Rabbito <[email protected]>
  • Loading branch information
anthr76 committed Mar 31, 2024
1 parent 39807dc commit bc68c25
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions nixos/personalities/base/nix.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ inputs, lib, config, ... }:
{
systemd.services.nix-daemon.serviceConfig.LimitNOFILE = lib.mkForce 40960000;
nix = {
# This will additionally add your inputs to the system's legacy channels
# Making legacy nix commands consistent as well, awesome!
Expand Down
6 changes: 6 additions & 0 deletions nixos/personalities/desktop/game-console.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
pkgs.vulkan-tools
pkgs.kdePackages.discover
pkgs.amdgpu_top
pkgs.dolphin-emu
pkgs.steam-rom-manager
];
programs.steam = {
enable = true;
Expand Down Expand Up @@ -136,4 +138,8 @@
# Kill greetd and Gamescope if the GPU crashes and VRAM is lost
ACTION=="change", ENV{DEVNAME}=="/dev/dri/card0", ENV{RESET}=="1", ENV{FLAGS}=="1", RUN+="${pkgs.systemd}/bin/systemctl restart greetd"
'';
services.logind.extraConfig = ''
# don’t shutdown when power button is short-pressed
HandlePowerKey=suspend
'';
}

0 comments on commit bc68c25

Please sign in to comment.