mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/pantheon/files: remove
Made nun sense.
This commit is contained in:
parent
313eba4451
commit
1ec2b545dd
2 changed files with 3 additions and 29 deletions
|
@ -6,33 +6,8 @@ with lib;
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
meta.maintainers = pkgs.pantheon.maintainers;
|
imports = [
|
||||||
|
(mkRemovedOptionModule [ "services" "pantheon" "files" "enable" ] "Use `environment.systemPackages [ pkgs.pantheon.elementary-files ];`")
|
||||||
###### 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
|
|
||||||
];
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,7 +106,6 @@ in
|
||||||
services.accounts-daemon.enable = true;
|
services.accounts-daemon.enable = true;
|
||||||
services.bamf.enable = true;
|
services.bamf.enable = true;
|
||||||
services.colord.enable = mkDefault true;
|
services.colord.enable = mkDefault true;
|
||||||
services.pantheon.files.enable = mkDefault true;
|
|
||||||
services.tumbler.enable = mkDefault true;
|
services.tumbler.enable = mkDefault true;
|
||||||
services.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true));
|
services.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true));
|
||||||
services.dbus.packages = with pkgs.pantheon; [
|
services.dbus.packages = with pkgs.pantheon; [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue