COSMIC: Difference between revisions
Thefossguy (talk | contribs) m A NixOS module was added to nixpkgs. Add a guide on how to use it to the Wiki. |
m →In progress (starting with NixOS 25.05): rename section |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
COSMIC was primarily developed for use in the [https://pop.system76.com/ Pop!_OS] distribution. | COSMIC was primarily developed for use in the [https://pop.system76.com/ Pop!_OS] distribution. | ||
== | == NixOS module (starting with NixOS 25.05) == | ||
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]. | ||
You can enable COSMIC on your NixOS system by | You can enable COSMIC on your NixOS system by setting the following configuration options: <syntaxhighlight lang="nix">{ | ||
# Enable the COSMIC login manager | # Enable the COSMIC login manager | ||
services.displayManager.cosmic-greeter.enable = true; | services.displayManager.cosmic-greeter.enable = true; | ||
Line 23: | Line 23: | ||
</syntaxhighlight>Alternatively, there is a [https://github.com/lilyinstarlight/nixos-cosmic flake] to setup COSMIC on NixOS. | </syntaxhighlight>Alternatively, there is a [https://github.com/lilyinstarlight/nixos-cosmic flake] to setup COSMIC on NixOS. | ||
== COSMIC | == COSMIC packages == | ||
While the whole desktop is not configured many packages are available in nixpkgs already. You can search for packages with a query similar to this one https://search.nixos.org/packages?query=cosmic&from=0&size=1000&sort=relevance&channel=unstable. Note that not all of the results will be part of the COSMIC desktop. | While the whole desktop is not configured many packages are available in nixpkgs already. You can search for packages with a query similar to this one https://search.nixos.org/packages?query=cosmic&from=0&size=1000&sort=relevance&channel=unstable. Note that not all of the results will be part of the COSMIC desktop. | ||
[[Category:Desktop environment]] | [[Category:Desktop environment]] |
Revision as of 21:07, 8 April 2025
COSMIC is a desktop environment developed in the Rust programming language, using the iced cross platform GUI library for Rust, and Smithay as building blocks for its compositor, cosmic-comp. Cosmic-comp is comparable to smithay's own anvil compositor demonstration, just like the Wayland project uses Weston as demo compositor.
COSMIC was primarily developed for use in the Pop!_OS distribution.
NixOS module (starting with NixOS 25.05)
COSMIC support in nixpkgs is still in development. You can follow progress via the tracking issue.
You can enable COSMIC on your NixOS system by setting the following configuration options:
{
# Enable the COSMIC login manager
services.displayManager.cosmic-greeter.enable = true;
# Enable the COSMIC desktop environment
services.desktopManager.cosmic.enable = true;
}
Support for automatic logins is present when using the `cosmic-greeter` login manager. All you need is the following configuration:
{
services.displayManager.autoLogin = {
enable = true;
# Replace `yourUserName` with the actual username of user who should be automatically logged in
user = "yourUserName";
};
}
Alternatively, there is a flake to setup COSMIC on NixOS.
COSMIC packages
While the whole desktop is not configured many packages are available in nixpkgs already. You can search for packages with a query similar to this one https://search.nixos.org/packages?query=cosmic&from=0&size=1000&sort=relevance&channel=unstable. Note that not all of the results will be part of the COSMIC desktop.