nixos/services/go2rtc.nix

20 lines
318 B
Nix
Raw Normal View History

2026-01-21 09:26:45 +00:00
{ config, pkgs, lib, ... }:
2026-01-21 09:39:46 +00:00
let
sops-nix = builtins.fetchTarball {
url = "https://github.com/Mic92/sops-nix/archive/master.tar.gz";
};
in
2026-01-21 09:26:45 +00:00
{
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
2026-01-21 09:39:46 +00:00
imports = [
"${sops-nix}/modules/sops"
# your other imports
];
2026-01-21 09:28:50 +00:00
2026-01-21 09:26:45 +00:00
};
}