hosts: steamdeck: first running gnome config

This commit is contained in:
Kabbone 2023-07-27 21:26:41 +02:00
parent f53f2b1265
commit 3d43581d6b
Signed by: Kabbone
SSH Key Fingerprint: SHA256:ezolxoMIF3LNo1yc1aGNCvFNUiSZNjUbNhrZohFeKd0
5 changed files with 9 additions and 4 deletions

View File

@ -59,7 +59,7 @@
}; };
sound = { # ALSA sound enable sound = { # ALSA sound enable
enable = true; #enable = true;
mediaKeys = { # Keyboard Media Keys (for minimal desktop) enable = true; mediaKeys = { # Keyboard Media Keys (for minimal desktop) enable = true;
enable = true; enable = true;
}; };

View File

@ -23,7 +23,7 @@
imports = # For now, if applying to other system, swap files imports = # For now, if applying to other system, swap files
[(import ./hardware-configuration.nix)] ++ # Current system hardware config @ /etc/nixos/hardware-configuration.nix [(import ./hardware-configuration.nix)] ++ # Current system hardware config @ /etc/nixos/hardware-configuration.nix
[(import ../../modules/desktop/gnome/default.nix)] ++ # Window Manager [(import ../../modules/desktop/gnome/default.nix)] ++ # Window Manager
[(import ../../modules/desktop/virtualisation/default.nix)] ++ # Docker [(import ../../modules/desktop/virtualisation/docker.nix)] ++ # Docker
(import ../../modules/hardware); # Hardware devices (import ../../modules/hardware); # Hardware devices
boot = { # Boot options boot = { # Boot options
@ -54,6 +54,7 @@
# }; # };
programs = { # No xbacklight, this is the alterantive programs = { # No xbacklight, this is the alterantive
zsh.enable = true;
dconf.enable = true; dconf.enable = true;
light.enable = true; light.enable = true;
ssh.startAgent = false; ssh.startAgent = false;

View File

@ -20,6 +20,7 @@
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sdhci_pci" ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.kernelParams = [ ]; boot.kernelParams = [ ];
boot.tmp.useTmpfs = true; boot.tmp.useTmpfs = true;
# zramSwap.enable = true; # zramSwap.enable = true;

View File

@ -24,6 +24,8 @@
}; };
}; };
hardware.pulseaudio.enable = lib.mkForce false;
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
driSupport = true; driSupport = true;
@ -41,6 +43,7 @@
services = { services = {
xserver = { xserver = {
enable = true;
desktopManager.gnome.enable = true; desktopManager.gnome.enable = true;
displayManager = { displayManager = {
gdm.wayland = true; gdm.wayland = true;

View File

@ -18,13 +18,13 @@
"org/gnome/desktop/a11y/applications" = { "org/gnome/desktop/a11y/applications" = {
screen-keyboard-enabled = true; screen-keyboard-enabled = true;
}; };
# "org/gnome/shell" = { "org/gnome/shell" = {
# enabled-extensions = [ # enabled-extensions = [
# "dash-to-dock@micxgx.gmail.com" # "dash-to-dock@micxgx.gmail.com"
# ]; # ];
favorite-apps = ["steam.desktop"]; favorite-apps = ["steam.desktop"];
}; };
# Dash to Dock settings for a better touch screen experience # Dash to Dock settings for a better touch screen experience
"org/gnome/shell/extensions/dash-to-dock" = { "org/gnome/shell/extensions/dash-to-dock" = {
background-opacity = 0.80000000000000004; background-opacity = 0.80000000000000004;
custom-theme-shrink = true; custom-theme-shrink = true;