This fixes inherits and library functions usage, to inherit them explicitely at top level of the file.
25 lines
395 B
Nix
25 lines
395 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
|
|
inherit (config.local.systemVars) username;
|
|
in {
|
|
imports = [
|
|
./tidal-hifi.nix
|
|
./zathura.nix
|
|
];
|
|
|
|
config = mkIf config.local.profiles.desktop.enable {
|
|
hjem.users.${username}.packages = [
|
|
pkgs.gnome-calculator
|
|
pkgs.gthumb
|
|
pkgs.spotify
|
|
pkgs.stremio
|
|
pkgs.celluloid
|
|
];
|
|
};
|
|
}
|