too lazy to write a proper message but this fixes the greeter
This commit is contained in:
alsaiduq-lab 2025-12-31 17:52:47 -07:00
parent 4459f75c75
commit ec3d8e3a52
11 changed files with 148 additions and 76 deletions

View file

@ -5,6 +5,7 @@
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
lowLatency.enable = true;
# If you want to use JACK applications, uncomment this
#jack.enable = true;
};

View file

@ -9,7 +9,7 @@
timeout = 5;
};
tmp.cleanOnBoot = true;
kernelPackages = pkgs.linuxPackages;
kernelPackages = pkgs.linuxPackages_latest;
consoleLogLevel = 3;
initrd.verbose = false;
kernelParams = [
@ -19,6 +19,11 @@
"udev.log_priority=3"
"rd.systemd.show_status=auto"
];
# cpu specific optimizations
kernel.sysctl = {
"vm.swappiness" = 10;
"vm.vfs_cache_pressure" = 50;
};
};
# some people really like putting #/bin/sh or #/bin/bash

View file

@ -25,5 +25,6 @@
cairo
cabextract
xdg-utils
nix-search
];
}

View file

@ -2,6 +2,7 @@
fonts = {
packages = with pkgs; [
noto-fonts
unifont
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-color-emoji

View file

@ -44,7 +44,6 @@
};
environment.systemPackages = with pkgs; [
hyprland
qt5.qtwayland
qt6.qtwayland
candy-icons
@ -54,6 +53,7 @@
wlogout
wl-clipboard
xclip
rofi
wofi
hyprshot
hypridle

View file

@ -1,16 +1,43 @@
{pkgs, ...}: {
programs.steam = {
enable = true;
# apparently enabling this makes big picture boot up, does not work on nvidia however
# gamescopeSession.enable = true;
extraCompatPackages = [
pkgs.proton-ge-bin
pkgs.proton-cachyos
];
# for hosting
# dedicatedServer.openFirewall = true;
# remotePlay.openFirewall = true;
extest.enable = true;
protontricks.enable = true;
};
programs.wine = {
enable = true;
package = pkgs.wine-cachyos;
ntsync = true;
};
programs.gamescope = {
enable = true;
capSysNice = true;
};
programs.gamemode = {
enable = true;
enableRenice = true;
settings = {
general = {
renice = 10;
softrealtime = "auto";
inhibit_screensaver = 1;
};
custom = {
start = "${pkgs.libnotify}/bin/notify-send 'GameMode on'";
end = "${pkgs.libnotify}/bin/notify-send 'GameMode off'";
};
};
};
hardware.graphics = {
enable = true;
@ -20,9 +47,9 @@
lutris
wine-cachyos
winetricks
protontricks
gamemode
mangohud
libstrangle
gamescope-wsi
ipc-bridge
];
}

View file

@ -1,4 +1,8 @@
{pkgs, ...}: {
{
pkgs,
inputs,
...
}: {
imports = [
../settings.nix
./cachix.nix
@ -35,6 +39,8 @@
./modules/go.nix
./modules/flatpak.nix
./modules/aagl.nix
inputs.nix-gaming.nixosModules.pipewireLowLatency
inputs.nix-gaming.nixosModules.wine
];
npm.enable = true;
services.udisks2.enable = true;