factorio-headless: 2.0.14 -> 2.0.43

This commit is contained in:
Christoph Hollizeck 2025-04-06 14:48:57 +02:00
parent cadf6fb8e4
commit 0a591f0ab8
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
4 changed files with 37 additions and 7 deletions

26
flake.lock generated
View file

@ -1150,17 +1150,17 @@
}, },
"nixpkgs-latest-factorio": { "nixpkgs-latest-factorio": {
"locked": { "locked": {
"lastModified": 1731242709, "lastModified": 1743943147,
"narHash": "sha256-zGhhtd4U3AxjA5dqzbHhD10q74Ychyu5mNGI7ic+Yng=", "narHash": "sha256-4twtjynlPR8thJfN4Jty8ttMaAMXzuf/az1UCCL8mR4=",
"owner": "Daholli", "owner": "Daholli",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2adc4d1f11c5abcf654ed50c2cbce897c6e78ccc", "rev": "9b2e671195f25c73366bc36863bf64ded6f71194",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "Daholli", "owner": "Daholli",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2adc4d1f11c5abcf654ed50c2cbce897c6e78ccc", "rev": "9b2e671195f25c73366bc36863bf64ded6f71194",
"type": "github" "type": "github"
} }
}, },
@ -1211,6 +1211,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-tuya-vacuum": {
"locked": {
"lastModified": 1743180016,
"narHash": "sha256-REuNO+d3gTjk+03wZEcwCvXZNQGbb0nv44gwoLMTj4Q=",
"owner": "Daholli",
"repo": "nixpkgs",
"rev": "84b34e39e7a0879367189f34401191f6a0364bcf",
"type": "github"
},
"original": {
"owner": "Daholli",
"repo": "nixpkgs",
"rev": "84b34e39e7a0879367189f34401191f6a0364bcf",
"type": "github"
}
},
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1742422364, "lastModified": 1742422364,
@ -1452,6 +1468,7 @@
"nixpkgs": "nixpkgs_6", "nixpkgs": "nixpkgs_6",
"nixpkgs-latest-factorio": "nixpkgs-latest-factorio", "nixpkgs-latest-factorio": "nixpkgs-latest-factorio",
"nixpkgs-master": "nixpkgs-master", "nixpkgs-master": "nixpkgs-master",
"nixpkgs-tuya-vacuum": "nixpkgs-tuya-vacuum",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"raspberry-pi-nix": "raspberry-pi-nix", "raspberry-pi-nix": "raspberry-pi-nix",
"simple-nixos-mailserver": "simple-nixos-mailserver", "simple-nixos-mailserver": "simple-nixos-mailserver",
@ -1898,7 +1915,6 @@
}, },
"original": { "original": {
"owner": "jaidenlabelle", "owner": "jaidenlabelle",
"ref": "v0.1.4",
"repo": "tuya-vacuum-maps", "repo": "tuya-vacuum-maps",
"type": "github" "type": "github"
} }

View file

@ -6,7 +6,8 @@
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-master.url = "github:nixos/nixpkgs/master"; nixpkgs-master.url = "github:nixos/nixpkgs/master";
nixpkgs-latest-factorio.url = "github:Daholli/nixpkgs/2adc4d1f11c5abcf654ed50c2cbce897c6e78ccc"; nixpkgs-latest-factorio.url = "github:Daholli/nixpkgs/9b2e671195f25c73366bc36863bf64ded6f71194";
nixpkgs-tuya-vacuum.url = "github:Daholli/nixpkgs/84b34e39e7a0879367189f34401191f6a0364bcf";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/master"; url = "github:nix-community/home-manager/master";

View file

@ -0,0 +1,5 @@
{ channels, ... }:
final: prev: {
tuya-vacuum = channels.nixpkgs-tuya-vacuum.python3Packages.tuya-vacuum;
}

View file

@ -1,4 +1,5 @@
{ {
config,
inputs, inputs,
lib, lib,
namespace, namespace,
@ -116,8 +117,9 @@ in
}; };
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"C /var/lib/hass/custom_components/tuya-vaccum-maps - - - - ${inputs.tuya-vaccum-maps}/custom_components/tuya-vaccum-maps" "C+ /var/lib/hass/custom_components/tuya_vacuum_maps - - - - ${inputs.tuya-vaccum-maps}/custom_components/tuya_vacuum_maps"
"Z /var/lib/hass/custom_components 770 hass hass - -" "Z /var/lib/hass/custom_components 770 hass hass - -"
"f ${config.services.home-assistant.configDir}/automations.yaml 0755 hass hass"
]; ];
services.home-assistant = { services.home-assistant = {
@ -135,6 +137,12 @@ in
smartthinq-sensors smartthinq-sensors
sleep_as_android sleep_as_android
]; ];
extraPackages =
python3Packages: with python3Packages; [
tuya-vacuum
];
customLovelaceModules = with pkgs.home-assistant-custom-lovelace-modules; [ customLovelaceModules = with pkgs.home-assistant-custom-lovelace-modules; [
mushroom mushroom
]; ];