261 current 2025-10-11 02:26:00 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# flake for blakes nixos config
|
# flake for blakes nixos config
|
||||||
# define new devices in outputs
|
# define new devices in outputs
|
||||||
# generation: 260 current 2025-10-11 02:24:48 25.05.20251006.20c4598 6.12.50 *
|
# generation: 261 current 2025-10-11 02:26:00 25.05.20251006.20c4598 6.12.50 *
|
||||||
{
|
{
|
||||||
description = "blakes nix config";
|
description = "blakes nix config";
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ in
|
|||||||
backups.enable = true;
|
backups.enable = true;
|
||||||
backups.repo = "/holocron/backups";
|
backups.repo = "/holocron/backups";
|
||||||
sops.enable = true;
|
sops.enable = true;
|
||||||
docker.enable = false;
|
podman.enable = false;
|
||||||
syncthing.enable = true;
|
syncthing.enable = true;
|
||||||
tailscale.enable = true;
|
tailscale.enable = true;
|
||||||
nvidia.enable = true;
|
nvidia.enable = true;
|
||||||
|
|||||||
@@ -55,29 +55,24 @@ in
|
|||||||
extraGroups = [];
|
extraGroups = [];
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation = {
|
virtualisation.oci-containers.containers = {
|
||||||
podman.enable = true;
|
homeassistant = {
|
||||||
oci-containers = {
|
image = "homeassistant/home-assistant:stable";
|
||||||
containers = {
|
autoStart = true;
|
||||||
homeassistant = {
|
extraOptions = [
|
||||||
image = "homeassistant/home-assistant:stable";
|
"--pull=newer"
|
||||||
autoStart = true;
|
];
|
||||||
extraOptions = [
|
volumes = [
|
||||||
"--pull=newer"
|
"${cfg.data_dir}:/config"
|
||||||
];
|
];
|
||||||
volumes = [
|
ports = [
|
||||||
"${cfg.data_dir}:/config"
|
"127.0.0.1:7704:8123"
|
||||||
];
|
"127.0.0.1:8124:80"
|
||||||
ports = [
|
];
|
||||||
"127.0.0.1:7704:8123"
|
environment = {
|
||||||
"127.0.0.1:8124:80"
|
TZ = homelab.tz;
|
||||||
];
|
PUID = toString config.users.users.${service}.uid;
|
||||||
environment = {
|
PGID = toString config.users.groups.${service}.gid;
|
||||||
TZ = homelab.tz;
|
|
||||||
PUID = toString config.users.users.${service}.uid;
|
|
||||||
PGID = toString config.users.groups.${service}.gid;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user