mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-18 09:34:00 +05:30
Major config overhaul: use custom modules, setup for multi-host config, and less boilerplate
This commit is contained in:
parent
1fa8b17b07
commit
0453901d17
303 changed files with 3560 additions and 5566 deletions
33
modules/user/office/default.nix
Normal file
33
modules/user/office/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.userSettings.office;
|
||||
in {
|
||||
options = {
|
||||
userSettings.office = {
|
||||
enable = lib.mkEnableOption "Enable my office programs";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
shared-mime-info
|
||||
nautilus
|
||||
libreoffice-still
|
||||
mate.atril
|
||||
xournalpp
|
||||
adwaita-icon-theme
|
||||
newsflash
|
||||
foliate
|
||||
gnome-maps
|
||||
seahorse
|
||||
element-desktop
|
||||
openvpn
|
||||
];
|
||||
services.syncthing.enable = true;
|
||||
services.nextcloud-client = {
|
||||
enable = true;
|
||||
startInBackground = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue