1
0
Fork 0

Fix kassandra paths

This commit is contained in:
Malte Brandy 2020-05-16 13:45:25 +02:00
parent 1e8e419431
commit 7ab44e01bb
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
2 changed files with 15 additions and 3 deletions

12
home/kassandra-server.nix Normal file
View file

@ -0,0 +1,12 @@
{ pkgs, ... }: {
systemd.user.services.kassandra = {
Unit = { Description = "Kassandra Server"; };
Service = {
WorkingDirectory = "/var/www/kassandra";
ExecStart = "/var/www/kassandra/backend -b '::1' ";
Restart = "always";
Environment = "PATH=${pkgs.coreutils}/bin/:${pkgs.taskwarrior}/bin";
};
Install = { WantedBy = [ "default.target" ]; };
};
}

View file

@ -107,9 +107,9 @@ in {
hera = {
default = makeConfig "hera" [
./on-my-machine.nix
./hosts/hera/weechat
./hosts/hera/secret
./kassandra.nix
../hosts/hera/weechat
../hosts/hera/secret
./kassandra-server.nix
./headless-mpd.nix
./mail.nix
];