aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index ea33fae..76d11fa 100644
--- a/flake.nix
+++ b/flake.nix
@@ -7,7 +7,7 @@
7 self, 7 self,
8 nixpkgs, 8 nixpkgs,
9 }: let 9 }: let
10 supportedSystems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" ]; 10 supportedSystems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin"];
11 forAllSystems = nixpkgs.lib.genAttrs supportedSystems; 11 forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
12 nixpkgsFor = forAllSystems (system: 12 nixpkgsFor = forAllSystems (system:
13 import nixpkgs { 13 import nixpkgs {
@@ -127,7 +127,7 @@
127 }; 127 };
128 128
129 config = mkIf config.services.readit.enable { 129 config = mkIf config.services.readit.enable {
130 nixpkgs.overlays = [ self.overlays.default ]; 130 nixpkgs.overlays = [self.overlays.default];
131 systemd.services.readit = { 131 systemd.services.readit = {
132 description = "readit service"; 132 description = "readit service";
133 wantedBy = ["multi-user.target"]; 133 wantedBy = ["multi-user.target"];
@@ -138,7 +138,6 @@
138 Restart = "always"; 138 Restart = "always";
139 }; 139 };
140 140
141
142 # If the binary needs specific environment variables, set them here 141 # If the binary needs specific environment variables, set them here
143 environment = { 142 environment = {
144 READIT_PORT = "${toString config.services.readit.port}"; 143 READIT_PORT = "${toString config.services.readit.port}";