From f32895b48b40c82eaa659dbafc0b810db59289d8 Mon Sep 17 00:00:00 2001 From: oqyude Date: Fri, 10 Oct 2025 21:07:42 +0300 Subject: [PATCH] 123 --- modules/users.nix | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/modules/users.nix b/modules/users.nix index 3d46fa9..701edaa 100644 --- a/modules/users.nix +++ b/modules/users.nix @@ -82,19 +82,18 @@ }; }; - systemd.services.nixos-auto-rebuild-sops = { - description = "Auto rebuild NixOS at boot"; - wantedBy = [ "multi-user.target" ]; - after = [ "network-online.target" ]; - serviceConfig = { - Type = "oneshot"; - User = "${xlib.device.username}"; - Group = "users"; - WorkingDirectory = "/etc/nixos"; - ExecStart = [ "/run/wrappers/bin/sudo ${pkgs.nixos-rebuild}/bin/nixos-rebuild switch" ]; - }; - }; - + # systemd.services.nixos-auto-rebuild-sops = { + # description = "Auto rebuild NixOS at boot"; + # wantedBy = [ "multi-user.target" ]; + # after = [ "network-online.target" ]; + # serviceConfig = { + # Type = "oneshot"; + # User = "${xlib.device.username}"; + # Group = "users"; + # WorkingDirectory = "/etc/nixos"; + # ExecStart = [ "/run/wrappers/bin/sudo ${pkgs.nixos-rebuild}/bin/nixos-rebuild switch" ]; + # }; + # }; # fileSystems."/etc/ssh".neededForBoot = true; }