Skyler Grey | 52d38f1 | 2023-12-11 19:02:41 +0000 | [diff] [blame] | 1 | { pkgs, config, lib, ... }: { |
2 | systemd.user.services."clicks.codes" = { | ||||
3 | Unit.Description = "Run clicks.codes"; | ||||
4 | Install.WantedBy = [ "default.target" ]; | ||||
5 | |||||
6 | Service.ExecStart = "${pkgs.nix}/bin/nix develop --command pnpm start"; | ||||
7 | Service.WorkingDirectory = "${config.home.homeDirectory}/clicks.codes"; | ||||
8 | Service.Environment = "PATH=${pkgs.git}/bin"; | ||||
9 | }; | ||||
10 | } |