fedora-csb-system-manager
 1{ pkgs, config, ... }:
 2{
 3  imports = [
 4    ../../home/common/dev/default.nix
 5    ../../home/common/dev/emacs.nix
 6    ../../home/common/dev/containers.nix
 7    ../../home/common/dev/tektoncd.nix
 8    ../../home/common/desktop/passage.nix
 9    ../../home/common/shell/gh.nix
10  ];
11  systemd.user.services.syncthing.Install.WantedBy = [ "multi-user.target" ];
12
13  home.packages = with pkgs; [
14    gnumake
15
16    go-org-readwise
17    gh-pr
18    claude-hooks
19
20    lazygit
21  ];
22
23  # Passage update service and timer
24  systemd.user.services.passage-update = {
25    Unit = {
26      Description = "Update passage password store";
27    };
28    Service = {
29      Type = "oneshot";
30      ExecStart = "${pkgs.passage}/bin/passage git pull --rebase";
31      WorkingDirectory = config.home.sessionVariables.PASSAGE_DIR;
32    };
33  };
34
35  systemd.user.timers.passage-update = {
36    Unit = {
37      Description = "Daily passage password store update";
38    };
39    Timer = {
40      OnCalendar = "daily";
41      Persistent = true;
42      RandomizedDelaySec = "1h";
43    };
44    Install = {
45      WantedBy = [ "timers.target" ];
46    };
47  };
48}