chore: nix fmt
This commit is contained in:
parent
a80bd4ed3b
commit
7266fff06e
128 changed files with 3402 additions and 2013 deletions
|
@ -1,9 +1,14 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.passthrough.libreoffice;
|
||||
enable = cfg.enable && (cfg.allUsers || (config.home.username == "app"));
|
||||
in mkIf enable {
|
||||
in
|
||||
mkIf enable {
|
||||
home.packages = with pkgs; [ libreoffice ];
|
||||
}
|
||||
|
|
|
@ -1,10 +1,15 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.libreoffice;
|
||||
persist = [ ".config/libreoffice" ];
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.home.libreoffice = {
|
||||
enable = mkEnableOption "open source office suite";
|
||||
allUsers = mkEnableOption "set up for all users";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue