nixos/services/go2rtc.nix

19 lines
462 B
Nix
Raw Normal View History

2026-01-21 09:26:45 +00:00
{ config, pkgs, lib, ... }:
{
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
2026-01-21 09:28:50 +00:00
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
sops-nix.url = "github:Mic92/sops-nix";
};
outputs = { self, nixpkgs, sops-nix }: {
nixosConfigurations.yourhostname = nixpkgs.lib.nixosSystem {
modules = [
sops-nix.nixosModules.sops
./configuration.nix
];
};
};
2026-01-21 09:26:45 +00:00
};
}