This fixes inherits and library functions usage, to inherit them explicitely at top level of the file.
16 lines
254 B
Nix
16 lines
254 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
|
|
inherit (config.local.systemVars) username;
|
|
in {
|
|
config = mkIf config.local.profiles.desktop.enable {
|
|
hjem.users.${username} = {
|
|
packages = [pkgs.zoxide];
|
|
};
|
|
};
|
|
}
|