mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-03-13 18:19:00 +00:00
config: refactor and update
This commit is contained in:
parent
6cb95c3a2a
commit
ae0cb8596a
@ -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.
|
||||
|
@ -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";
|
||||
};
|
||||
|
@ -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}
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user