mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-28 02:37:09 +00:00
replace NIX_PATH references with regular paths
This commit is contained in:
parent
1b71f9f21c
commit
78434e602d
1 changed files with 11 additions and 11 deletions
|
@ -66,18 +66,18 @@
|
|||
services.chunkwm.enable = true;
|
||||
services.skhd.enable = true;
|
||||
|
||||
security.sandbox.profiles.fetch-nixpkgs-updates.closure = [ pkgs.cacert pkgs.git ];
|
||||
security.sandbox.profiles.fetch-nixpkgs-updates.writablePaths = [ (toString <nixpkgs-trunk>) ];
|
||||
security.sandbox.profiles.fetch-nixpkgs-updates.allowNetworking = true;
|
||||
# security.sandbox.profiles.fetch-nixpkgs-updates.closure = [ pkgs.cacert pkgs.git ];
|
||||
# security.sandbox.profiles.fetch-nixpkgs-updates.allowNetworking = true;
|
||||
# security.sandbox.profiles.fetch-nixpkgs-updates.writablePaths = [ (toString ~/Code/nixos/nixpkgs) ];
|
||||
|
||||
launchd.user.agents.fetch-nixpkgs-updates = {
|
||||
command = "/usr/bin/sandbox-exec -f ${config.security.sandbox.profiles.fetch-nixpkgs-updates.profile} ${pkgs.git}/bin/git -C ${toString <nixpkgs-trunk>} fetch origin master";
|
||||
environment.HOME = "";
|
||||
environment.NIX_SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||
serviceConfig.KeepAlive = false;
|
||||
serviceConfig.ProcessType = "Background";
|
||||
serviceConfig.StartInterval = 360;
|
||||
};
|
||||
# launchd.user.agents.fetch-nixpkgs-updates = {
|
||||
# command = "/usr/bin/sandbox-exec -f ${config.security.sandbox.profiles.fetch-nixpkgs-updates.profile} ${pkgs.git}/bin/git -C ${toString ~/Code/nixos/nixpkgs} fetch origin master";
|
||||
# environment.HOME = "";
|
||||
# environment.NIX_SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||
# serviceConfig.KeepAlive = false;
|
||||
# serviceConfig.ProcessType = "Background";
|
||||
# serviceConfig.StartInterval = 360;
|
||||
# };
|
||||
|
||||
launchd.user.agents.letty = {
|
||||
serviceConfig.Program = "${pkgs.lnl.letty}/bin/letty-blink";
|
||||
|
|
Loading…
Add table
Reference in a new issue