Files
nixfiles/users/lyrathorpe/home.nix
T
Emma Thorpe d7a1930650
CI / flake (pull_request) Successful in 3m33s
refactor(home): move personal data out of the shared home modules
The dockerpi ssh host shortcut (home/shell.nix) and the gammastep
night-light coordinates (home/sway.nix) were hardcoded in shared modules,
so every host inherited them. Move both into a per-user module
(users/lyrathorpe/home.nix) imported on Lyra's hosts only, not the work
box; the gammastep block is Linux-guarded so Darwin skips it.

No build change on existing hosts: the generated configs are byte-identical
(verified by drvPath), the data is simply no longer in shared modules.
2026-06-29 13:02:34 +01:00

18 lines
612 B
Nix

# Lyra's personal home extras, imported on her hosts (not the work box). Keeps
# personal data out of the shared home/ modules. See README "Users".
{ pkgs, lib, ... }:
{
# Personal ssh host shortcut.
programs.ssh.settings."dockerpi.inf.cbg.emmaisvery.gay" = {
User = "emmathorpe";
};
# Night-light location for gammastep (the service itself is enabled by
# home/sway.nix on graphical hosts). Linux-guarded so Darwin, which imports
# this module but has no gammastep, skips it.
services.gammastep = lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
latitude = 51.5;
longitude = -0.13;
};
}