Skip to content

Commit

Permalink
nixos: drop harmonia package from systemPackages
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed May 7, 2023
1 parent eacd300 commit b194fd1
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ let

format = pkgs.formats.toml { };
configFile = format.generate "harmonia.toml" cfg.settings;

harmonia = import ./. { inherit pkgs; };
in
{
options = {
Expand Down Expand Up @@ -36,8 +34,6 @@ in
priority = 50;
};

environment.systemPackages = [ harmonia ];

systemd.services.harmonia = {
description = "harmonia binary cache service";

Expand All @@ -60,13 +56,13 @@ in
environment.HOME = "/run/harmonia";

serviceConfig = {
ExecStart = "${harmonia}/bin/harmonia";
ExecStart = "${import ./. { inherit pkgs; }}/bin/harmonia";

User = "harmonia";
Group = "harmonia";
DynamicUser = true;
PrivateUsers = true;
DeviceAllow = [""];
DeviceAllow = [ "" ];
UMask = "0066";

RuntimeDirectory = "harmonia";
Expand Down

0 comments on commit b194fd1

Please sign in to comment.