added nginx option

This commit is contained in:
twoneis 2025-02-06 18:35:28 +01:00
parent ddccfdb328
commit 65139a31ac
2 changed files with 7 additions and 2 deletions

View file

@ -1,7 +1,7 @@
{ ... }: { { ... }: {
conf = { conf = {
ssh.enable = true; ssh.enable = true;
nginx.enable = true;
stateVersion = "25.05"; stateVersion = "25.05";
hmStateVersion = "25.05"; hmStateVersion = "25.05";

View file

@ -4,7 +4,7 @@
in { in {
options = { options = {
conf = { conf = {
ssh.enable = mkEnableOption "Install my public key to allow accessing this machine via ssh."; # Generally client options
apps.enable = mkEnableOption "Enable complete configuration for end-user machine."; apps.enable = mkEnableOption "Enable complete configuration for end-user machine.";
niri.enable = mkEnableOption "Enable niri compositor."; niri.enable = mkEnableOption "Enable niri compositor.";
vm.enable = mkEnableOption "Enable VM related configuration."; vm.enable = mkEnableOption "Enable VM related configuration.";
@ -15,6 +15,11 @@ in {
fonts.enable = mkEnableOption "Install and set preferred fonts"; fonts.enable = mkEnableOption "Install and set preferred fonts";
networkmanager.enable = mkEnableOption "Enable network manager and some related configuration"; networkmanager.enable = mkEnableOption "Enable network manager and some related configuration";
# Generally server options
ssh.enable = mkEnableOption "Install my public key to allow accessing this machine via ssh.";
nginx.enable = mkEnableOption "Enable nginx.";
# Mixed and more complex options
username = mkOption { username = mkOption {
type = str; type = str;
description = "Username of the default user (single user setup)."; description = "Username of the default user (single user setup).";