nixos-config/modules
Simon Bruder 2c8a291ae9
Make flake inputs available as module argument
This moves a bunch of stuff out of flake.nix into the modules they
belong to. This removes complexity from flake.nix and gives the project
a more organised structure.

Sadly, it is not possible to import modules from a flake outside of
flake.nix, since that leads to an infinite recursion (`config` has to be
evaluated before `config._modules.args.inputs` is available but `config`
depends on an import from `config._modules.args.inputs`). Therefore, the
`extraModules` argument in `machines/default.nix` has to be used for
that (it now has access to all flake inputs).
2021-05-15 10:04:44 +02:00
..
nginx-interactive-index nginx-interactive-index: Init 2021-02-18 12:10:03 +01:00
prometheus node_exporter: Disable rapl collector 2021-02-21 00:06:16 +01:00
restic Use sops for secrets 2021-04-06 14:05:48 +02:00
wireguard wireguard: Simplify sopsFile path 2021-05-01 16:53:06 +02:00
cups.nix config.sbruder.gui → config.sbruder.gui.enable 2020-12-05 15:44:58 +01:00
default.nix Convert to flake 2021-05-01 17:36:58 +02:00
docker.nix Replace builtins with lib where possible 2021-02-27 19:57:00 +01:00
fonts.nix Add option to disable large packages 2021-01-20 16:23:18 +01:00
grub.nix Reformat grub module 2020-12-05 13:51:45 +01:00
gui.nix gui: Install adwaita icons system-wide 2021-03-27 13:22:34 +01:00
initrd-ssh.nix initrd-ssh: Treat host-key as state 2021-04-06 11:45:04 +02:00
libvirt.nix libvirt: Remove custom option 2021-01-20 16:31:59 +01:00
locales.nix Set monetary locale to use Euro 2020-12-20 17:10:22 +01:00
mailserver.nix mailserver: Disable recipient_restrictions for submission 2021-02-06 16:51:10 +01:00
media-proxy.nix Use sops for secrets 2021-04-06 14:05:48 +02:00
network-manager.nix network-manager: Reformat module 2021-01-20 16:28:52 +01:00
nginx.nix Add nginx hardening option 2021-03-05 15:58:53 +01:00
nix.nix Make flake inputs available as module argument 2021-05-15 10:04:44 +02:00
office.nix Add video4linux2loopback 2020-12-08 18:55:33 +01:00
pubkeys.nix Replace builtins with lib where possible 2021-02-27 19:57:00 +01:00
pulseaudio.nix Add option to disable large packages 2021-01-20 16:23:18 +01:00
secrets.nix Use sops for secrets 2021-04-06 14:05:48 +02:00
ssh.nix ssh: Add global known hosts 2021-04-04 11:29:31 +02:00
tools.nix tools: Add ssh-to-pgp 2021-04-06 10:21:48 +02:00
udev.nix Add udev rules for ST-Link 2020-09-10 15:12:31 +02:00
unfree.nix fuuko/drone: Init 2021-04-03 18:47:01 +02:00