From f926351ee752f89426b9533e303b866a117149ab Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Thu, 4 Jan 2024 18:22:56 +0100 Subject: [PATCH] Remove sudo rebuild --- nixos-configurations/server/default.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/nixos-configurations/server/default.nix b/nixos-configurations/server/default.nix index c2eae03..c62a1f9 100644 --- a/nixos-configurations/server/default.nix +++ b/nixos-configurations/server/default.nix @@ -229,17 +229,6 @@ acceptTerms = true; defaults.email = "thilo.hohlt@tutanota.com"; }; - sudo.extraRules = [ - { - users = [ "thiloho" ]; - commands = [ - { - command = "${pkgs.nixos-rebuild}/bin/nixos-rebuild"; - options = [ "NOPASSWD" ]; - } - ]; - } - ]; }; systemd.services = {