Modules/Packages: Disable currently broken packages (nps, font-manager)

This commit is contained in:
2026-08-31 20:31:37 +02:00
parent 8e118c5a3f
commit f493275ea0
3 changed files with 32 additions and 27 deletions
+24 -23
View File
@@ -418,29 +418,30 @@ with mylib.networking; {
systemd = {
# TODO: Technically this should be a user service if it runs as ${username}?
timers."refresh-nps-cache" = {
wantedBy = ["timers.target"];
timerConfig = {
OnCalendar = "weekly"; # or however often you'd like
Persistent = true;
Unit = "refresh-nps-cache.service";
};
};
services."refresh-nps-cache" = {
# Make sure `nix` and `nix-env` are findable by systemd.services.
path = ["/run/current-system/sw/"];
after = ["network.target"];
serviceConfig = {
Type = "oneshot";
User = "${username}";
};
script = ''
set -eu
echo "Start refreshing nps cache..."
${inputs.nps.packages.${pkgs.stdenv.hostPlatform.system}.default}/bin/nps -dddd -e -r
echo "... finished nps cache with exit code $?."
'';
};
# timers."refresh-nps-cache" = {
# wantedBy = ["timers.target"];
# timerConfig = {
# OnCalendar = "weekly"; # or however often you'd like
# Persistent = true;
# Unit = "refresh-nps-cache.service";
# };
# };
# services."refresh-nps-cache" = {
# # Make sure `nix` and `nix-env` are findable by systemd.services.
# path = ["/run/current-system/sw/"];
# after = ["network.target"];
# serviceConfig = {
# Type = "oneshot";
# User = "${username}";
# };
# script = ''
# set -eu
# echo "Start refreshing nps cache..."
# ${inputs.nps.packages.${pkgs.stdenv.hostPlatform.system}.default}/bin/nps -dddd -e -r
# echo "... finished nps cache with exit code $?."
# '';
# };
};
}