this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 14 lines 957 B view raw view rendered
1these are set of nixos modules for more convenient deployment of cloud resources for various providers. only implemented module is for firewalls right now, supporting hetzner. 2 3## usage 4 5if using flakes, put `nixosModules.<resource>` and `nixosModules.<resource>-<provider>` 6in your NixOS configuration. for example, `nixosModules.firewall` and 7`nixosModules.firewall-hetzner`. see `nix flake show` for all available modules. 8 9if not using flakes, you can import `<resource>/` and `<resource>/<provider>`. 10 11then, you can either use each module's individual `mkApp` config option to 12generate an app and run it, or you can call `makeApps`: 13- for flakes use the flake output `makeApps` and `makeApps {inherit pkgs self;}`. you can assign the output of this to your `outputs.apps` as it generates flake apps. 14- for non-flake use `import ./makeApps.nix {inherit pkgs nixosSystem;}`, this will return an attribute set with a `run` key which is the generated app.