🏠 darkone.home.office
Office desktop: browsers, office suite, communication, cloud and PDF tools.
Packages are gated by audience flags (enableEssentials, enableOffice,
enableTools, enableCommunication…). Sub-modules (office/):
browsers.nix: Firefox ESR (LibreWolf, Chromium) with shared policies: zone homepage and locale, tracking protection, Bitwarden pinned when the network runs Vaultwarden.cartable-fantastique.nix: Cartable Fantastique toolbar in LibreOffice (cartableFantastique, default for thechildprofile).matrix.nix: Element Desktop as soon as the network runs Matrix, pre-configured (Kanidm SSO); Fractal withenableCommunication.nextcloud.nix: desktop client bound to the network instance, andnextcloud-webdav-loginfor GNOME Online Accounts.pandoc.nix:md2pdfand the pandoc defaults (enablePandoc).
Options
Section titled “Options”-
enable
boolDefault useful packages -
enableMore
boolMore alternative packages -
enableUnsafeFeatures
boolFeatures for advanced non-child users -
enableUBlock
boolEnable ublock plugin -
enableTools
boolLittle (gnome) tools (iotas, dialect, etc.) -
enableProductivity
boolProductivity apps (obsidian, time mgm, projects, etc.) -
enableCommunication
boolCommunication tools -
enableOffice
boolOffice packages (libreoffice, hunspell, fonts…) -
enableFirefox
boolEnable firefox -
enableLibreWolf
boolEnable LibreWolf (firefox alternative) -
enableChromium
boolEnable chromium -
enableBrave
boolEnable Brave Browser -
enableEmail
boolEmail management packages (thunderbird) -
enableSecurity
boolSecurity tools (keepass) -
enableCalendarContacts
boolCalendar, contacts, tasks and related apps -
enablePandoc
boolMarkdown to PDF toolchain: pandoc, typst, Gentium and DejaVu fonts, and themd2pdfcommand (Gentium body, A4, the zone’s language).Fenêtre de terminal md2pdf notes.md # A4, 10pt -> notes.pdfmd2pdf --big notes.md # A4, 12ptmd2pdf --tablet notes.md # A6, 9pt (11pt with --big), zoomed on a tabletmd2pdf -e context notes.md # ConTeXt engine (enablePandocContext)The engine is typst. It renders the raw TeX usual in notes (
\pagebreak,\placecontent,\centerline…) and reports any other. Table columns fit their content, unless the separator dashes differ in length (|--|--------|): the widths then follow them. A barepandoc notes.md -o notes.pdfuses the same engine, language and fonts. Under GNOME, the three layouts are also offered on right click in Nautilus (Scripts menu). -
enablePandocContext
boolConTeXt as an alternative PDF engine,md2pdf -e context(~900 MiB, needs enablePandoc) -
pandocAuthor
nullOr strCreator written into PDFs bymd2pdf.nulltakes the account’s full name. -
enableEssentials
boolEssential tools -
hunspellLang
strHunspell dictionary 🡕 -
cartableFantastique
nullOr ( enum [ "primaire" "college" "adaptateur" ] )Edition of the Cartable Fantastique 🡕 toolbar installed in LibreOffice, for pupils with dyspraxia or other DYS disorders.nullinstalls nothing.primaire: Lire, Écrire, Mathématiques and Tableau bars.college: adds languages, chemistry, electricity, equation editor.adaptateur: adds tools for the adult adapting school material.
Installed per account, in its LibreOffice profile, at Home Manager activation. Needs
enableOffice. Text-to-speech goes throughspd-say(speech-dispatcher, on by default on NixOS desktops). -
enableElementAutoStart
boolAuto-start Element Desktop (hidden) on login when the network runs Matrix -
enableFractalAutoStart
boolAuto-start Fractal on login, withenableCommunication(opt-in: no background mode, its window opens) -
nextcloud.enable
boolInstall the Nextcloud desktop client, pre-bound to the network instance -
nextcloud.server
nullOr strNextcloud instance the client binds to.nullpicks the one declared on the network (this zone first). Set it to target a local or external instance instead. -
nextcloud.enableAutoStart
boolStart the Nextcloud client in the background on login -
nextcloud.enableWebdav
boolShipnextcloud-webdav-login, a one-shot helper that authenticates through the browser (Kanidm SSO) and registers the result as a GNOME Online Account: files over WebDAV in the file manager, plus calendar and contacts in Evolution. Needed because Nextcloud refuses to create an app password from its web UI for an OIDC user.The helper also prints the app password, so any other WebDAV client can be pointed at the same account.
Ignored when
darkone.home.office.nextcloud.enableis off. -
nextcloud.syncDir
nullOr strLocal folder pre-filled in the setup wizard, relative to$HOME. -
shared
rawOffice values shared with theoffice/sub-modules.
darkone.home.office = { enable = false; enableMore = false; enableUnsafeFeatures = false; enableUBlock = false; enableTools = false; enableProductivity = false; enableCommunication = false; enableOffice = false; enableFirefox = false; enableLibreWolf = false; enableChromium = false; enableBrave = false; enableEmail = false; enableSecurity = false; enableCalendarContacts = false; enablePandoc = false; enablePandocContext = false; pandocAuthor = "Jane Doe"; enableEssentials = true; hunspellLang = "en-us"; cartableFantastique = "primaire"; enableElementAutoStart = true; enableFractalAutoStart = false; nextcloud.enable = detectedNextcloud != null; nextcloud.server = "https://cloud.example.com"; nextcloud.enableAutoStart = true; nextcloud.enableWebdav = true; nextcloud.syncDir = "Nextcloud"; shared = { inherit lang country hasHomepage homeUrl hasMatrix hasVaultwarden nextcloudUrl hasNextcloud hasNextcloudWebdav ; };};office/nextcloud.nix
Section titled “office/nextcloud.nix”- webdavLogin
packagenextcloud-webdav-loginhelper, installed by the office package list.
darkone.home.office.nextcloud.webdavLogin = nextcloudWebdavLogin;office/pandoc.nix
Section titled “office/pandoc.nix”- md2pdf
packagemd2pdfcommand, installed by the office package list.
darkone.home.office.md2pdf = md2pdf;Source: home/modules/office.nix 🡕