1
1
Fork 0

Compare commits

..

2 Commits

Author SHA1 Message Date
Tim Van Baak a62cb2bab1 Add beatific.extraPrograms
This is partly a way to keep notes on useful software that I might otherwise forget about
2024-01-03 18:03:46 -08:00
Tim Van Baak 96d6e73346 beatific: add jq and htmlq 2023-12-29 16:28:49 -08:00
2 changed files with 17 additions and 0 deletions

View File

@ -50,6 +50,7 @@
hardware.opengl.enable = true; hardware.opengl.enable = true;
hardware.opengl.driSupport32Bit = true; hardware.opengl.driSupport32Bit = true;
beatific.extraPrograms = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
firefox firefox
libreoffice libreoffice

View File

@ -26,6 +26,12 @@ in {
default = false; default = false;
}; };
extraPrograms = mkOption {
type = types.bool;
description = "Additional default programs";
default = false;
};
# Groups of related defaults can be disabled by flipping off the switches here: # Groups of related defaults can be disabled by flipping off the switches here:
# beatific.defaults.${category} = false; # beatific.defaults.${category} = false;
# They default to true because the point is to do these things by default. # They default to true because the point is to do these things by default.
@ -84,6 +90,8 @@ in {
curl curl
duf duf
file # File type inspector file # File type inspector
htmlq # jq for html
jq # jq for json
nebula nebula
psmisc # provides killall psmisc # provides killall
python3 python3
@ -105,6 +113,14 @@ in {
environment.variables.EDITOR = mkOverride 999 "vim"; environment.variables.EDITOR = mkOverride 999 "vim";
}) })
(mkIf cfg.extraPrograms {
environment.systemPackages = with pkgs; [
calibre # provides ebook-convert
imagemagick # image convertion cli
tesseract # OCR engine
];
})
(mkIf cfg.defaults.ssh { (mkIf cfg.defaults.ssh {
services.openssh.enable = true; services.openssh.enable = true;
services.openssh.banner = let services.openssh.banner = let