Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pantheon cleanups #76116

Merged
merged 7 commits into from
Dec 23, 2019
25 changes: 1 addition & 24 deletions nixos/modules/services/desktops/pantheon/contractor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,12 @@ with lib;

{

meta.maintainers = pkgs.pantheon.maintainers;

###### interface

options = {

services.pantheon.contractor = {

enable = mkEnableOption "contractor, a desktop-wide extension service used by pantheon";

};

};


###### implementation

config = mkIf config.services.pantheon.contractor.enable {

environment.systemPackages = with pkgs.pantheon; [
contractor
extra-elementary-contracts
];

services.dbus.packages = [ pkgs.pantheon.contractor ];

environment.pathsToLink = [
"/share/contractor"
];


};

Expand Down
31 changes: 3 additions & 28 deletions nixos/modules/services/desktops/pantheon/files.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,8 @@ with lib;

{

meta.maintainers = pkgs.pantheon.maintainers;

###### interface

options = {

services.pantheon.files = {

enable = mkEnableOption "pantheon files daemon";

};

};


###### implementation

config = mkIf config.services.pantheon.files.enable {

environment.systemPackages = [
pkgs.pantheon.elementary-files
];

services.dbus.packages = [
pkgs.pantheon.elementary-files
];

};
imports = [
(mkRemovedOptionModule [ "services" "pantheon" "files" "enable" ] "Use `environment.systemPackages [ pkgs.pantheon.elementary-files ];`")
];

}