hosts: steamdeck: move to kde but stick to gdm

This commit is contained in:
Kabbone 2023-07-31 21:51:19 +02:00
parent ca422d00ea
commit 7e3715a646
Signed by: Kabbone
SSH Key Fingerprint: SHA256:ezolxoMIF3LNo1yc1aGNCvFNUiSZNjUbNhrZohFeKd0
8 changed files with 76 additions and 11 deletions

View File

@ -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/steam/default.nix)] ++ # Window Manager
[(import ../../modules/desktop/gnome/default.nix)] ++ # Window Manager
[(import ../../modules/desktop/kde/default.nix)] ++ # Window Manager
[(import ../../modules/desktop/virtualisation/docker.nix)] ++ # Docker
(import ../../modules/hardware); # Hardware devices

View File

@ -17,7 +17,7 @@
imports =
[
../../modules/desktop/steam/home.nix # Window Manager
../../modules/desktop/gnome/home.nix # Window Manager
../../modules/desktop/kde/home.nix # Window Manager
../../modules/home.nix # Window Manager
];
@ -47,8 +47,6 @@
};
services = { # Applets
blueman-applet.enable = true; # Bluetooth
network-manager-applet.enable = true; # Network
};
xsession.preferStatusNotifierItems = true;

View File

@ -18,6 +18,8 @@
environment.systemPackages = with pkgs; [
gnome.gnome-terminal
gnomeExtensions.dash-to-dock
gnomeExtensions.appindicator
flatpak
rocm-opencl-icd
rocm-opencl-runtime
clinfo
@ -41,5 +43,7 @@
autoLogin.user = "kabbone";
};
};
flatpak.enable = true;
udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
};
}

View File

@ -25,9 +25,10 @@
favorite-apps = [
"firefox.desktop"
"thunderbird.desktop"
"element.desktop"
"keepassxc.desktop"
"yubioath-flutter"
"element-desktop.desktop"
"keepassxc"
"yubioath-flutter.desktop"
"alacritty.desktop"
];
};
# Dash to Dock settings for a better touch screen experience

View File

@ -0,0 +1,50 @@
#
# Gnome configuration
#
# flake.nix
# ├─ ./hosts
# │ └─ ./laptop
# │ └─ default.nix
# └─ ./modules
# └─ ./desktop
# └─ ./gnome
# └─ default.nix *
#
{ config, lib, user, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
flatpak
rocm-opencl-icd
rocm-opencl-runtime
clinfo
libsForQt5.discover
maliit-keyboard
gnome.zenity
appimage-run
];
services = {
packagekit.enable = true;
xserver = {
enable = true;
desktopManager.plasma5.enable = true;
displayManager = {
gdm.wayland = true;
gdm.enable = true;
gdm.autoLogin.delay = 5;
gdm.settings = {
security = {
DisallowTCP=true;
};
};
defaultSession = "steam-wayland";
autoLogin.enable = true;
autoLogin.user = "kabbone";
};
};
flatpak.enable = true;
udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
};
}

View File

@ -0,0 +1,16 @@
#
# Gnome NixOS & Home manager configuration
#
# flake.nix
# ├─ ./hosts
# │ └─ ./steamdeck
# │ └─ home.nix
# └─ ./modules
# └─ ./desktop
# └─ ./gnome
# └─ home.nix *
#
{ config, lib, pkgs, ... }:
{
}

View File

@ -34,7 +34,4 @@
steamdeck-firmware
];
# services = {
# };
}

View File

@ -16,7 +16,6 @@
home = {
packages = with pkgs; [
steam
microsoft-edge-beta
];
};
}