forked from mirrors_public/oddlama_nix-config
chore: update flake, disable unifi by default
This commit is contained in:
parent
5d78bf6578
commit
1302f23133
11 changed files with 215 additions and 212 deletions
15
hosts/kroma/unifi.nix
Normal file
15
hosts/kroma/unifi.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
environment.persistence."/persist".directories = [
|
||||
{
|
||||
directory = "/var/lib/unifi";
|
||||
mode = "0700";
|
||||
user = "unifi";
|
||||
group = "unifi";
|
||||
}
|
||||
];
|
||||
|
||||
services.unifi.enable = true;
|
||||
# Don't autostart.
|
||||
systemd.services.unifi.wantedBy = lib.mkForce [ ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue