Compare commits
2 Commits
e34fc167ff
...
89f89569ad
Author | SHA1 | Date | |
---|---|---|---|
89f89569ad | |||
8815dc84f4 |
6
flake.lock
generated
6
flake.lock
generated
@ -39,11 +39,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1689885880,
|
"lastModified": 1689956312,
|
||||||
"narHash": "sha256-2ikAcvHKkKh8J/eUrwMA+wy1poscC+oL1RkN1V3RmT8=",
|
"narHash": "sha256-NV9yamMhE5jgz+ZSM2IgXeYqOvmGIbIIJ+AFIhfD7Ek=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "fa793b06f56896b7d1909e4b69977c7bf842b2f0",
|
"rev": "6da4bc6cb07cba1b8e53d139cbf1d2fb8061d967",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -33,6 +33,7 @@ with lib.my;
|
|||||||
raster.enable = true;
|
raster.enable = true;
|
||||||
vector.enable = true;
|
vector.enable = true;
|
||||||
};
|
};
|
||||||
|
office.libreoffice.enable = true;
|
||||||
};
|
};
|
||||||
dev = {
|
dev = {
|
||||||
node.enable = true;
|
node.enable = true;
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
./desktop/gaming/steam.nix
|
./desktop/gaming/steam.nix
|
||||||
./desktop/media/graphics.nix
|
./desktop/media/graphics.nix
|
||||||
./desktop/media/recording.nix
|
./desktop/media/recording.nix
|
||||||
|
./desktop/office/libreoffice.nix
|
||||||
./dev/cc.nix
|
./dev/cc.nix
|
||||||
./dev/java.nix
|
./dev/java.nix
|
||||||
./dev/lua.nix
|
./dev/lua.nix
|
||||||
|
16
modules/desktop/office/libreoffice.nix
Normal file
16
modules/desktop/office/libreoffice.nix
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
with lib.my;
|
||||||
|
let cfg = config.modules.desktop.office.libreoffice;
|
||||||
|
in {
|
||||||
|
options.modules.desktop.office.libreoffice = {
|
||||||
|
enable = mkBoolOpt false;
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
user.packages = with pkgs; [
|
||||||
|
libreoffice
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user