From 3d43581d6befaa3b96a9f13fa963b7ecea220212 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Thu, 27 Jul 2023 21:26:41 +0200 Subject: [PATCH] hosts: steamdeck: first running gnome config --- hosts/configuration_desktop.nix | 2 +- hosts/steamdeck/default.nix | 3 ++- hosts/steamdeck/hardware-configuration.nix | 1 + modules/desktop/gnome/default.nix | 3 +++ modules/desktop/gnome/home.nix | 4 ++-- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/hosts/configuration_desktop.nix b/hosts/configuration_desktop.nix index 6e496d4..ae6413d 100644 --- a/hosts/configuration_desktop.nix +++ b/hosts/configuration_desktop.nix @@ -59,7 +59,7 @@ }; sound = { # ALSA sound enable - enable = true; + #enable = true; mediaKeys = { # Keyboard Media Keys (for minimal desktop) enable = true; enable = true; }; diff --git a/hosts/steamdeck/default.nix b/hosts/steamdeck/default.nix index cb80d87..2609758 100644 --- a/hosts/steamdeck/default.nix +++ b/hosts/steamdeck/default.nix @@ -23,7 +23,7 @@ imports = # For now, if applying to other system, swap files [(import ./hardware-configuration.nix)] ++ # Current system hardware config @ /etc/nixos/hardware-configuration.nix [(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 boot = { # Boot options @@ -54,6 +54,7 @@ # }; programs = { # No xbacklight, this is the alterantive + zsh.enable = true; dconf.enable = true; light.enable = true; ssh.startAgent = false; diff --git a/hosts/steamdeck/hardware-configuration.nix b/hosts/steamdeck/hardware-configuration.nix index a13215e..09f6510 100644 --- a/hosts/steamdeck/hardware-configuration.nix +++ b/hosts/steamdeck/hardware-configuration.nix @@ -20,6 +20,7 @@ boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sdhci_pci" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; + boot.extraModulePackages = [ ]; boot.kernelParams = [ ]; boot.tmp.useTmpfs = true; # zramSwap.enable = true; diff --git a/modules/desktop/gnome/default.nix b/modules/desktop/gnome/default.nix index 313ef74..fb6d93e 100644 --- a/modules/desktop/gnome/default.nix +++ b/modules/desktop/gnome/default.nix @@ -24,6 +24,8 @@ }; }; + hardware.pulseaudio.enable = lib.mkForce false; + hardware.opengl = { enable = true; driSupport = true; @@ -41,6 +43,7 @@ services = { xserver = { + enable = true; desktopManager.gnome.enable = true; displayManager = { gdm.wayland = true; diff --git a/modules/desktop/gnome/home.nix b/modules/desktop/gnome/home.nix index 7f312dc..de99f70 100644 --- a/modules/desktop/gnome/home.nix +++ b/modules/desktop/gnome/home.nix @@ -18,13 +18,13 @@ "org/gnome/desktop/a11y/applications" = { screen-keyboard-enabled = true; }; -# "org/gnome/shell" = { + "org/gnome/shell" = { # enabled-extensions = [ # "dash-to-dock@micxgx.gmail.com" # ]; 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" = { background-opacity = 0.80000000000000004; custom-theme-shrink = true;