COSMIC: Difference between revisions
imported>Ahoneybun fix code blocks |
imported>Ahoneybun No edit summary |
||
Line 5: | Line 5: | ||
Currently packaged in nixpkgs master/unstable are below, one way to install them is to use a configuration file like this: | Currently packaged in nixpkgs master/unstable are below, one way to install them is to use a configuration file like this: | ||
< | <syntaxhighlight lang="nix"> | ||
{ config, pkgs, ...}: | { config, pkgs, ...}: | ||
Line 23: | Line 24: | ||
]; | ]; | ||
} | } | ||
</ | </syntaxhighlight> | ||
You would add it to your main configuration.nix file in /etc/nixos/ like this: | You would add it to your main configuration.nix file in /etc/nixos/ like this: |
Revision as of 17:11, 2 November 2023
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.
Installation
Currently packaged in nixpkgs master/unstable are below, one way to install them is to use a configuration file like this:
{ config, pkgs, ...}:
let
unstable = import
(builtins.fetchTarball https://github.com/nixos/nixpkgs/tarball/master)
# reuse the current configuration
{ config = config.nixpkgs.config; };
in
{
environment.systemPackages = with pkgs; [
unstable.rustc
unstable.just
unstable.cosmic-icons
unstable.cosmic-settings
];
}
You would add it to your main configuration.nix file in /etc/nixos/ like this:
imports =
[
./hardware-configuration.nix
./unstable.nix
];
then rebuild:
sudo nixos-rebuild switch
COSMIC Comp
https://github.com/NixOS/nixpkgs/tree/nixos-unstable/pkgs/applications/window-managers/cosmic/comp
COSMIC Panel
This also includes the Dock:
https://github.com/NixOS/nixpkgs/tree/nixos-unstable/pkgs/applications/window-managers/cosmic/panel
COSMIC Applet
COSMIC Settings
https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/window-managers/cosmic/settings