Compare commits

..

No commits in common. "0ab8805aa5ce1b4a43644a83b8e86babb0a2ac74" and "797f8d032dcaa429d2856cddbe0213df6473581b" have entirely different histories.

5 changed files with 6 additions and 27 deletions

View file

@ -181,11 +181,7 @@
"hass-ssh-key".owner = "hass";
# "matrix-registration-shared-secret".owner = "matrix-synapse";
# "matrix-sliding-sync-secret".owner = "matrix-synapse";
"autistici-password" = {
# FIXME terrible, should create a third ad-hoc group
owner = "grafana";
group = "forgejo";
};
"autistici-password".owner = "forgejo";
"garmin-collector-environment".owner = "garmin-collector";
};
};

View file

@ -120,7 +120,7 @@
boot.tmp.cleanOnBoot = true;
fileSystems."/mnt/hd" = {
device = "/dev/disk/by-id/ata-WDC_WD5000AAKX-08U6AA0_WD-WCC2E5TR40FU-part1";
device = "/dev/disk/by-id/ata-WDC_WD10EADS-22M2B0_WD-WCAV52709550-part1";
fsType = "ext4";
options = ["nofail"];
};

View file

@ -14,13 +14,6 @@ in {
admin_user = "andrea";
admin_password = "$__file{${config.age.secrets.grafana-password.path}}";
};
smtp = {
enabled = true;
host = "smtp.autistici.org:587";
user = "andrea.ciceri@autistici.org";
from_address = "andrea.ciceri@autistici.org";
password = "$__file{${config.age.secrets.autistici-password.path}}";
};
};
};
environment.persistence."/persist".directories = [

View file

@ -12,8 +12,8 @@
pun_sensor = pkgs.fetchFromGitHub {
owner = "virtualdj";
repo = "pun_sensor";
rev = "51b216fab5c0d454d66060647c36e81bebfaf059";
hash = "sha256-bGVJx3bObXdf4AiC6bDvafs53NGS2aufRcTUmXy8nAI=";
rev = "19f270b353594ab536f9dc42adf31427e7a81562";
hash = "sha256-3pL+8CXzjmR54Ff9qLhHzC/C+uns0qWEgJFHv+K4MFs=";
};
cozy_life = pkgs.fetchFromGitHub {
owner = "yangqian";
@ -21,12 +21,6 @@
rev = "9a40a2fa09b0f74aee0b278e2858f5600b3487a9";
hash = "sha256-i+82EUamV1Fhwhb1vhRqn9aA9dJ0FxSSMD734domyhw=";
};
garmin_connect = pkgs.fetchFromGitHub {
owner = "cyberjunky";
repo = "home-assistant-garmin_connect";
rev = "d42edcabc67ba6a7f960e849c8aaec1aabef87c0";
hash = "sha256-KqbP6TpH9B0/AjtsW5TcWSNgUhND+w8rO6X8fHqtsDI=";
};
tuya-device-sharing-sdk = ps:
ps.callPackage (
{
@ -108,9 +102,6 @@ in {
holidays
beautifulsoup4
(tuya-device-sharing-sdk python3Packages) # remove after https://github.com/NixOS/nixpkgs/pull/294706/
getmac
garminconnect
tzlocal
];
config = {
default_config = {};
@ -175,8 +166,7 @@ in {
systemd.tmpfiles.rules = [
"d ${config.services.home-assistant.configDir}/custom_components 770 hass hass"
"C+ ${config.services.home-assistant.configDir}/custom_components/pun_sensor 770 hass hass - ${pun_sensor}/custom_components/pun_sensor"
"C+ ${config.services.home-assistant.configDir}/custom_components/garmin_connect 770 hass hass - ${garmin_connect}/custom_components/garmin_connect"
"L+ ${config.services.home-assistant.configDir}/custom_components/pun_sensor - - - - ${pun_sensor}/custom_components/pun_sensor"
"d ${config.services.home-assistant.configDir}/.ssh 770 hass hass"
"C ${config.services.home-assistant.configDir}/.ssh/id_ed25519 700 hass hass - ${config.age.secrets.hass-ssh-key.path}"

View file

@ -49,7 +49,7 @@ in {
nginx = mkFor ["sisko"] {
enable = true;
};
smartctl = mkFor ["sisko" "picard"] {
smartctl = mkFor ["sisko"] {
enable = true;
};
};