❄️ Dotfiles for our NixOS system configuration.

fix: scope osConfig instead

Chloe 075437e9 72e130f1

Changed files
+12 -3
home
+12 -3
home/default.nix
···
-
{ inputs, lib, osConfig, ... }:
+
{ inputs, lib, ... }:
{
home-manager = {
···
{
home.stateVersion = "23.11";
-
# reload system units when changing configs (only on Linux systems with systemd)
-
systemd.user.startServices = lib.mkIf (osConfig.services.systemd-tmpfiles.enable or false || osConfig.wsl.enable or false) "sd-switch";
# let HM manage itself when in standalone mode
programs.home-manager.enable = true;
}
+
+
(
+
{ osConfig, ... }:
+
+
# reload system units when changing configs (only on Linux systems with systemd)
+
{
+
systemd.user.startServices = lib.mkIf (
+
osConfig.services.systemd-tmpfiles.enable or false || osConfig.wsl.enable or false
+
) "sd-switch";
+
}
+
)
];
users.chloe = ./chloe;