COSMIC: Difference between revisions

AveryKoen (talk | contribs)
mNo edit summary
m A NixOS module was added to nixpkgs. Add a guide on how to use it to the Wiki.
Line 7: Line 7:
COSMIC support in nixpkgs is still in development. You can follow progress via [https://github.com/NixOS/nixpkgs/issues/259641 the tracking issue].  
COSMIC support in nixpkgs is still in development. You can follow progress via [https://github.com/NixOS/nixpkgs/issues/259641 the tracking issue].  


There is a [https://github.com/lilyinstarlight/nixos-cosmic flake] to setup COSMIC on NixOS.
You can enable COSMIC on your NixOS system by enabling the following configuration options: <syntaxhighlight lang="nix">{
  # Enable the COSMIC login manager
  services.displayManager.cosmic-greeter.enable = true;
 
  # Enable the COSMIC desktop environment
  services.desktopManager.cosmic.enable = true;
}</syntaxhighlight>Support for automatic logins is present when using the `cosmic-greeter` login manager. All you need is the following configuration: <syntaxhighlight lang="nix">
{
  services.displayManager.autoLogin = {
    enable = true;
    # Replace `yourUserName` with the actual username of user who should be automatically logged in
    user = "yourUserName";
  };
}
</syntaxhighlight>Alternatively, there is a [https://github.com/lilyinstarlight/nixos-cosmic flake] to setup COSMIC on NixOS.


== COSMIC Packages ==
== COSMIC Packages ==