big restruct
This commit is contained in:
1
sys/bin/android/default.nix
Normal file
1
sys/bin/android/default.nix
Normal file
@@ -0,0 +1 @@
|
||||
{ programs.adb.enable = true; }
|
||||
5
sys/bin/anyrun/default.nix
Normal file
5
sys/bin/anyrun/default.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{pkgs, ...}: {
|
||||
environment.systemPackages = [
|
||||
pkgs.anyrun
|
||||
];
|
||||
}
|
||||
3
sys/bin/bottles/default.nix
Normal file
3
sys/bin/bottles/default.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{pkgs, ...}: {
|
||||
environment.systemPackages = [pkgs.bottles-unwrapped];
|
||||
}
|
||||
9
sys/bin/corectrl/default.nix
Normal file
9
sys/bin/corectrl/default.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
programs.corectrl = {
|
||||
enable = true;
|
||||
gpuOverclock = {
|
||||
enable = true;
|
||||
ppfeaturemask = "0xffffffff";
|
||||
};
|
||||
};
|
||||
}
|
||||
6
sys/bin/default.nix
Normal file
6
sys/bin/default.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
imports = [
|
||||
./anyrun
|
||||
./hyprland
|
||||
];
|
||||
}
|
||||
29
sys/bin/gamemode/default.nix
Normal file
29
sys/bin/gamemode/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
programs.gamemode = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
softrealtime = "auto";
|
||||
renice = 15;
|
||||
};
|
||||
# gpu = {
|
||||
# apply_gpu_optimisations = "accept-responsibility";
|
||||
# gpu_device = 1;
|
||||
# amd_performance_level = "high";
|
||||
# };
|
||||
custom = {
|
||||
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
|
||||
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
|
||||
};
|
||||
};
|
||||
};
|
||||
# see https://github.com/fufexan/nix-gaming/#pipewire-low-latency
|
||||
services.pipewire.lowLatency.enable = true;
|
||||
imports = [
|
||||
inputs.nix-gaming.nixosModules.pipewireLowLatency
|
||||
];
|
||||
}
|
||||
10
sys/bin/gamescope/default.nix
Normal file
10
sys/bin/gamescope/default.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
programs.gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
args = [
|
||||
"--rt"
|
||||
"--expose-wayland"
|
||||
];
|
||||
};
|
||||
}
|
||||
20
sys/bin/gaming.nix
Normal file
20
sys/bin/gaming.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./steam
|
||||
./lutris
|
||||
# ./bottles
|
||||
./gamemode
|
||||
./gamescope
|
||||
./corectrl
|
||||
];
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
# Misc
|
||||
protonup
|
||||
winetricks
|
||||
];
|
||||
sessionVariables = {
|
||||
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/cnst/.steam/root/compatibilitytools.d";
|
||||
};
|
||||
};
|
||||
}
|
||||
5
sys/bin/gimp/default.nix
Normal file
5
sys/bin/gimp/default.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
gimp-with-plugins
|
||||
];
|
||||
}
|
||||
10
sys/bin/gnome/default.nix
Normal file
10
sys/bin/gnome/default.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
services = {
|
||||
xserver = {
|
||||
desktopManager.gnome = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
gnome.games.enable = true;
|
||||
};
|
||||
}
|
||||
7
sys/bin/hyprland/default.nix
Normal file
7
sys/bin/hyprland/default.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{inputs, ...}: {
|
||||
imports = [
|
||||
inputs.hyprland.nixosModules.default
|
||||
];
|
||||
environment.variables.NIXOS_OZONE_WL = "1";
|
||||
programs.hyprland.enable = true;
|
||||
}
|
||||
5
sys/bin/inkscape/default.nix
Normal file
5
sys/bin/inkscape/default.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
gimp-with-plugins
|
||||
];
|
||||
}
|
||||
5
sys/bin/lutris/default.nix
Normal file
5
sys/bin/lutris/default.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
lutris
|
||||
];
|
||||
}
|
||||
8
sys/bin/steam/default.nix
Normal file
8
sys/bin/steam/default.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
programs = {
|
||||
steam = {
|
||||
enable = true;
|
||||
gamescopeSession.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user