From 75095846309e4a6974efeec6867d0fb53656cbe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Tue, 29 Nov 2022 23:59:52 -0300 Subject: [PATCH] watch store and push to cachix --- system/cachix.nix | 7 +++++++ system/configuration.nix | 1 + 2 files changed, 8 insertions(+) create mode 100644 system/cachix.nix diff --git a/system/cachix.nix b/system/cachix.nix new file mode 100644 index 0000000..fad5b41 --- /dev/null +++ b/system/cachix.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: { + services.cachix-watch-store = { + enable = true; + cacheName = "lelgenio"; + cachixTokenFile = "/etc/cachix-token"; + }; +} diff --git a/system/configuration.nix b/system/configuration.nix index 966f051..4e45bae 100644 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -4,6 +4,7 @@ { config, pkgs, inputs, ... }: { imports = [ ./gamemode.nix + ./cachix.nix ./media-packages.nix ]; packages.media-packages.enable = true;