mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
fix shit
This commit is contained in:
parent
2423780bc2
commit
b829043438
1 changed files with 2 additions and 5 deletions
|
|
@ -47,11 +47,6 @@ in
|
|||
cln = "lightning-cli";
|
||||
};
|
||||
|
||||
# Symlink for CLI access - allows `lightning-cli` without --lightning-dir
|
||||
systemd.tmpfiles.rules = mkAfter [
|
||||
"L+ /home/${config.user.name}/.lightning - - - - ${home}"
|
||||
];
|
||||
|
||||
systemd.services.lightningd = {
|
||||
description = "Core Lightning Daemon";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
|
@ -82,6 +77,8 @@ in
|
|||
systemd.tmpfiles.rules = [
|
||||
"d ${home} 0750 clightning bitcoin -"
|
||||
"d ${home}/plugins 0750 clightning bitcoin -"
|
||||
] ++ mkAfter [
|
||||
"L+ /home/${config.user.name}/.lightning - - - - ${home}"
|
||||
];
|
||||
|
||||
modules.system.backup.paths = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue