Refactor GTK settings and Steam dependencies

This commit is contained in:
elwrcl committed 2026-04-15 18:53:20 +03:00
1 parent 88e7a04128
commit 50d6d04473
16 files changed
+97 -45

No files matched your search

+37 -4
View File
@@ -1,4 +1,9 @@
{ config, pkgs, inputs, system, ... }:
{
pkgs,
inputs,
system,
...
}:
{
imports = [ ./hyprland.nix ];
@@ -80,13 +85,42 @@
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
gtk-application-prefer-dark-theme = true;
icon-theme = "Papirus-Dark";
cursor-theme = "Bibata-Modern-Classic";
cursor-size = 24;
};
"org/gnome/nautilus/preferences" = {
default-folder-viewer = "icon-view";
show-hidden-files = false;
};
"org/gtk/settings/file-chooser" = {
sort-directories-first = true;
};
};
xdg.configFile."xdg-desktop-portal/portals/gtk.portal".source =
"${pkgs.xdg-desktop-portal-gtk}/share/xdg-desktop-portal/portals/gtk.portal";
gtk = {
enable = true;
theme = {
name = "Adwaita-dark";
package = pkgs.gnome-themes-extra;
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
cursorTheme = {
name = "Bibata-Modern-Classic";
package = pkgs.bibata-cursors;
size = 24;
};
gtk3.extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
gtk4.extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
gtk4.theme = null;
};
qt = {
enable = true;
platformTheme.name = "gtk3";
@@ -96,4 +130,3 @@
};
};
}
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ ... }:
{
services.pulseaudio.enable = false;
+1 -1
View File
@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ ... }:
{
imports = [
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ pkgs, ... }:
{
programs.hyprland = {
+40 -26
View File
@@ -9,35 +9,49 @@
package = pkgs.steam.override {
extraEnv = {
STEAM_USE_PORTAL = "1";
GTK_USE_PORTAL = "1";
PRESSURE_VESSEL_VERBOSE = "0";
};
extraPkgs = p: with p; [
xdg-desktop-portal
xdg-desktop-portal-gtk
liberation_ttf
wqy_zenhei
corefonts
vista-fonts
libXcursor
libXi
libXinerama
libXScrnSaver
libgpg-error
libkrb5
keyutils
bash
coreutils
libpng
libpulseaudio
libvorbis
stdenv.cc.cc.lib
gamemode
zenity
pkgsi686Linux.libgcc
pkgsi686Linux.glibc
pkgsi686Linux.mesa
];
extraPkgs =
p: with p; [
xdg-desktop-portal
xdg-desktop-portal-gtk
liberation_ttf
wqy_zenhei
corefonts
vista-fonts
libXcursor
libXi
libXinerama
libXScrnSaver
libgpg-error
libkrb5
keyutils
bash
coreutils
libpng
libpulseaudio
libvorbis
stdenv.cc.cc.lib
gamemode
zenity
# pressure-vessel için gerekli
glib
dbus
at-spi2-atk
atk
pkgsi686Linux.libgcc
pkgsi686Linux.glibc
pkgsi686Linux.mesa
pkgsi686Linux.libGL
pkgsi686Linux.libpulseaudio
];
};
gamescopeSession.enable = true;
};
programs.bash.enable = true;
hardware.graphics.enable = true;
environment.systemPackages = with pkgs; [
protontricks
];
}
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ ... }:
{
hardware.bluetooth.enable = true;
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ pkgs, ... }:
let
wayland-intel-vaapi-driver = pkgs.intel-vaapi-driver.overrideAttrs (oldAttrs: {
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ ... }:
{
hardware.nvidia.prime = {
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ pkgs, ... }:
{
hardware.keyboard.qmk.enable = true;
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ ... }:
{
services.udev.extraRules = ''
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ ... }:
{
networking.hostName = "copland";
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ ... }:
{
services.cloudflare-warp.enable = false;
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ ... }:
{
programs.appimage = {
enable = true;
+7 -2
View File
@@ -1,4 +1,9 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
{
systemd.tmpfiles.rules = [
@@ -36,7 +41,7 @@
};
"HDD" = {
path = "/mnt/hdd";
path = "/mnt/HDD";
browseable = "yes";
public = "yes";
"read only" = "no";