diff options
author | Akshay <[email protected]> | 2024-10-29 20:57:41 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2024-10-29 20:57:41 +0000 |
commit | 9914e4bf6856c0c76e6ee1371f708be946797ad5 (patch) | |
tree | 839da8130640f3e1d726b528386fefb050058686 | |
parent | 33e89cce40a62af327635f4cb32da54c3149e812 (diff) |
fmt
-rw-r--r-- | flake.nix | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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}"; |