mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 17:36:07 +08:00
darwin: add emanote service
This commit is contained in:
parent
feb52b9a65
commit
0282c3601b
3 changed files with 185 additions and 16 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, inputs, system, rosettaPkgs, ... }:
|
||||
{ config, pkgs, lib, inputs, system, rosettaPkgs, ... }:
|
||||
|
||||
{
|
||||
# List packages installed in system profile. To search by name, run:
|
||||
|
|
@ -55,9 +55,22 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
|
||||
nixpkgs.config.allowBroken = true;
|
||||
|
||||
# TODO: Upstream to emanote
|
||||
# launchctl start org.nixos.emanote
|
||||
launchd.user.agents.emanote = {
|
||||
serviceConfig.ProgramArguments = [
|
||||
(lib.getExe inputs.emanote.packages.${system}.default)
|
||||
"-L"
|
||||
"/Users/srid/Keybase/Notes"
|
||||
"run"
|
||||
"-p"
|
||||
"7000"
|
||||
];
|
||||
serviceConfig.RunAtLoad = true;
|
||||
};
|
||||
|
||||
security.pam.enableSudoTouchIdAuth = true;
|
||||
|
||||
# For home-manager to work.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue