Update go2rtc.nix

This commit is contained in:
ediblerope 2026-01-21 09:39:46 +00:00 committed by GitHub
parent 732da5d159
commit 2121751329
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,18 +1,19 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let
sops-nix = builtins.fetchTarball {
url = "https://github.com/Mic92/sops-nix/archive/master.tar.gz";
};
in
{ {
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") { config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
inputs = { imports = [
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; "${sops-nix}/modules/sops"
sops-nix.url = "github:Mic92/sops-nix"; # your other imports
}; ];
outputs = { self, nixpkgs, sops-nix }: {
nixosConfigurations.yourhostname = nixpkgs.lib.nixosSystem {
modules = [
sops-nix.nixosModules.sops
./configuration.nix
];
};
};
}; };
} }