1
1
Fork 0

Add beatific.extraPrograms

This is partly a way to keep notes on useful software that I might otherwise forget about
This commit is contained in:
Tim Van Baak 2024-01-03 18:03:46 -08:00
parent 96d6e73346
commit a62cb2bab1
2 changed files with 15 additions and 0 deletions

View File

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

View File

@ -26,6 +26,12 @@ in {
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:
# beatific.defaults.${category} = false;
# They default to true because the point is to do these things by default.
@ -107,6 +113,14 @@ in {
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 {
services.openssh.enable = true;
services.openssh.banner = let