mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 16:23:57 +01:00
4b5d240ebd
Simplifies things a bit since we no longer depend on a phone variable, thus making the individual files easier to copy/paste.
35 lines
585 B
Nix
35 lines
585 B
Nix
{ lib, nixosConfig, ... }:
|
|
|
|
let
|
|
inherit (lib) mkIf;
|
|
|
|
isPhone = nixosConfig.programs.calls.enable;
|
|
|
|
no = {
|
|
name = "";
|
|
settings.Hidden = "true";
|
|
};
|
|
in
|
|
{
|
|
xdg.desktopEntries = mkIf isPhone {
|
|
anki = no;
|
|
htop = no;
|
|
fish = no;
|
|
nvim = no;
|
|
yazi = no;
|
|
qt5ct = no;
|
|
qt6ct = no;
|
|
gcdemu = no;
|
|
nixos-manual = no;
|
|
image-analyzer = no;
|
|
kvantummanager = no;
|
|
chromium-browser = no;
|
|
|
|
"org.gnome.Extensions" = no;
|
|
"org.pwmt.zathura" = no;
|
|
"org.gnome.eog" = no;
|
|
"org.gnome.Settings" = no;
|
|
"org.sigxcpu.Livi" = no;
|
|
};
|
|
}
|