From e42636bd40fc0350e1b6c15b450b27d06db8573c Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 12 Oct 2022 07:03:35 +0800 Subject: [PATCH] profiles/dev: refactor package list to consider other modules --- modules/nixos/profiles/dev.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/modules/nixos/profiles/dev.nix b/modules/nixos/profiles/dev.nix index 93f14131..2259f702 100644 --- a/modules/nixos/profiles/dev.nix +++ b/modules/nixos/profiles/dev.nix @@ -74,14 +74,16 @@ in { gnumake # Make your life easier with GNU Make. moreutils # Less is more but more utilities, the merrier. valgrind # Memory leaks. + ] + # Finally, a local environment for testing out GitHub workflows without + # embarassing yourself pushing a bunch of commits. + ++ (lib.optional config.virtualisation.docker.enable pkgs.act) - # I SAID ALL OF THE GIT EXTENSIONS! - git-crypt - - github-cli # Client for GitHub. - hut # And one for Sourcehut. - act # Finally, a local environment for testing GitHub workflows. - ]; + # Enable all of the git things. + ++ (lib.optionals config.programs.git.enable [ + github-cli # Client for GitHub. + hut # And one for Sourcehut. + ]); systemd.user.services.nix-upgrade-profile = { description = ''