CCE

Declarative KDE Configuration with Plasma Manager

Contents

While I have my declarative kwriteconfig5 hacks, we can probably do better, at least by moving toward something that others use.

You do this once and you never really have to do it again, until something breaks and needs to be replaced.

Plasma Manager as a Flake Input

Plasma Manager is pulled in to the Arroyo System Flake Generator as a flake input rather than through the Nix Version Pins file:

nix:tangle ~/nix/snippets/plasma-manager-input.nix:mkdirp yes
plasma-manager = {
  url = "github:nix-community/plasma-manager";
  inputs.nixpkgs.follows = "nixpkgs";
};

Home Manager module

The home-manager module imports the flake input's homeManagerModules.plasma-manager and enables it:

nix:tangle ~/nix/hm/plasma-manager.nix
{ pkgs, inputs, ... }:

{
  imports = [
    inputs.plasma-manager.homeModules.plasma-manager
  ];

  programs.plasma.enable = true;
}

NEXT Draft programs.plasma.powerdevil

NEXT Draft programs.plasma.input.touchpads

INPROGRESS factor out