diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 19 |
1 files changed, 16 insertions, 3 deletions
@@ -9,6 +9,11 @@ nixos-hardware.url = "github:NixOS/nixos-hardware/master"; + nur = { + url = "github:nix-community/NUR"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + sops-nix = { url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs"; @@ -66,11 +71,19 @@ }; outputs = - { self, nixpkgs, ... }@inputs: + { + self, + nixpkgs, + nur, + ... + }@inputs: let system = "x86_64-linux"; - pkgs = import nixpkgs { inherit system; }; - scripts = import ./scripts { inherit pkgs; }; + pkgs = import nixpkgs { + inherit system; + overlays = [ nur.overlays.default ]; + }; + scripts = import ./scripts; mkHost = { hostname, |
