office: Add module

This commit is contained in:
PapaTutuWawa 2022-01-06 16:47:30 +01:00
parent c69aeddb1e
commit 01a0b56321
4 changed files with 18 additions and 0 deletions

View File

@ -59,6 +59,7 @@
}; };
xournalpp.enable = true; xournalpp.enable = true;
zsh.enable = true; zsh.enable = true;
office.enable = true;
#plasma.enable = true; #plasma.enable = true;
}; };
services = { services = {

View File

@ -48,6 +48,7 @@
}; };
zsh.enable = true; zsh.enable = true;
git.enable = true; git.enable = true;
office.enable = true;
}; };
services = { services = {
kanshi = let kanshi = let

View File

@ -24,6 +24,7 @@ in {
gnomeExtensions.blur-my-shell gnomeExtensions.blur-my-shell
gnome.eog gnome.eog
gnome.nautilus gnome.nautilus
gnome.evince
unstable.gnome.gnome-shell unstable.gnome.gnome-shell
gnome.gnome-terminal gnome.gnome-terminal
pinentry-gnome pinentry-gnome

View File

@ -0,0 +1,15 @@
{ pkgs, config, lib, ... }:
let
cfg = config.ptw.programs;
in {
options.ptw.programs.office = {
enable = lib.mkEnableOption "Install Office software";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
libreoffice
];
};
}