refactor(home): move personal data out of the shared home modules
CI / flake (pull_request) Successful in 3m33s
CI / flake (pull_request) Successful in 3m33s
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.
This commit is contained in:
@@ -341,9 +341,6 @@ in
|
||||
IdentityFile = "~/.ssh/code.emmathe.dev";
|
||||
IdentitiesOnly = true;
|
||||
};
|
||||
"dockerpi.inf.cbg.emmaisvery.gay" = {
|
||||
User = "emmathorpe";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
+3
-4
@@ -334,13 +334,12 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
# Night light. Manual location (no geoclue dependency); adjust the coordinates
|
||||
# to taste. Warmer at night, neutral by day.
|
||||
# Night light. Manual location (no geoclue dependency); warmer at night,
|
||||
# neutral by day. Coordinates come from the per-user module (e.g.
|
||||
# users/lyrathorpe/home.nix), not this shared module.
|
||||
services.gammastep = {
|
||||
enable = true;
|
||||
provider = "manual";
|
||||
latitude = 51.5;
|
||||
longitude = -0.13; # London-ish; set to your actual location
|
||||
temperature = {
|
||||
day = 6500;
|
||||
night = 3700;
|
||||
|
||||
Reference in New Issue
Block a user