mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
chore: merge remote-tracking branch 'refs/remotes/origin/master'
This commit is contained in:
commit
92dc5e914b
5 changed files with 42 additions and 13 deletions
|
|
@ -1,7 +1,9 @@
|
|||
{ ... }: {
|
||||
{ ... }:
|
||||
{
|
||||
imports =
|
||||
[(import ./docker.nix)]
|
||||
++ [(import ./immich.nix)]
|
||||
++ [(import ./nextcloud.nix)]
|
||||
++ [(import ./scrutiny.nix)];
|
||||
[ (import ./docker.nix) ]
|
||||
++ [ (import ./immich.nix) ]
|
||||
++ [ (import ./nextcloud.nix) ]
|
||||
++ [ (import ./home-assistant.nix) ]
|
||||
++ [ (import ./scrutiny.nix) ];
|
||||
}
|
||||
|
|
|
|||
15
modules/services/home-assistant.nix
Normal file
15
modules/services/home-assistant.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
networking.firewall.allowedTCPPorts = [ 8123 ];
|
||||
virtualisation.oci-containers = {
|
||||
backend = "docker";
|
||||
containers.homeassistant = {
|
||||
volumes = [ "home-assistant:/config" ];
|
||||
environment.TZ = "Europe/Amsterdam";
|
||||
image = "ghcr.io/home-assistant/home-assistant:stable"; # Warning: if the tag does not change, the image will not be updated
|
||||
extraOptions = [
|
||||
"--network=host"
|
||||
# "--device=/dev/ttyACM0:/dev/ttyACM0" # Example, change this to match your own hardware
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
{ ... }: {
|
||||
{ ... }:
|
||||
{
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
config.dbtype = "sqlite";
|
||||
configureRedis = true;
|
||||
home = "/home/liv/nextcloud";
|
||||
|
|
|
|||
|
|
@ -1,10 +1,12 @@
|
|||
{ config, ... }: {
|
||||
{ config, ... }:
|
||||
{
|
||||
services.scrutiny = {
|
||||
enable = true;
|
||||
collector.enable = true;
|
||||
settings.web.listen.port = 8181;
|
||||
settings.notify.urls = [
|
||||
"ntfy://${config.liv.variables.ntfyURL}/${config.networking.hostName}"
|
||||
# "ntfy://${config.liv.variables.ntfyURL}/${config.networking.hostName}"
|
||||
"ntfy://notify.liv.town/${config.networking.hostName}"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue