From ae0cb8596affe866fe165aabe7a0473f0e70ba50 Mon Sep 17 00:00:00 2001
From: Gabriel Arazas <foo.dogsquared@gmail.com>
Date: Mon, 10 Oct 2022 11:45:22 +0800
Subject: [PATCH] config: refactor and update

---
 modules/home-manager/profiles/dev.nix | 2 +-
 modules/nixos/profiles/i18n.nix       | 2 +-
 modules/nixos/services/gallery-dl.nix | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/home-manager/profiles/dev.nix b/modules/home-manager/profiles/dev.nix
index 7f8827fb..38e085a5 100644
--- a/modules/home-manager/profiles/dev.nix
+++ b/modules/home-manager/profiles/dev.nix
@@ -124,7 +124,7 @@ in {
     (lib.mkIf cfg.extras.enable {
       home.packages = with pkgs; [
         tree-sitter # The modern way of text highlighting.
-        hyperfine # Command-line profiling.
+        hyperfine # Command-line profiling making sure your programs runs FIIIIINE.
         github-cli # So you don't have to use much of GitHub on the site, I guess.
         hut # Easier interfacing with Sourcehut.
         act # Test your CI without embarrassing yourself pushing into upstream.
diff --git a/modules/nixos/profiles/i18n.nix b/modules/nixos/profiles/i18n.nix
index 1ff61d7a..9e000c05 100644
--- a/modules/nixos/profiles/i18n.nix
+++ b/modules/nixos/profiles/i18n.nix
@@ -6,7 +6,7 @@ let
 in
 {
   options.profiles.i18n = {
-    enable = lib.mkEnableOption "i18n-related options";
+    enable = lib.mkEnableOption "main i18n config";
     ibus.enable = lib.mkEnableOption "i18n config with ibus";
     fcitx5.enable = lib.mkEnableOption "i18n config with fcitx5";
   };
diff --git a/modules/nixos/services/gallery-dl.nix b/modules/nixos/services/gallery-dl.nix
index 347f00c8..792d3224 100644
--- a/modules/nixos/services/gallery-dl.nix
+++ b/modules/nixos/services/gallery-dl.nix
@@ -163,7 +163,7 @@ in {
         description = "gallery-dl archive job for group '${name}'";
         documentation = [ "man:gallery-dl(1)" ];
         enable = true;
-        path = [ cfg.package ] ++ (with pkgs; [ brotli coreutils ffmpeg ]);
+        path = with pkgs; [ brotli coreutils ffmpeg cfg.package ];
         preStart = ''
           mkdir -p ${lib.escapeShellArg cfg.archivePath}
         '';