mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49:32 -08:00
added domoticz
This commit is contained in:
parent
58de70bf9e
commit
a6588447a3
3 changed files with 17 additions and 20 deletions
21
flake.lock
21
flake.lock
|
@ -17,7 +17,6 @@
|
||||||
"rev": "2ce1a06f9519c7d9ab7f17b036794eff1569925b",
|
"rev": "2ce1a06f9519c7d9ab7f17b036794eff1569925b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
|
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "atuinsh",
|
"owner": "atuinsh",
|
||||||
"repo": "atuin",
|
"repo": "atuin",
|
||||||
|
@ -225,24 +224,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-utils_5": {
|
|
||||||
"inputs": {
|
|
||||||
"systems": "systems_5"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1710146030,
|
|
||||||
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"git-hooks": {
|
"git-hooks": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": [
|
"flake-compat": [
|
||||||
|
@ -613,7 +594,7 @@
|
||||||
},
|
},
|
||||||
"nuschtosSearch": {
|
"nuschtosSearch": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils_5",
|
"flake-utils": "flake-utils_4",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixvim",
|
"nixvim",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./modules/dnsmasq.nix
|
./modules/dnsmasq.nix
|
||||||
|
./modules/domoticz.nix
|
||||||
./modules/firewall.nix
|
./modules/firewall.nix
|
||||||
./modules/forgejo.nix
|
./modules/forgejo.nix
|
||||||
./modules/headscale.nix
|
./modules/headscale.nix
|
||||||
|
|
15
hosts/Alaska/modules/domoticz.nix
Normal file
15
hosts/Alaska/modules/domoticz.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.domoticz = {
|
||||||
|
enable = true;
|
||||||
|
port = 8981;
|
||||||
|
bind = "0.0.0.0";
|
||||||
|
};
|
||||||
|
|
||||||
|
networking.firewall = {
|
||||||
|
allowedTCPPorts = [8981];
|
||||||
|
allowedUDPPorts = [8981];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue