Skip to content

User Profiles

A user profile defines the Home Manager 🡕 environment of an account: applications, desktop, settings. It is chosen via profile: in etc/config.yaml. Like hosts, profiles can inherit from one another.

Diagram
ProfileFor whomInherits from
minimalBase of every profile
normalStandard user (desktop)minimal
advancedDevelopers, IT professionalsnormal
umiMultimodal input user (touch, voice, gaze)normal
adminNetwork administratoradvanced
nix-adminFleet administrator (Nix tools)admin
studentStudentadvanced
teenagerTeenagerminimal
gamerGamerminimal
childChild (Cartable Fantastique, technical icons hidden)minimal
babyVery young childminimal
ElementProfilesBehavior
Qt5 / Qt6 settings, NixOS manualallIcons hidden (manual accessible via nixos-help)
“Support GNOME” notificationallDisabled
Document viewerallPapers, default PDF application (replaces Evince)
Image viewerallGeeqie by default, if the imagery module is active
GNOME extensionsnon-technicalIcon hidden
Terminalnon-technicalConsole, absent from the dash, present in the application grid
TerminaltechnicalGhostty in the dash, if darkone.home.advanced.enableTools is active
Element (Matrix)all except minimal, babyLaunched hidden if the network has Matrix

The child profile adds to LibreOffice the toolbar from Cartable Fantastique 🡕, designed for students with dyspraxia or DYS: read, write, calculate, text to speech.

EditionFor whom
primaireElementary school (default of child)
collegeMiddle school: languages, chemistry, electricity
adaptateurAdult adapting learning materials
# usr/users/<login>/default.nix
darkone.home.office.cartableFantastique = "college"; # null : aucune

The extension is installed in the account’s LibreOffice profile when Home Manager activates (startup or deployment). Text to speech goes through speech-dispatcher, active by default on workstations.

To lighten the first workstation, advanced and the profiles inheriting from it install neither VS Code (0.3 GiB) nor Slidev (0.4 GiB): Zed remains the default editor. To add them to an account, including to restore the previous behavior:

# usr/users/<login>/default.nix
darkone.home.advanced.enableVscode = true;
darkone.home.advanced.enableSlidev = true; # avec son extension VS Code
etc/config.yaml
users:
alice:
uid: 1000
name: "Alice"
profile: "nix-admin"
groups: ["global"]

A Cartable Fantastique hash no longer matches

Section titled “A Cartable Fantastique hash no longer matches”

The publisher replaces the .oxt file without changing the URL. Recalculate the hashes of dnf/pkgs/cartable-fantastique/package.nix with nix store prefetch-file <url>.