ctucx.git: nixfiles

ctucx' nixfiles

commit 980ed46e7fbba09fad74e300eba40c523de47330
parent bac7a56b04f5bf7f2148db858f5ef81a8c95342d
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sun, 31 Jul 2022 17:12:51 +0200

machines/lollo/smarthome/smartied: use local smartie-pwa package
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/machines/lollo/smarthome/smartied.nix b/machines/lollo/smarthome/smartied.nix
@@ -3,15 +3,9 @@
 let
   secrets = import ../../../secrets;
 
-  smartied = pkgs.callPackage ../../../pkgs/smartied.nix {};
-
-  kvg-station-departures  = pkgs.callPackage ../../../pkgs/kvg-station-departures.nix {};
-
-  smartiePWA = import "${pkgs.fetchgit {
-    url    = "https://cgit.ctu.cx/smartie-pwa/";
-    rev    = "26a2737e4b08eb3d9252d00a07c9dd60a7743f7f";
-    sha256 = "1qbr8iqbifa1b0854jbmm7zcaa5c0lrppn3g7rag37sa8cksgxjv";
-  }}" {};
+  kvg-station-departures = pkgs.callPackage ../../../pkgs/kvg-station-departures.nix {};
+  smartied               = pkgs.callPackage ../../../pkgs/smartied.nix {};
+  smartiePWA             = pkgs.callPackage ../../../pkgs/smartie-pwa {};
 
   smartiedConfig = {
     devices = {