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”| Item | Profiles | Behaviour |
|---|---|---|
| Qt5 / Qt6 settings, NixOS manual | all | Icons hidden (manual available via nixos-help) |
| vim, btop, htop | all | Icons hidden, programs always launchable from a terminal |
| “Support GNOME” notification | all | Disabled |
| Document viewer | all | Papers, default PDF application (replaces Evince) |
| Image viewer | all except minimal, baby | Geeqie by default |
| GNOME extensions | non-technical | Icon hidden |
| Login keyring | non-technical, encrypted host | Without a password |
| Terminal | non-technical | Console, absent from the dash, present in the application grid |
| Terminal | technical | Ghostty, first dash favourite and Ctrl+Alt+T |
| “Local network” folder | nix-admin, admin host | DNF doc, Getting started (the home page), Network sources (terminal in /etc/nixos) |
| Element (Matrix) | all except minimal, baby | Launched hidden if the network has Matrix |
| File search | all | Entire home folder, git repositories included |
| Search in Files | all | Name only; content optional |
~/src | technical | Outside file search |
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”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.nixdarkone.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.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>.
Ghostty does not open on an old machine
Section titled “Ghostty does not open on an old machine”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.
Copy and paste in Ghostty
Section titled “Copy and paste in Ghostty”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).
A file stays missing from search
Section titled “A file stays missing from search”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-dumpsorlost+found; - a parent folder contains
.trackerignore,.nomediaor.hg(~/srcof 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.