mirror of
https://codeberg.org/viperML/kconfig-declarative.git
synced 2026-12-06 10:24:27 +00:00
Declarative KDE configuration tool
- C++ 71.8%
- CMake 17.6%
- Nix 10.6%
| .vscode | ||
| src | ||
| .clang-format | ||
| .envrc | ||
| .gitignore | ||
| CMakeLists.txt | ||
| default.nix | ||
| LICENSE | ||
| manifest.json | ||
| README.md | ||
| shell.nix | ||
kconfig-declarative
Configure KDE Plasma declaratively! Usage:
$ tee manifest.json << EOF
{
"files": {
"kwinrc": {
"Desktops": {
"Number": 4
}
},
"baloofilerc": {
"Basic Settings": {
"Indexing-Enabled": false
}
}
}
}
EOF
$ kconfig-declarative apply ./manifest.json
This program is part of nix-maid, which provides an easy user interface for kconfig-declarative:
{ config, pkgs, ...}: {
users.users.nixos = {
isNormalUser = true;
maid = {
kconfig.settings = {
kwinrc = {
Desktops.Number = 4;
};
baloofilerc = {
"Basic Settings".Indexing-Enabled = false;
};
};
};
};
}
Why?
plasma-manager already exists, but:
- The implementation is bad. They parse and encode the KDE config files as text, instead of using the C++ API.
- It is coupled to home-manager, which I don't use.