Modularized configuration now kind of works. (still need to do some refactoring)

This commit is contained in:
Kevin Baensch 2019-03-20 02:57:59 +01:00
parent a0f361425a
commit 14332b2c7b
24 changed files with 144 additions and 85 deletions

View file

@ -8,9 +8,9 @@
{ config, lib, pkgs, ... }:
let
gitpkgs = import /nixpkgs/default.nix {};
in {
with lib;
mkIf (elem "nginx" config.machine.services) {
services.nginx = {
enable = true;
recommendedGzipSettings = true;