forked from wurzel/fruitbasket
added option to toggle office bloat
This commit is contained in:
parent
a8a8e6bad5
commit
048bd78eeb
6 changed files with 45 additions and 26 deletions
|
@ -1,6 +1,16 @@
|
|||
{ pkgs, config, ... }:
|
||||
{ pkgs, lib, config, office_stuff, ... }:
|
||||
|
||||
{
|
||||
let
|
||||
|
||||
extra_office_packages = (lib.ifEnable config.fsr.enable_office_bloat (with pkgs; [
|
||||
vlc
|
||||
libreoffice-fresh
|
||||
okular
|
||||
texlive.combined.scheme-full
|
||||
]));
|
||||
|
||||
|
||||
in {
|
||||
# enable XFCE as lightweight desktop environment
|
||||
services = {
|
||||
xserver.enable = true;
|
||||
|
@ -24,16 +34,8 @@
|
|||
## audio management
|
||||
pavucontrol
|
||||
## terminal, browsers, text editing
|
||||
vscodium
|
||||
#vscodium
|
||||
firefox
|
||||
## document viewers
|
||||
okular
|
||||
## LaTeX
|
||||
texlive.combined.scheme-full
|
||||
texstudio
|
||||
## the eternal pain continues
|
||||
libreoffice-fresh
|
||||
# media viewers
|
||||
vlc
|
||||
];
|
||||
] ++ extra_office_packages;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ...
|
||||
}:
|
||||
{ pkgs, lib, config, ...}:
|
||||
let
|
||||
fsr-infoscreen = pkgs.fsr-infoscreen;
|
||||
|
||||
|
|
7
modules/options.nix
Normal file
7
modules/options.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{config, lib, ...}: with lib; {
|
||||
options.fsr.enable_office_bloat = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "install heavy office bloat like texlive, okular, ...";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue