mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-21 14:49:10 -04:00
Compare commits
1 Commits
feature/ad
...
feature/li
| Author | SHA1 | Date | |
|---|---|---|---|
| fe1e772863 |
@@ -1,7 +1,7 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = pkgs.linuxPackages_6_16;
|
kernelPackages = pkgs.linuxPackages_6_17;
|
||||||
zfs.package = pkgs.zfs_2_3;
|
zfs.package = pkgs.zfs_2_3;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -2,16 +2,6 @@ esphome:
|
|||||||
name: batteries
|
name: batteries
|
||||||
friendly_name: batteries
|
friendly_name: batteries
|
||||||
|
|
||||||
platformio_options:
|
|
||||||
build_unflags:
|
|
||||||
- -fno-lto
|
|
||||||
- -Og
|
|
||||||
- -O0
|
|
||||||
build_flags:
|
|
||||||
- -flto
|
|
||||||
- -Os
|
|
||||||
- -Wl,--gc-sections
|
|
||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
board: esp32dev
|
board: esp32dev
|
||||||
framework:
|
framework:
|
||||||
@@ -33,7 +23,14 @@ ota:
|
|||||||
wifi:
|
wifi:
|
||||||
ssid: !secret wifi_ssid
|
ssid: !secret wifi_ssid
|
||||||
password: !secret wifi_password
|
password: !secret wifi_password
|
||||||
fast_connect: true
|
|
||||||
|
captive_portal:
|
||||||
|
|
||||||
|
esp32_ble_tracker:
|
||||||
|
scan_parameters:
|
||||||
|
interval: 1100ms
|
||||||
|
window: 1100ms
|
||||||
|
active: true
|
||||||
|
|
||||||
ble_client:
|
ble_client:
|
||||||
- mac_address: "C8:47:80:29:0F:DB"
|
- mac_address: "C8:47:80:29:0F:DB"
|
||||||
@@ -58,6 +55,8 @@ sensor:
|
|||||||
jk_bms_ble_id: jk_bms0
|
jk_bms_ble_id: jk_bms0
|
||||||
total_voltage:
|
total_voltage:
|
||||||
name: "JK0 Total Voltage"
|
name: "JK0 Total Voltage"
|
||||||
|
current:
|
||||||
|
name: "JK0 Current"
|
||||||
state_of_charge:
|
state_of_charge:
|
||||||
name: "JK0 SoC"
|
name: "JK0 SoC"
|
||||||
power:
|
power:
|
||||||
@@ -66,8 +65,12 @@ sensor:
|
|||||||
name: "JK0 Temp 1"
|
name: "JK0 Temp 1"
|
||||||
temperature_sensor_2:
|
temperature_sensor_2:
|
||||||
name: "JK0 Temp 2"
|
name: "JK0 Temp 2"
|
||||||
|
balancing:
|
||||||
|
name: "JK0 balancing"
|
||||||
charging_cycles:
|
charging_cycles:
|
||||||
name: "JK0 charging cycles"
|
name: "JK0 charging cycles"
|
||||||
|
total_runtime:
|
||||||
|
name: "JK0 total runtime"
|
||||||
balancing_current:
|
balancing_current:
|
||||||
name: "JK0 balancing current"
|
name: "JK0 balancing current"
|
||||||
|
|
||||||
@@ -76,6 +79,8 @@ sensor:
|
|||||||
jk_bms_ble_id: jk_bms1
|
jk_bms_ble_id: jk_bms1
|
||||||
total_voltage:
|
total_voltage:
|
||||||
name: "JK1 Total Voltage"
|
name: "JK1 Total Voltage"
|
||||||
|
current:
|
||||||
|
name: "JK1 Current"
|
||||||
state_of_charge:
|
state_of_charge:
|
||||||
name: "JK1 SoC"
|
name: "JK1 SoC"
|
||||||
power:
|
power:
|
||||||
@@ -84,8 +89,12 @@ sensor:
|
|||||||
name: "JK1 Temp 1"
|
name: "JK1 Temp 1"
|
||||||
temperature_sensor_2:
|
temperature_sensor_2:
|
||||||
name: "Jk1 Temp 2"
|
name: "Jk1 Temp 2"
|
||||||
|
balancing:
|
||||||
|
name: "JK1 balancing"
|
||||||
charging_cycles:
|
charging_cycles:
|
||||||
name: "JK1 charging cycles"
|
name: "JK1 charging cycles"
|
||||||
|
total_runtime:
|
||||||
|
name: "JK1 total runtime"
|
||||||
balancing_current:
|
balancing_current:
|
||||||
name: "JK1 balancing current"
|
name: "JK1 balancing current"
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,6 @@
|
|||||||
# games
|
# games
|
||||||
dwarf-fortress
|
dwarf-fortress
|
||||||
endless-sky
|
endless-sky
|
||||||
osu-lazer
|
|
||||||
prismlauncher
|
prismlauncher
|
||||||
tower-pixel-dungeon
|
tower-pixel-dungeon
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -80,7 +80,6 @@
|
|||||||
"nix.serverPath": "nil",
|
"nix.serverPath": "nil",
|
||||||
|
|
||||||
// python tools
|
// python tools
|
||||||
"python.defaultInterpreterPath": "/run/current-system/sw/bin/python",
|
|
||||||
"mypy.runUsingActiveInterpreter": true,
|
"mypy.runUsingActiveInterpreter": true,
|
||||||
|
|
||||||
// force the use of rust-analyzer from dev shell
|
// force the use of rust-analyzer from dev shell
|
||||||
|
|||||||
Reference in New Issue
Block a user