From 5c212850c7c3c11f6232935ca64867101b4edd6d Mon Sep 17 00:00:00 2001 From: noe Date: Sun, 21 Jan 2024 17:31:59 -0500 Subject: [PATCH] cider: plasma --- nixos/features/plasma5.nix | 18 ++++++++++++++++++ nixos/hosts/cider/default.nix | 6 +++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 nixos/features/plasma5.nix diff --git a/nixos/features/plasma5.nix b/nixos/features/plasma5.nix new file mode 100644 index 0000000..8b1268d --- /dev/null +++ b/nixos/features/plasma5.nix @@ -0,0 +1,18 @@ +{ pkgs, ... }: { + + services.xserver = { + enable = true; + + displayManager = { + sddm.enable = true; + }; + + desktopManager = { + xterm.enable = false; + plasma5.enable = true; + }; + + layout = "us"; + xkbVariant = ""; + }; +} diff --git a/nixos/hosts/cider/default.nix b/nixos/hosts/cider/default.nix index 9e7dcdf..f0b87e7 100644 --- a/nixos/hosts/cider/default.nix +++ b/nixos/hosts/cider/default.nix @@ -5,7 +5,7 @@ ./hardware-configuration.nix ../../client.nix - ../../features/xfce.nix + ../../features/plasma5.nix ../../features/sound/asahi.nix ../../features/wifi.nix ../../features/tailscale.nix @@ -24,9 +24,9 @@ useExperimentalGPUDriver = true; experimentalGPUInstallMode = "replace"; - - setupAlsaUcm = true; }; + + networking.wireless.iwd.package = pkgs.stable.iwd; # unstable issue on aarch64: https://github.com/NixOS/nixpkgs/issues/273958 }