changes
This commit is contained in:
@@ -80,6 +80,14 @@
|
|||||||
options = "--delete-older-than 60d";
|
options = "--delete-older-than 60d";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.auto-cpufreq.enable = true;
|
||||||
|
services.auto-cpufreq.settings = {
|
||||||
|
charger = {
|
||||||
|
governor = "powersave";
|
||||||
|
turbo = "auto";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
boot.tmp.cleanOnBoot = true;
|
boot.tmp.cleanOnBoot = true;
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
networking.hostName = "fw";
|
networking.hostName = "fw";
|
||||||
|
|||||||
@@ -115,6 +115,11 @@
|
|||||||
name = "domain-name-servers";
|
name = "domain-name-servers";
|
||||||
data = "10.42.101.1";
|
data = "10.42.101.1";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "capwap-ac-v4";
|
||||||
|
code = 138;
|
||||||
|
data = "10.42.97.2";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
reservations = [
|
reservations = [
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -88,7 +88,7 @@
|
|||||||
# TODO: disable wan when finished
|
# TODO: disable wan when finished
|
||||||
iifname { "lan", "server", "vserver", "wg_cloonar" } oifname { "lan", "vb-*", "server", "vserver", "infrastructure", "multimedia", "smart", "wg_cloonar" } counter accept
|
iifname { "lan", "server", "vserver", "wg_cloonar" } oifname { "lan", "vb-*", "server", "vserver", "infrastructure", "multimedia", "smart", "wg_cloonar" } counter accept
|
||||||
iifname { "lan", "server", "wg_cloonar" } oifname { "wrwks", "wg_epicenter", "wg_ghetto_at" } counter accept
|
iifname { "lan", "server", "wg_cloonar" } oifname { "wrwks", "wg_epicenter", "wg_ghetto_at" } counter accept
|
||||||
iifname { "infrastructure" } oifname { "server", "vserver" } counter accept
|
iifname { "infrastructure" } oifname { "server", "vserver" } log prefix "Infrastructure connection: " accept
|
||||||
iifname { "lan", "wan" } udp dport { 8211, 27015 } counter accept comment "palworld"
|
iifname { "lan", "wan" } udp dport { 8211, 27015 } counter accept comment "palworld"
|
||||||
|
|
||||||
# accept palword server
|
# accept palword server
|
||||||
|
|||||||
@@ -128,6 +128,7 @@ in
|
|||||||
"androidtv"
|
"androidtv"
|
||||||
"rainbird"
|
"rainbird"
|
||||||
"zha"
|
"zha"
|
||||||
|
"tplink_omada"
|
||||||
];
|
];
|
||||||
|
|
||||||
services.home-assistant.config =
|
services.home-assistant.config =
|
||||||
|
|||||||
@@ -7,6 +7,13 @@
|
|||||||
name = "enocean_switch_pc";
|
name = "enocean_switch_pc";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
logger.logs."homeassistant.components.enocean" = "debug";
|
sensor = [
|
||||||
|
{
|
||||||
|
name = "Bathroom HT";
|
||||||
|
platform = "enocean";
|
||||||
|
id = [ 5 41 146 251 ];
|
||||||
|
device_class = "temperature";
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -71,13 +71,16 @@
|
|||||||
{
|
{
|
||||||
conditions = [ "{{ state_attr('sun.sun', 'elevation') < 5 and trigger.entity_id == 'light.toilett_lights' }}" ];
|
conditions = [ "{{ state_attr('sun.sun', 'elevation') < 5 and trigger.entity_id == 'light.toilett_lights' }}" ];
|
||||||
sequence = [
|
sequence = [
|
||||||
|
{
|
||||||
|
delay = 10;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
service = "light.turn_on";
|
service = "light.turn_on";
|
||||||
target = {
|
target = {
|
||||||
entity_id = "{{ trigger.entity_id }}";
|
entity_id = "{{ trigger.entity_id }}";
|
||||||
};
|
};
|
||||||
data = {
|
data = {
|
||||||
brightness_pct = 30;
|
brightness_pct = 10;
|
||||||
color_temp = 450;
|
color_temp = 450;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -86,6 +89,9 @@
|
|||||||
{
|
{
|
||||||
conditions = [ "{{ state_attr('sun.sun', 'elevation') < 5 and trigger.entity_id == 'light.hallway_lights' }}" ];
|
conditions = [ "{{ state_attr('sun.sun', 'elevation') < 5 and trigger.entity_id == 'light.hallway_lights' }}" ];
|
||||||
sequence = [
|
sequence = [
|
||||||
|
{
|
||||||
|
delay = 10;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
service = "light.turn_on";
|
service = "light.turn_on";
|
||||||
target = {
|
target = {
|
||||||
@@ -101,6 +107,9 @@
|
|||||||
{
|
{
|
||||||
conditions = [ "{{ state_attr('sun.sun', 'elevation') < 5 and trigger.entity_id == 'light.bathroom_lights' }}" ];
|
conditions = [ "{{ state_attr('sun.sun', 'elevation') < 5 and trigger.entity_id == 'light.bathroom_lights' }}" ];
|
||||||
sequence = [
|
sequence = [
|
||||||
|
{
|
||||||
|
delay = 10;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
service = "light.turn_on";
|
service = "light.turn_on";
|
||||||
target = {
|
target = {
|
||||||
@@ -116,6 +125,9 @@
|
|||||||
{
|
{
|
||||||
conditions = [ "{{ state_attr('sun.sun', 'elevation') < 5 and trigger.entity_id == 'light.livingroom_lights' }}" ];
|
conditions = [ "{{ state_attr('sun.sun', 'elevation') < 5 and trigger.entity_id == 'light.livingroom_lights' }}" ];
|
||||||
sequence = [
|
sequence = [
|
||||||
|
{
|
||||||
|
delay = 10;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
service = "light.turn_on";
|
service = "light.turn_on";
|
||||||
target = {
|
target = {
|
||||||
@@ -131,6 +143,9 @@
|
|||||||
{
|
{
|
||||||
conditions = [ "{{ state_attr('sun.sun', 'elevation') < 5 and trigger.entity_id == 'light.bedroom_lights' }}" ];
|
conditions = [ "{{ state_attr('sun.sun', 'elevation') < 5 and trigger.entity_id == 'light.bedroom_lights' }}" ];
|
||||||
sequence = [
|
sequence = [
|
||||||
|
{
|
||||||
|
delay = 10;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
service = "light.turn_on";
|
service = "light.turn_on";
|
||||||
target = {
|
target = {
|
||||||
@@ -146,6 +161,9 @@
|
|||||||
{
|
{
|
||||||
conditions = [ "{{ state_attr('sun.sun', 'elevation') < 5 and trigger.entity_id == 'light.kitchen_lights' }}" ];
|
conditions = [ "{{ state_attr('sun.sun', 'elevation') < 5 and trigger.entity_id == 'light.kitchen_lights' }}" ];
|
||||||
sequence = [
|
sequence = [
|
||||||
|
{
|
||||||
|
delay = 10;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
service = "light.turn_on";
|
service = "light.turn_on";
|
||||||
target = {
|
target = {
|
||||||
@@ -161,6 +179,9 @@
|
|||||||
{
|
{
|
||||||
conditions = [ "{{ state_attr('sun.sun', 'elevation') > 4 }}" ];
|
conditions = [ "{{ state_attr('sun.sun', 'elevation') > 4 }}" ];
|
||||||
sequence = [
|
sequence = [
|
||||||
|
{
|
||||||
|
delay = 10;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
service = "light.turn_on";
|
service = "light.turn_on";
|
||||||
target = {
|
target = {
|
||||||
|
|||||||
@@ -7,12 +7,23 @@
|
|||||||
platform = "time";
|
platform = "time";
|
||||||
at = "input_datetime.wakeup";
|
at = "input_datetime.wakeup";
|
||||||
};
|
};
|
||||||
action = {
|
action = [
|
||||||
service_template = "switch.turn_on";
|
{
|
||||||
data_template = {
|
service = "switch.turn_on";
|
||||||
entity_id = "switch.coffee";
|
entity_id = "switch.coffee";
|
||||||
};
|
}
|
||||||
};
|
{
|
||||||
|
delay = 1700;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
service = "switch.turn_on";
|
||||||
|
entity_id = "switch.78_8c_b5_fe_41_62_port_2_poe"; # livingroom
|
||||||
|
}
|
||||||
|
{
|
||||||
|
service = "switch.turn_on";
|
||||||
|
entity_id = "switch.78_8c_b5_fe_41_62_port_3_poe"; # garden
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
"automation sleep" = {
|
"automation sleep" = {
|
||||||
alias = "sleep";
|
alias = "sleep";
|
||||||
@@ -43,14 +54,18 @@
|
|||||||
service = "light.turn_off";
|
service = "light.turn_off";
|
||||||
entity_id = "all";
|
entity_id = "all";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
service = "light.turn_on";
|
|
||||||
entity_id = "light.bedroom_bed";
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
service = "switch.turn_off";
|
service = "switch.turn_off";
|
||||||
entity_id = "switch.coffee";
|
entity_id = "switch.coffee";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
service = "switch.turn_off";
|
||||||
|
entity_id = "switch.78_8c_b5_fe_41_62_port_2_poe";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
service = "switch.turn_off";
|
||||||
|
entity_id = "switch.78_8c_b5_fe_41_62_port_3_poe";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
oci-containers.containers = {
|
oci-containers.containers = {
|
||||||
omada = {
|
omada = {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
image = "mbentley/omada-controller:5.9";
|
image = "mbentley/omada-controller:5.14.26.1";
|
||||||
volumes = [
|
volumes = [
|
||||||
"/var/lib/omada/data:/opt/tplink/EAPController/data"
|
"/var/lib/omada/data:/opt/tplink/EAPController/data"
|
||||||
"/var/lib/omada/logs:/opt/tplink/EAPController/logs"
|
"/var/lib/omada/logs:/opt/tplink/EAPController/logs"
|
||||||
|
|||||||
@@ -97,6 +97,10 @@ let
|
|||||||
"\"shellyrgbw2-bedroom-1.cloonar.smart IN A 10.42.100.36\""
|
"\"shellyrgbw2-bedroom-1.cloonar.smart IN A 10.42.100.36\""
|
||||||
"\"shellyrgbw2-bedroom-2.cloonar.smart IN A 10.42.100.37\""
|
"\"shellyrgbw2-bedroom-2.cloonar.smart IN A 10.42.100.37\""
|
||||||
"\"shellyrgbw2-bedroom-3.cloonar.smart IN A 10.42.100.38\""
|
"\"shellyrgbw2-bedroom-3.cloonar.smart IN A 10.42.100.38\""
|
||||||
|
"\"shellycolorbulb-bedroom-1.cloonar.smart IN A 10.42.100.39\""
|
||||||
|
"\"shellycolorbulb-bedroom-2.cloonar.smart IN A 10.42.100.40\""
|
||||||
|
"\"shellycolorbulb-bedroom-3.cloonar.smart IN A 10.42.100.41\""
|
||||||
|
"\"shellycolorbulb-bedroom-4.cloonar.smart IN A 10.42.100.42\""
|
||||||
# bath
|
# bath
|
||||||
"\"shellyswitch25-bath-1.cloonar.smart IN A 10.42.100.49\""
|
"\"shellyswitch25-bath-1.cloonar.smart IN A 10.42.100.49\""
|
||||||
"\"shellybulbduo-bath-1.cloonar.smart IN A 10.42.100.50\""
|
"\"shellybulbduo-bath-1.cloonar.smart IN A 10.42.100.50\""
|
||||||
@@ -142,6 +146,13 @@ let
|
|||||||
# ssl-upstream = "yes";
|
# ssl-upstream = "yes";
|
||||||
};
|
};
|
||||||
forward-zone = [
|
forward-zone = [
|
||||||
|
{
|
||||||
|
name = "local.ghetto.at.";
|
||||||
|
forward-tls-upstream = "no";
|
||||||
|
forward-addr = [
|
||||||
|
"10.43.97.1"
|
||||||
|
];
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name = "ghetto.at.local.";
|
name = "ghetto.at.local.";
|
||||||
forward-tls-upstream = "no";
|
forward-tls-upstream = "no";
|
||||||
@@ -181,14 +192,9 @@ let
|
|||||||
name = ".";
|
name = ".";
|
||||||
forward-tls-upstream = "yes";
|
forward-tls-upstream = "yes";
|
||||||
forward-first = "no";
|
forward-first = "no";
|
||||||
# forward-addr = "104.16.248.249@853#cloudflare-dns.com";
|
|
||||||
forward-addr = [
|
forward-addr = [
|
||||||
"9.9.9.9@853#dns9.quad9.net"
|
"9.9.9.9@853#dns9.quad9.net"
|
||||||
"149.112.112.11@853#dns11.quad9.net"
|
"149.112.112.11@853#dns11.quad9.net"
|
||||||
# "9.9.9.9@853"
|
|
||||||
# "149.112.112.11@853"
|
|
||||||
# "9.9.9.9"
|
|
||||||
# "149.112.112.11"
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ in {
|
|||||||
# unstable.cura
|
# unstable.cura
|
||||||
freecad
|
freecad
|
||||||
openscad
|
openscad
|
||||||
|
orca-slicer
|
||||||
|
|
||||||
(unstable.where-is-my-sddm-theme.override {
|
(unstable.where-is-my-sddm-theme.override {
|
||||||
themeConfig.General = {
|
themeConfig.General = {
|
||||||
|
|||||||
@@ -146,7 +146,7 @@
|
|||||||
"disk": {
|
"disk": {
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"format": " {percentage_used:2}%",
|
"format": " {percentage_used:2}%",
|
||||||
"path": "/home/"
|
"path": "/nix/"
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
"icon-size": 20
|
"icon-size": 20
|
||||||
|
|||||||
@@ -10,9 +10,7 @@
|
|||||||
/home/dominik/projects/cloonar/amz/amz-api
|
/home/dominik/projects/cloonar/amz/amz-api
|
||||||
/home/dominik/projects/cloonar/amz/amz-frontend
|
/home/dominik/projects/cloonar/amz/amz-frontend
|
||||||
/home/dominik/projects/myhidden.life/myhidden.life-web
|
/home/dominik/projects/myhidden.life/myhidden.life-web
|
||||||
/home/dominik/projects/socialgrow.tech/sgt-user-management
|
/home/dominik/projects/socialgrow.tech/sgt-api
|
||||||
/home/dominik/projects/socialgrow.tech/sgt-payment-gateway
|
|
||||||
/home/dominik/projects/socialgrow.tech/sgt-reddit-account-shop
|
|
||||||
/home/dominik/projects/epicenter.works/campaigntool
|
/home/dominik/projects/epicenter.works/campaigntool
|
||||||
/home/dominik/projects/epicenter.works/epicenter.works
|
/home/dominik/projects/epicenter.works/epicenter.works
|
||||||
/home/dominik/projects/epicenter.works/epicenter-nixos
|
/home/dominik/projects/epicenter.works/epicenter-nixos
|
||||||
|
|||||||
@@ -347,9 +347,7 @@ in
|
|||||||
git clone gitea@git.cloonar.com:Cloonar/amz-frontend.git /nix/persist/user/dominik/projects/cloonar/amz/amz-frontend 2>/dev/null
|
git clone gitea@git.cloonar.com:Cloonar/amz-frontend.git /nix/persist/user/dominik/projects/cloonar/amz/amz-frontend 2>/dev/null
|
||||||
git clone gitea@git.cloonar.com:myhidden.life/web.git /nix/persist/user/dominik/projects/myhidden.life/myhidden.life-web 2>/dev/null
|
git clone gitea@git.cloonar.com:myhidden.life/web.git /nix/persist/user/dominik/projects/myhidden.life/myhidden.life-web 2>/dev/null
|
||||||
|
|
||||||
git clone gitea@git.cloonar.com:socialgrow.tech/user-management.git /nix/persist/user/dominik/projects/socialgrow.tech/sgt-user-management 2>/dev/null
|
git clone gitea@git.cloonar.com:socialgrow.tech/sgt-api.git /nix/persist/user/dominik/projects/socialgrow.tech/sgt-api 2>/dev/null
|
||||||
git clone gitea@git.cloonar.com:socialgrow.tech/payment-gateway.git /nix/persist/user/dominik/projects/socialgrow.tech/sgt-payment-gateway 2>/dev/null
|
|
||||||
git clone gitea@git.cloonar.com:socialgrow.tech/reddit-account-shop.git /nix/persist/user/dominik/projects/socialgrow.tech/sgt-reddit-account-shop 2>/dev/null
|
|
||||||
|
|
||||||
ssh-keygen -R gitlab.epicenter.works
|
ssh-keygen -R gitlab.epicenter.works
|
||||||
ssh-keyscan gitlab.epicenter.works >> ~/.ssh/known_hosts
|
ssh-keyscan gitlab.epicenter.works >> ~/.ssh/known_hosts
|
||||||
|
|||||||
Reference in New Issue
Block a user