Compare commits
2 Commits
f8e09d26d1
...
a62cb2bab1
Author | SHA1 | Date |
---|---|---|
Tim Van Baak | a62cb2bab1 | |
Tim Van Baak | 96d6e73346 |
|
@ -50,6 +50,7 @@
|
|||
hardware.opengl.enable = true;
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
|
||||
beatific.extraPrograms = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
firefox
|
||||
libreoffice
|
||||
|
|
|
@ -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.
|
||||
|
@ -84,6 +90,8 @@ in {
|
|||
curl
|
||||
duf
|
||||
file # File type inspector
|
||||
htmlq # jq for html
|
||||
jq # jq for json
|
||||
nebula
|
||||
psmisc # provides killall
|
||||
python3
|
||||
|
@ -105,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
|
||||
|
|
Loading…
Reference in New Issue