diff --git a/services/go2rtc.nix b/services/go2rtc.nix index d0ea0b5..810b5bd 100644 --- a/services/go2rtc.nix +++ b/services/go2rtc.nix @@ -1,6 +1,18 @@ { config, pkgs, lib, ... }: { config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") { - + 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 + ]; + }; + }; }; }