mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
Refactor GTK settings and Steam dependencies
This commit is contained in:
1 parent
88e7a04128
commit
50d6d04473
16 files changed
+72
-20
No files matched your search
+37
-4
@@ -1,4 +1,9 @@
|
|||||||
{ config, pkgs, inputs, system, ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
system,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ./hyprland.nix ];
|
imports = [ ./hyprland.nix ];
|
||||||
@@ -80,13 +85,42 @@
|
|||||||
"org/gnome/desktop/interface" = {
|
"org/gnome/desktop/interface" = {
|
||||||
color-scheme = "prefer-dark";
|
color-scheme = "prefer-dark";
|
||||||
gtk-application-prefer-dark-theme = true;
|
gtk-application-prefer-dark-theme = true;
|
||||||
|
icon-theme = "Papirus-Dark";
|
||||||
|
cursor-theme = "Bibata-Modern-Classic";
|
||||||
|
cursor-size = 24;
|
||||||
};
|
};
|
||||||
"org/gnome/nautilus/preferences" = {
|
"org/gnome/nautilus/preferences" = {
|
||||||
default-folder-viewer = "icon-view";
|
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 =
|
gtk = {
|
||||||
"${pkgs.xdg-desktop-portal-gtk}/share/xdg-desktop-portal/portals/gtk.portal";
|
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 = {
|
qt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
platformTheme.name = "gtk3";
|
platformTheme.name = "gtk3";
|
||||||
@@ -96,4 +130,3 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.pulseaudio.enable = false;
|
services.pulseaudio.enable = false;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.hyprland = {
|
programs.hyprland = {
|
||||||
|
|||||||
@@ -9,8 +9,11 @@
|
|||||||
package = pkgs.steam.override {
|
package = pkgs.steam.override {
|
||||||
extraEnv = {
|
extraEnv = {
|
||||||
STEAM_USE_PORTAL = "1";
|
STEAM_USE_PORTAL = "1";
|
||||||
|
GTK_USE_PORTAL = "1";
|
||||||
|
PRESSURE_VESSEL_VERBOSE = "0";
|
||||||
};
|
};
|
||||||
extraPkgs = p: with p; [
|
extraPkgs =
|
||||||
|
p: with p; [
|
||||||
xdg-desktop-portal
|
xdg-desktop-portal
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
liberation_ttf
|
liberation_ttf
|
||||||
@@ -32,12 +35,23 @@
|
|||||||
stdenv.cc.cc.lib
|
stdenv.cc.cc.lib
|
||||||
gamemode
|
gamemode
|
||||||
zenity
|
zenity
|
||||||
|
# pressure-vessel için gerekli
|
||||||
|
glib
|
||||||
|
dbus
|
||||||
|
at-spi2-atk
|
||||||
|
atk
|
||||||
pkgsi686Linux.libgcc
|
pkgsi686Linux.libgcc
|
||||||
pkgsi686Linux.glibc
|
pkgsi686Linux.glibc
|
||||||
pkgsi686Linux.mesa
|
pkgsi686Linux.mesa
|
||||||
|
pkgsi686Linux.libGL
|
||||||
|
pkgsi686Linux.libpulseaudio
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
gamescopeSession.enable = true;
|
gamescopeSession.enable = true;
|
||||||
};
|
};
|
||||||
programs.bash.enable = true;
|
programs.bash.enable = true;
|
||||||
|
hardware.graphics.enable = true;
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
protontricks
|
||||||
|
];
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
wayland-intel-vaapi-driver = pkgs.intel-vaapi-driver.overrideAttrs (oldAttrs: {
|
wayland-intel-vaapi-driver = pkgs.intel-vaapi-driver.overrideAttrs (oldAttrs: {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
hardware.nvidia.prime = {
|
hardware.nvidia.prime = {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
hardware.keyboard.qmk.enable = true;
|
hardware.keyboard.qmk.enable = true;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
networking.hostName = "copland";
|
networking.hostName = "copland";
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.cloudflare-warp.enable = false;
|
services.cloudflare-warp.enable = false;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
programs.appimage = {
|
programs.appimage = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
@@ -36,7 +41,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
"HDD" = {
|
"HDD" = {
|
||||||
path = "/mnt/hdd";
|
path = "/mnt/HDD";
|
||||||
browseable = "yes";
|
browseable = "yes";
|
||||||
public = "yes";
|
public = "yes";
|
||||||
"read only" = "no";
|
"read only" = "no";
|
||||||
|
|||||||
Reference in new issue
Block a user