cerulean now manages trivial home-manager options

This commit is contained in:
do butterflies cry? 2026-03-07 19:39:57 +10:00
parent 34a8c23537
commit 1c68485dcf
Signed by: cry
GPG key ID: F68745A836CA0412

20
cerulean/home/default.nix Normal file
View file

@ -0,0 +1,20 @@
# NOTE: you can access the system configuration via the `osConfig` arg
{
username,
lib,
...
}: {
# WARNING: required for home-manager to work
programs.home-manager.enable = true; # user must apply lib.mkForce
# Nicely reload systemd units when changing configs
systemd.user.startServices = lib.mkDefault "sd-switch";
home = {
username = lib.mkDefault username;
homeDirectory = lib.mkDefault "/home/${username}";
sessionVariables = {
NIX_SHELL_PRESERVE_PROMPT = lib.mkDefault 1;
};
};
}