From 73f111f11c204578fb7a0cb54f2caee4fc94c089 Mon Sep 17 00:00:00 2001 From: osbm Date: Sun, 27 Jul 2025 16:38:26 +0300 Subject: [PATCH] move acme stuff and remove sudo clause --- hosts/pochita/configuration.nix | 12 ------------ modules/services/caddy.nix | 4 ++++ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/hosts/pochita/configuration.nix b/hosts/pochita/configuration.nix index 8858c27..feb2aad 100644 --- a/hosts/pochita/configuration.nix +++ b/hosts/pochita/configuration.nix @@ -40,18 +40,6 @@ pkgs.raspberrypi-eeprom ]; - security.sudo = { - enable = true; - wheelNeedsPassword = false; - }; - - security.acme.defaults = { - email = "osmanfbayram@gmail.com"; - acceptTerms = true; - }; - - # services.getty.autologinUser = "osbm"; - # The board and wanted kernel version raspberry-pi-nix = { board = "bcm2712"; diff --git a/modules/services/caddy.nix b/modules/services/caddy.nix index cd3ebea..7b558fb 100644 --- a/modules/services/caddy.nix +++ b/modules/services/caddy.nix @@ -57,6 +57,10 @@ }; security.acme.acceptTerms = true; + security.acme.defaults = { + email = "osbm@osbm.dev"; + acceptTerms = true; + }; }) ];