added nginx option
This commit is contained in:
parent
ddccfdb328
commit
65139a31ac
2 changed files with 7 additions and 2 deletions
|
@ -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";
|
||||||
|
|
|
@ -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).";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue