{
  inputs,
  config,
  ...
}: {
  imports = [
    inputs.nixos-cosmic.nixosModules.default
  ];
  nix.settings = {
    substituters = ["https://cosmic.cachix.org/"];
    trusted-public-keys = ["cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="];
  };
  services.desktopManager.cosmic.enable = true;
  services.displayManager.cosmic-greeter.enable = true;
  services.system76-scheduler.enable = true;
  home-manager.users.${config.user}.imports = [
    (inputs.hm-cosmic.homeManagerModules.cosmic)
    ../../home/desktop/cosmic/.
  ];
}
