Update go2rtc.nix
This commit is contained in:
parent
732da5d159
commit
2121751329
1 changed files with 13 additions and 12 deletions
|
|
@ -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
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue