meta: Move phone-specific apps to host

Might turn this into a module later and use the standard
`module.enable = true` syntax.
This commit is contained in:
Donovan Glover 2024-07-16 12:27:17 -04:00
parent fa16ccaada
commit 44cf7e6832
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 24 additions and 28 deletions

View File

@ -42,6 +42,29 @@ in
inherit (self.packages.${pkgs.system}) inherit (self.packages.${pkgs.system})
webp-thumbnailer webp-thumbnailer
; ;
inherit (pkgs.gnome)
gnome-contacts
gnome-sound-recorder
gnome-maps
;
inherit (pkgs)
gurk-rs
android-tools
chatty
gnome-console
megapixels
fractal
g4music
livi
papers
phosh-mobile-settings
resources
tuba
caerbannog
eog
geary
;
}; };
modules = { modules = {

View File

@ -123,37 +123,10 @@ in
srb2 srb2
ringracers ringracers
jamesdsp jamesdsp
texliveFull
; ;
}))
(mkIf (!phone) (attrValues {
inherit (nix-config.inputs.sakaya.packages.${pkgs.system}) sakaya; inherit (nix-config.inputs.sakaya.packages.${pkgs.system}) sakaya;
inherit (pkgs) texliveFull;
}))
(mkIf phone (attrValues {
inherit (pkgs.gnome)
gnome-contacts
gnome-sound-recorder
gnome-maps
;
inherit (pkgs)
gurk-rs
android-tools
chatty
gnome-console
megapixels
fractal
g4music
livi
papers
phosh-mobile-settings
resources
tuba
caerbannog
eog
geary
;
})) }))
(attrValues { (attrValues {