COSMIC: Difference between revisions
imported>Ahoneybun Init draft |
imported>Ahoneybun No edit summary |
||
Line 3: | Line 3: | ||
== Installation == | == Installation == | ||
Currently packaged in nixpkgs master/unstable are below: | 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 === | === COSMIC Comp === | ||
Revision as of 17:08, 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