remove matugen remnants — theming is now handled by stylix
Delete 8 unused matugen template files, remove the matugen package, homepage custom.css watcher infrastructure, and the wallpaper shell function. Update remaining comments to reference stylix. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
53c3fedf52
commit
1aebc200b6
13 changed files with 5 additions and 754 deletions
|
|
@ -60,34 +60,11 @@ in
|
|||
{
|
||||
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
|
||||
|
||||
# Writable location for matugen-generated custom.css; bind-mounted into
|
||||
# the homepage service namespace over the Nix-managed /etc path.
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /var/lib/homepage-custom-css 0755 fred users -"
|
||||
"f /var/lib/homepage-custom-css/custom.css 0644 fred users -"
|
||||
"d /var/lib/homepage-updates 0755 fred users -"
|
||||
''f /var/lib/homepage-updates/latest.json 0644 fred users - {\x22date\x22:\x22pending\x22,\x22changes\x22:\x22run update\x22,\x22closure\x22:\x22+0B\x22,\x22kernel\x22:\x22-\x22}''
|
||||
];
|
||||
|
||||
systemd.services.homepage-dashboard.serviceConfig.BindPaths = [
|
||||
"/var/lib/homepage-custom-css/custom.css:/etc/homepage-dashboard/custom.css"
|
||||
];
|
||||
|
||||
# Auto-restart homepage when matugen rewrites the custom.css
|
||||
systemd.paths.homepage-css-reload = {
|
||||
description = "Watch matugen custom.css for changes";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
pathConfig.PathChanged = "/var/lib/homepage-custom-css/custom.css";
|
||||
};
|
||||
|
||||
systemd.services.homepage-css-reload = {
|
||||
description = "Restart homepage after custom.css changes";
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${pkgs.systemd}/bin/systemctl restart homepage-dashboard.service";
|
||||
};
|
||||
};
|
||||
|
||||
# Oneshot service that extracts API keys and writes /etc/homepage-secrets
|
||||
systemd.services.homepage-extract-secrets = {
|
||||
description = "Extract API keys for Homepage dashboard";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue