35 lines
501 B
Nix
35 lines
501 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
...
|
|
}:
|
|
with lib;
|
|
let
|
|
cfg = config.os.gnome.apps;
|
|
in
|
|
{
|
|
options.os.gnome.apps = {
|
|
enable = mkEnableOption "System gnome apps service";
|
|
};
|
|
config = mkIf cfg.enable {
|
|
|
|
environment = {
|
|
systemPackages =
|
|
with pkgs;
|
|
[
|
|
# Gnome media apps
|
|
papers
|
|
celluloid
|
|
]
|
|
++ [
|
|
# Gnome files explorer
|
|
nautilus
|
|
];
|
|
};
|
|
|
|
services.gvfs.enable = true; # SMB, FTP, ... access
|
|
|
|
};
|
|
}
|