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
ItemProfilesBehaviour
Qt5 / Qt6 settings, NixOS manualallIcons hidden (manual available via nixos-help)
vim, btop, htopallIcons hidden, programs always launchable from a terminal
“Support GNOME” notificationallDisabled
Document viewerallPapers, default PDF application (replaces Evince)
Image viewerall except minimal, babyGeeqie by default
GNOME extensionsnon-technicalIcon hidden
Login keyringnon-technical, encrypted hostWithout a password
Terminalnon-technicalConsole, absent from the dash, present in the application grid
TerminaltechnicalGhostty, first dash favourite and Ctrl+Alt+T
“Local network” foldernix-admin, admin hostDNF doc, Getting started (the home page), Network sources (terminal in /etc/nixos)
Element (Matrix)all except minimal, babyLaunched hidden if the network has Matrix
File searchallEntire home folder, git repositories included
Search in FilesallName only; content optional
~/srctechnicalOutside file search

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.

The admin and nix-admin profiles install neither image creation (GIMP) nor music (Audacious). To give them back to an account:

# usr/users/<login>/default.nix
darkone.home.imagery.enable = true;
darkone.home.music.enable = true;

FileZilla is no longer installed (SFTP from Files or sftp), and KeePassXC remains the only KeePass manager of technical profiles, with no Secrets alongside.

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>.

Ghostty requires OpenGL 4.3: on an older GPU, its window does not open (failed to create EGL context in the journal; actual version: eglinfo -B). Disable it for the host, in usr/machines/<host>/configuration.nix:

home-manager.sharedModules = [ { programs.ghostty.enable = false; } ];

Console replaces it, including Ctrl+Alt+T.

Ghostty, tmux, zellij and vim use only one clipboard, GNOME’s (Ctrl+C / Ctrl+V):

  • selecting with the mouse copies;
  • middle click, right click, Ctrl+V and Shift+Insert paste;
  • application that captures the mouse (htop, mc): hold Shift;
  • remote tmux, over ssh: paste with Ctrl+V.

With text in the clipboard, Ctrl+V no longer reaches the application: vim visual block with Ctrl+Q, nano next page with the Page Down key. An image still reaches it (screenshot pasted into Claude Code).

GNOME search relies on the LocalSearch index. A file is absent from it when :

  • it or a parent folder is hidden (.git/, .cache/…) ;
  • a parent folder is named node_modules, vendor, po, CVS, core-dumps or lost+found ;
  • a parent folder contains .trackerignore, .nomedia or .hg (~/src of technical profiles) ;
  • it is outside the home folder: Settings → Search → Search locations.

localsearch info <file> tells whether it is indexed. After changing locations or exclusions, localsearch reset --filesystem starts a full reindexing.