Move sp-api to nix overlay

This commit is contained in:
Inex Code
2021-11-17 16:35:00 +03:00
parent bc669579f7
commit 2dc389799a
3 changed files with 7 additions and 26 deletions

View File

@@ -1,4 +1,8 @@
{ config, pkgs, lib, ... }:
let
url-overlay = "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo/archive/1.0.tar.gz";
nix-overlay = (import (builtins.fetchTarball url-overlay));
in
{
imports = [
./hardware-configuration.nix
@@ -26,6 +30,8 @@
./git/gitea.nix
];
nixpkgs.overlays = [ (nix-overlay) ];
boot.cleanTmpDir = true;
networking = {
hostName = config.services.userdata.hostname;