Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First 2024 blog post and general cleanup #20

Merged
merged 7 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions _posts/2024-02-23-NixOS-COSMIC.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
title: Packaging up COSMIC applications in NixOS
description: The work so far to get COSMIC on NixOS
updated: 2024-02-23
tags: nixos nixos-unstable nixos-23.11 nixos-24.05

comments:
id: 110669673878756587
---

## From the beginning

Let's first start what COSMIC is and it's history, we'll look at the first blog post from System76 (the company behind COSMIC) [here](https://blog.system76.com/post/november-at-system76-products-promos--cosmic-de). Now for their latest update to date progress on COSMIC we'll look at their blog post [here](https://blog.system76.com/post/cosmic-the-road-to-alpha).

## The Nix/NixOS part of the story

First started by [nyanbinary](https://github.com/nyabinary) in this [issue](https://github.com/NixOS/nixpkgs/issues/259641) on Oct 7th 2023 and has had amazing progress getting everything into the [nixpkgs repository](https://github.com/NixOS/nixpkgs). I've been working on [COSMIC Edit](https://github.com/NixOS/nixpkgs/pull/265103), [COSMIC Term](https://github.com/NixOS/nixpkgs/pull/276959) and [COSMIC Files](https://github.com/NixOS/nixpkgs/pull/278745) and with the packaging of COSMIC applications on Nix/NixOS this [bug](https://github.com/NixOS/nixpkgs/pull/276072) was found and fixed!

## Community-led Effort

This is largely a community effort with help from community members like:

- [lilyinstarlight](https://github.com/lilyinstarlight) like this [PR](https://github.com/NixOS/nixpkgs/pull/276072) which will help other Rust projects in NixOS or [this PR](https://github.com/pop-os/libcosmic/commit/3aef16bf9ed7f0b2ffbaa46b0d60b1a663ebcbd7) from [nbdd0121](https://github.com/nbdd0121) which will with packaging of COSMIC for other distros then just NixOS!
- nyabinary and [a-kenji](https://github.com/a-kenji) packaging up most of the COSMIC components like `cosmic-settings`, `cosmic-icons`,
- [alyssais](https://github.com/alyssais) with a few drive-by commits with the large [commit](https://github.com/NixOS/nixpkgs/pull/251365) to package `cosmic-comp`, `cosmic-panel` and `cosmic-applets`.

If you want to join in to help feel free to join our [Matrix channel](https://matrix.to/#/#cosmic:nixos.org)!

## The fruits of this work

Thanks to this work you can now use one of the following packaged applications in NixOS! (you may need to pull it from unstable depending on how recent the merge was):

- cosmic-edit (NixOS 23.11, newer version in unstable)
- cosmic-settings (NixOS 23.11, newer version in unstable)
- cosmic-term (unstable so NixOS 24.05)
- cosmic-files (unstable so NixOS 24.05)

## Current state

![COSMIC running on NixOS](/images/{{ page.url }}/NixOS-COSMIC-running.png)

## Work still to be done

The major next step would be to have a module for COSMIC so that users can enable it similar to other Desktop Environments such as GNOME, Plasma and more! The progress for that is being tracked [here](https://github.com/NixOS/nixpkgs/pull/267099).
Binary file added images/blog/NixOS-COSMIC/NixOS-COSMIC-running.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/desk/1.jpg
Binary file not shown.
Binary file removed images/desk/1.webp
Binary file not shown.
Binary file removed images/desk/2.jpg
Binary file not shown.
Binary file removed images/desk/2.webp
Binary file not shown.
Binary file removed images/desk/3.jpg
Binary file not shown.
Binary file removed images/desk/3.webp
Binary file not shown.
Binary file removed images/desk/old.jpg
Binary file not shown.
Binary file removed images/desk/old.webp
Binary file not shown.
5 changes: 5 additions & 0 deletions tag/nixos-23.11.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: tagpage
title: "Tag: nixos-23.11"
tag: nixos-23.11
---
5 changes: 5 additions & 0 deletions tag/nixos-24.05.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: tagpage
title: "Tag: nixos-24.05"
tag: nixos-24.05
---
5 changes: 5 additions & 0 deletions tag/nixos-unstable.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: tagpage
title: "Tag: nixos-unstable"
tag: nixos-unstable
---
Loading