This commit is contained in:
Alexander Tomokhov
2023-07-15 16:52:46 +04:00
parent 659ca147fd
commit ee2a895c61
3 changed files with 73 additions and 6 deletions

View File

@@ -1,8 +1,4 @@
{ config, pkgs, lib, ... }:
let
url-overlay = "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo/archive/22-11.tar.gz";
nix-overlay = (import (builtins.fetchTarball url-overlay));
in
{ selfprivacy-overlay, config, pkgs, lib, ... }:
{
imports = [
./hardware-configuration.nix
@@ -28,7 +24,9 @@ in
./git/gitea.nix
];
nixpkgs.overlays = [ (nix-overlay) ];
nixpkgs.overlays = [ (import selfprivacy-overlay) ];
# this should be specified in hardware-configuration.nix?
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
services.redis.servers.sp-api = {
enable = true;