Compare commits
No commits in common. "8d34f9f6221a6d923634bd9cf6d2393916d4b84c" and "b1fdc9b5a66de5282475a2ceb72e89db73c0c572" have entirely different histories.
8d34f9f622
...
b1fdc9b5a6
5 changed files with 17 additions and 52 deletions
|
|
@ -25,22 +25,15 @@
|
|||
|
||||
monitor = [ ",preferred,1" ];
|
||||
|
||||
ecosystem = {
|
||||
"no_update_news" = true;
|
||||
"no_donation_nag" = true;
|
||||
};
|
||||
|
||||
exec-once = [
|
||||
"hyprlock"
|
||||
"ags"
|
||||
"[workspace special:keepass silent] keepassxc"
|
||||
];
|
||||
|
||||
exec = [ "[workspace special:keepass silent] keepassxc" ];
|
||||
|
||||
windowrule = [
|
||||
"workspace special:keepass,class:org.keepassxc.KeePassXC,title:^(.*)(KeePassXC)(.*)$"
|
||||
"workspace unset,class:org.keepassxc.KeePassXC,title:Unlock Database - KeePassXC"
|
||||
"noanim, class:^ueberzugpp_(.*)$"
|
||||
];
|
||||
|
||||
workspace = [
|
||||
|
|
@ -106,7 +99,6 @@
|
|||
|
||||
dwindle = {
|
||||
pseudotile = true;
|
||||
smart_split = true;
|
||||
preserve_split = true;
|
||||
};
|
||||
|
||||
|
|
@ -119,14 +111,14 @@
|
|||
|
||||
bind = [
|
||||
"$mainMod, Q, exec, $terminal"
|
||||
"$mainMod, W, exec, $terminal -e yazi"
|
||||
"$mainMod, C, killactive,"
|
||||
"$mainMod, backspace, exec, hyprlock"
|
||||
"$mainMod, E, exec, $fileManager"
|
||||
"$mainMod, A, togglefloating,"
|
||||
"$mainMod, R, exec, rofi -show drun"
|
||||
|
||||
"$mainMod, A, togglefloating,"
|
||||
"$mainMod, S, togglesplit,"
|
||||
"$mainMod, D, pseudo,"
|
||||
"$mainMod, S, togglesplit,"
|
||||
"$mainMod, F, fullscreen,"
|
||||
|
||||
"$mainMod, P, togglespecialworkspace, keepass"
|
||||
|
|
|
|||
|
|
@ -33,9 +33,5 @@
|
|||
prismlauncher
|
||||
lutris
|
||||
# steamtinkerlaunch
|
||||
|
||||
unzip
|
||||
ueberzugpp
|
||||
yazi
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,25 +1,4 @@
|
|||
{ ... }:
|
||||
{
|
||||
{...}:{
|
||||
services.ssh-agent.enable = true;
|
||||
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
|
||||
matchBlocks = {
|
||||
"hpc" = {
|
||||
user = "benstem";
|
||||
hostname = "login1.hpc.uni-potsdam.de";
|
||||
};
|
||||
|
||||
"lilith-lab" = {
|
||||
user = "lilith";
|
||||
hostname = "nixserver";
|
||||
};
|
||||
|
||||
"lilith-server" = {
|
||||
user = "lilith";
|
||||
hostname = "2a01:4f9:4a:1ecb::2:";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4,36 +4,32 @@
|
|||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
gaming-host = lib.mkIf (!config.gaming.client-only);
|
||||
in
|
||||
{
|
||||
|
||||
options.gaming.enable = lib.mkEnableOption "Enable steam and related software";
|
||||
options.gaming.client-only = lib.mkEnableOption "Only enable steam, to stream via SteamLink";
|
||||
|
||||
config = lib.mkIf config.gaming.enable {
|
||||
programs = {
|
||||
gamescope = gaming-host {
|
||||
gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
};
|
||||
|
||||
steam = {
|
||||
enable = true;
|
||||
gamescopeSession.enable = gaming-host true;
|
||||
gamescopeSession.enable = true;
|
||||
|
||||
remotePlay.openFirewall = gaming-host true;
|
||||
dedicatedServer.openFirewall = gaming-host true;
|
||||
localNetworkGameTransfers.openFirewall = gaming-host true;
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
localNetworkGameTransfers.openFirewall = true;
|
||||
};
|
||||
|
||||
gamemode.enable = gaming-host true;
|
||||
gamemode.enable = true;
|
||||
};
|
||||
|
||||
hardware.steam-hardware.enable = gaming-host true;
|
||||
hardware.steam-hardware.enable = true;
|
||||
|
||||
environment = gaming-host {
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
mangohud
|
||||
protonup
|
||||
|
|
@ -42,7 +38,7 @@ in
|
|||
};
|
||||
|
||||
# SteamVR kernel patch for AMDGPU
|
||||
boot.kernelPatches = gaming-host [
|
||||
boot.kernelPatches = [
|
||||
{
|
||||
name = "amdgpu-ignore-ctx-privileges";
|
||||
patch = pkgs.fetchpatch {
|
||||
|
|
|
|||
|
|
@ -2,5 +2,7 @@
|
|||
allowed = [
|
||||
"steam"
|
||||
"steam-unwrapped"
|
||||
|
||||
# "rocm-runtime-ext"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue