File tree Expand file tree Collapse file tree 7 files changed +86
-33
lines changed Expand file tree Collapse file tree 7 files changed +86
-33
lines changed Original file line number Diff line number Diff line change 1010 '' ;
1111
1212 settings = {
13- trusted-users = [ "@staff" ] ;
13+ trusted-users = [ config . mainUser ] ;
1414 substituters = [
1515 "https://esselius.cachix.org"
1616 "https://nix-community.cachix.org"
Original file line number Diff line number Diff line change 1717 nixpkgs-darwin . follows = "nixpkgs-unstable" ;
1818 nixpkgs-nixos . url = "github:NixOS/nixpkgs/nixos-24.11" ;
1919
20- raspberry-pi-nix . url = "github:tstat/raspberry-pi-nix/v0.4.1 " ;
20+ raspberry-pi-nix . url = "github:tstat/raspberry-pi-nix" ;
2121 raspberry-pi-nix . inputs . nixpkgs . follows = "nixpkgs-nixos" ;
2222 authentik-nix = {
2323 url = "github:nix-community/authentik-nix/version/2025.2.1" ;
146146 storageMode = "local" ;
147147 localStorageDir = ./. + "/secrets/rekeyed/adama" ;
148148 } ;
149+
150+ fileSystems = {
151+ "/" = {
152+ device = "/dev/disk/by-label/NIXOS_SD" ;
153+ fsType = "ext4" ;
154+ } ;
155+ "/boot/firmware" = {
156+ device = "/dev/disk/by-label/FIRMWARE" ;
157+ fsType = "vfat" ;
158+ } ;
159+ } ;
149160 }
150161 inputs . home-manager-nixos . nixosModules . home-manager
151162 ( { config , ... } : {
Original file line number Diff line number Diff line change 6161 enable = true ;
6262 customComponents = [
6363 pkgs . audi_connect_ha
64+ pkgs . easee_hass
6465 ] ;
6566 extraComponents = [
6667 "zha"
Original file line number Diff line number Diff line change 99 passport-openidconnect = ( prev . callPackage ./pkgs/passport-openidconnect { } ) . package ;
1010 } ;
1111 audi_connect_ha = prev . callPackage ./pkgs/audi_connect_ha.nix { } ;
12+ easee_hass = unstable-pkgs . callPackage ./pkgs/easee_hass.nix { } ;
1213
1314 darwin = prev . darwin . overrideScope ( _ : _ : {
1415 inherit ( unstable-pkgs . darwin ) linux-builder ;
Original file line number Diff line number Diff line change 1+ { fetchFromGitHub
2+ , buildHomeAssistantComponent
3+ , home-assistant
4+ , python313Packages
5+ ,
6+ } :
7+
8+ buildHomeAssistantComponent rec {
9+ owner = "nordicopen" ;
10+ domain = "easee" ;
11+ version = "0.9.67" ;
12+
13+ src = fetchFromGitHub {
14+ inherit owner ;
15+ repo = "easee_hass" ;
16+ tag = "v${ version } " ;
17+ hash = "sha256-psRr3cJ/sK/Z0dgB27GbW0qAHH2vJt+TdxqDB+Zhkc0=" ;
18+ } ;
19+
20+ dependencies = [
21+ ( python313Packages . callPackage ./pyeasee.nix { } )
22+ ] ;
23+ nativeBuildInputs = [
24+ home-assistant . python . pkgs . bump2version
25+ ] ;
26+ }
Original file line number Diff line number Diff line change 1+ { buildPythonPackage , fetchPypi } :
2+
3+ buildPythonPackage rec {
4+ pname = "pyeasee" ;
5+ version = "0.8.11" ;
6+
7+ src = fetchPypi {
8+ inherit pname version ;
9+ hash = "sha256-+g3g8yGBVJdABHqt/w7Wq1gh+nqMF3a+2G3MW4yWeGg=" ;
10+ } ;
11+ }
You can’t perform that action at this time.
0 commit comments