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.
Inheritance
Section titled “Inheritance”Profiles
Section titled “Profiles”| Profile | For whom | Inherits from |
|---|---|---|
minimal | Base of every profile | |
normal | Standard user (desktop) | minimal |
advanced | Developers, IT professionals | normal |
umi | Multimodal input user (touch, voice, gaze) | normal |
admin | Network administrator | advanced |
nix-admin | Fleet administrator (Nix tools) | admin |
student | Student | advanced |
teenager | Teenager | minimal |
gamer | Gamer | minimal |
child | Child (Cartable Fantastique, technical icons hidden) | minimal |
baby | Very young child | minimal |
The GNOME desktop
Section titled “The GNOME desktop”| Element | Profiles | Behavior |
|---|---|---|
| Qt5 / Qt6 settings, NixOS manual | all | Icons hidden (manual accessible via nixos-help) |
| “Support GNOME” notification | all | Disabled |
| Document viewer | all | Papers, default PDF application (replaces Evince) |
| Image viewer | all | Geeqie by default, if the imagery module is active |
| GNOME extensions | non-technical | Icon hidden |
| Terminal | non-technical | Console, absent from the dash, present in the application grid |
| Terminal | technical | Ghostty in the dash, if darkone.home.advanced.enableTools is active |
| Element (Matrix) | all except minimal, baby | Launched hidden if the network has Matrix |
Cartable Fantastique
Section titled “Cartable Fantastique”The child profile adds to LibreOffice the toolbar from
Cartable Fantastique 🡕,
designed for students with dyspraxia or DYS: read, write, calculate, text to speech.
| Edition | For whom |
|---|---|
primaire | Elementary school (default of child) |
college | Middle school: languages, chemistry, electricity |
adaptateur | Adult adapting learning materials |
# usr/users/<login>/default.nixdarkone.home.office.cartableFantastique = "college"; # null : aucuneThe 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.
Heavy applications on demand
Section titled “Heavy applications on demand”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.nixdarkone.home.advanced.enableVscode = true;darkone.home.advanced.enableSlidev = true; # avec son extension VS CodeAssigning a profile
Section titled “Assigning a profile”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>.