hosts: steamdeck: move to kde but stick to gdm
This commit is contained in:
parent
ca422d00ea
commit
7e3715a646
@ -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/steam/default.nix)] ++ # Window Manager
|
[(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/desktop/virtualisation/docker.nix)] ++ # Docker
|
||||||
(import ../../modules/hardware); # Hardware devices
|
(import ../../modules/hardware); # Hardware devices
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
../../modules/desktop/steam/home.nix # Window Manager
|
../../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
|
../../modules/home.nix # Window Manager
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -47,8 +47,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
services = { # Applets
|
services = { # Applets
|
||||||
blueman-applet.enable = true; # Bluetooth
|
|
||||||
network-manager-applet.enable = true; # Network
|
|
||||||
};
|
};
|
||||||
|
|
||||||
xsession.preferStatusNotifierItems = true;
|
xsession.preferStatusNotifierItems = true;
|
||||||
|
@ -18,6 +18,8 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
gnome.gnome-terminal
|
gnome.gnome-terminal
|
||||||
gnomeExtensions.dash-to-dock
|
gnomeExtensions.dash-to-dock
|
||||||
|
gnomeExtensions.appindicator
|
||||||
|
flatpak
|
||||||
rocm-opencl-icd
|
rocm-opencl-icd
|
||||||
rocm-opencl-runtime
|
rocm-opencl-runtime
|
||||||
clinfo
|
clinfo
|
||||||
@ -41,5 +43,7 @@
|
|||||||
autoLogin.user = "kabbone";
|
autoLogin.user = "kabbone";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
flatpak.enable = true;
|
||||||
|
udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -25,9 +25,10 @@
|
|||||||
favorite-apps = [
|
favorite-apps = [
|
||||||
"firefox.desktop"
|
"firefox.desktop"
|
||||||
"thunderbird.desktop"
|
"thunderbird.desktop"
|
||||||
"element.desktop"
|
"element-desktop.desktop"
|
||||||
"keepassxc.desktop"
|
"keepassxc"
|
||||||
"yubioath-flutter"
|
"yubioath-flutter.desktop"
|
||||||
|
"alacritty.desktop"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
# Dash to Dock settings for a better touch screen experience
|
# Dash to Dock settings for a better touch screen experience
|
||||||
|
50
modules/desktop/kde/default.nix
Normal file
50
modules/desktop/kde/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
16
modules/desktop/kde/home.nix
Normal file
16
modules/desktop/kde/home.nix
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#
|
||||||
|
# Gnome NixOS & Home manager configuration
|
||||||
|
#
|
||||||
|
# flake.nix
|
||||||
|
# ├─ ./hosts
|
||||||
|
# │ └─ ./steamdeck
|
||||||
|
# │ └─ home.nix
|
||||||
|
# └─ ./modules
|
||||||
|
# └─ ./desktop
|
||||||
|
# └─ ./gnome
|
||||||
|
# └─ home.nix *
|
||||||
|
#
|
||||||
|
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
}
|
@ -34,7 +34,4 @@
|
|||||||
steamdeck-firmware
|
steamdeck-firmware
|
||||||
];
|
];
|
||||||
|
|
||||||
# services = {
|
|
||||||
# };
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
steam
|
steam
|
||||||
microsoft-edge-beta
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user