From 91dd4cb7dfb06cc7c1c221b63f5230a84d5e0328 Mon Sep 17 00:00:00 2001 From: oklopfer <104327997+oklopfer@users.noreply.github.com> Date: Thu, 8 Aug 2024 19:07:25 -0400 Subject: [PATCH] fix more more --- src/package_manager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/package_manager.rs b/src/package_manager.rs index 4d0dbb3..024ae9f 100644 --- a/src/package_manager.rs +++ b/src/package_manager.rs @@ -328,7 +328,7 @@ impl Component for PackageManagerModel { commands.push("sudo apt-get install -y nix-bin nix-setup-systemd"); commands.push("sudo groupadd -f nix-users"); commands.push("sudo usermod -a -G nix-users $USER"); - commands.push("sudo systemctl enable nix-daemon.service || true"); + commands.push("{ sudo systemctl enable nix-daemon.service || :; }"); commands.push("nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs"); commands.push("nix-channel --update"); }