office: Add module
This commit is contained in:
parent
c69aeddb1e
commit
01a0b56321
@ -59,6 +59,7 @@
|
||||
};
|
||||
xournalpp.enable = true;
|
||||
zsh.enable = true;
|
||||
office.enable = true;
|
||||
#plasma.enable = true;
|
||||
};
|
||||
services = {
|
||||
|
@ -48,6 +48,7 @@
|
||||
};
|
||||
zsh.enable = true;
|
||||
git.enable = true;
|
||||
office.enable = true;
|
||||
};
|
||||
services = {
|
||||
kanshi = let
|
||||
|
@ -24,6 +24,7 @@ in {
|
||||
gnomeExtensions.blur-my-shell
|
||||
gnome.eog
|
||||
gnome.nautilus
|
||||
gnome.evince
|
||||
unstable.gnome.gnome-shell
|
||||
gnome.gnome-terminal
|
||||
pinentry-gnome
|
||||
|
15
modules/programs/office/default.nix
Normal file
15
modules/programs/office/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user