NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.22k stars 14.21k forks source link

Tracking: COSMIC Desktop Environment #259641

Open nyabinary opened 1 year ago

nyabinary commented 1 year ago

Project description COSMIC: Next-generation DE made by System76 (and in Rust)

Below is a list of what we need packaged to make COSMIC a fully functional DE in NixOS

ahoneybun commented 1 year ago

You should add cosmic-greeter as well:

https://github.com/pop-os/cosmic-greeter

nyabinary commented 1 year ago

You should add cosmic-greeter as well:

https://github.com/pop-os/cosmic-greeter

Already added that :)

ahoneybun commented 1 year ago

Ah I was looking at the list like it was A-Z and I missed it, sorry!

nyabinary commented 1 year ago

https://blog.system76.com/post/locked-and-loaded-with-new-cosmic-de-updates/ New COSMIC blog, I wonder how feasible a COSMIC NixOS channel is in Matrix considering GNOME has one.

nyabinary commented 1 year ago

I feel like a Matrix channel is for the best since there needs to be a centralized effort to try to package the DE.

viperML commented 1 year ago

Looking forward to a matrix channel to cooperate the effort. I would be intersted in contributing to the packages or module(s).

GaetanLepage commented 1 year ago

Looking forward to a matrix channel to cooperate the effort. I would be intersted in contributing to the packages or module(s).

Same here !

nyabinary commented 1 year ago

@viperML @GaetanLepage I made an unofficial Matrix space that isn't officially authorized by the Nix Foundation right here: https://matrix.to/#/#COSMIC:conduit.rs

billksun commented 1 year ago

Hmm how else can we move this effort forward?

I would get on the main Nix/NixOS Matrix channel and see if you can get in touch with a mod there to create an official channel for COSMIC DE.

nyabinary commented 1 year ago

Hmm how else can we move this effort forward?

I would get on the main Nix/NixOS Matrix channel and see if you can get in touch with a mod there to create an official channel for COSMIC DE.

I think this is the official channel for Matrix suggestions in the NixOS space. https://matrix.to/#/#matrix-discussion:nixos.org

nyabinary commented 1 year ago

We're an official Nix Matrix room now! https://matrix.to/#/#cosmic:nixos.org

foo-dogsquared commented 1 year ago

Anyone interested in adapting https://github.com/NixOS/nixpkgs/pull/250891? I'm also going to create a home-manager version of it which should be the same module except with a different plugin path.

ahoneybun commented 1 year ago

Anyone interested in adapting #250891? I'm also going to create a home-manager version of it which should be the same module except with a different plugin path.

That should be from the COSMIC which is based on GNOME, this is all about the COSMIC DE written in Rust.

foo-dogsquared commented 1 year ago

The linked module only implements installing Pop launcher plugins and scripts in a certain path. As far as I can tell, cosmic-launcher is a frontend for pop-launcher.

kirawi commented 10 months ago

I think #199563 is the same thing as this issue

Mawfyy commented 10 months ago

There's some discord server or something?

ahoneybun commented 10 months ago

There's some discord server or something?

There is this:

https://github.com/NixOS/nixpkgs/issues/259641#issuecomment-1783830838

Mawfyy commented 10 months ago

There's some discord server or something?

There is this:

#259641 (comment)

Thanks!!

RuRo commented 9 months ago

It seems that currently all the items in the list are already marked as completed. I was wondering if we are now waiting for upstream to release a stable (or public beta?) version, or if there are still some things missing in nixpkgs?

dunxen commented 9 months ago

It seems that currently all the items in the list are already marked as completed. I was wondering if we are now waiting for upstream to release a stable (or public beta?) version, or if there are still some things missing in nixpkgs?

I believe the NixOS module is not ready. Also, best case scenario is an official Alpha by March: https://blog.system76.com/post/cosmic-the-road-to-alpha

RAVENz46 commented 9 months ago

I think cosmic-store, cosmic-player and cosmic-greeter module like services.xserver.displayManager.cosmic-greeter also missing. Anyway, wait patiently for the alpha!

nyabinary commented 9 months ago

If anyone wants to contribute to the cosmic-greeter module, I'm open to reviewing it and giving it a green light :3

ahoneybun commented 9 months ago

I think cosmic-store, cosmic-player and cosmic-greeter module like services.xserver.displayManager.cosmic-greeter also missing. Anyway, wait patiently for the alpha!

cosmic-store and cosmic-player are pretty young still but adding them would be good I think @nyabinary

Aleksanaa commented 9 months ago

Why cosmic isn't packaged in a scope/set like other desktop environments?

a-kenji commented 9 months ago

What advantage would that give us as opposed to the current by-name package definitions @Aleksanaa ?

Aleksanaa commented 9 months ago

What advantage would that give us as opposed to the current by-name package definitions @Aleksanaa ?

I don't know, and I'm not recommending you do that. But are there any standards in this regard?

a-kenji commented 9 months ago

AFAIK the standard is that every new package definition that can be in by-name should be.

It is in the adding a new package documentation section.

ShalokShalom commented 9 months ago

Am I expeced to simply add all the Cosmic packages to my configuration, and it will simply offer itself in the login manager?

Is there a step by step guide, how to try it?

ahoneybun commented 9 months ago

Am I expeced to simply add all the Cosmic packages to my configuration, and it will simply offer itself in the login manager?

Is there a step by step guide, how to try it?

There is not a step by step yet, I think it will be similar to how GNOME and such is but I'm not sure yet.

yochananmarqos commented 9 months ago

@ShalokShalom It includes a session that will indeed add it to your Display Manager.

However, if you have to ask, then you should probably wait. This is neither the place nor the time to ask others to hold your hand. :wink:

This is a development thread, please refrain from off-topic questions and discussion.

ShalokShalom commented 8 months ago

Yeah, I agree. And testing is probably a part of the development, and when some people are capable to test, but need step by step instructions to get the environment, it might be beneficial to provide that.

And considering the emoji response, I might be in good company with that opinion. 👍🏻

Aleksanaa commented 8 months ago

This is a development thread, please refrain from off-topic questions and discussion.

Testing methods are also a crucial part of the development thread. Without proper testing, we all don't know if we've done things right. Please be kind to others even if you are not going to offer any help.

RAVENz46 commented 7 months ago

A few days ago, cosmic-store became available. Notice that it is not yet ready for use. It seems like it needs some patches to make it works on NixOS?

lilyinstarlight commented 7 months ago

A few days ago, cosmic-store became available. Notice that it is not yet ready for use. It seems like it needs some patches to make it works on NixOS?

Flatpaks work already iirc, and we're probably not going to enable packagekit support given how not-well it works and that it tends to break stuff

danielespirito commented 7 months ago

Hi, can we build this now even if it unstable? If that is the case are there instructions on how to this? Thanks

lilyinstarlight commented 7 months ago

Hi, can we build this now even if it unstable? If that is the case are there instructions on how to this? Thanks

Currently you can test from https://github.com/lilyinstarlight/nixos-cosmic, which updates daily, provides a binary cache, and will be merged back to nixpkgs once we start getting tagged releases (e.g. cosmic alpha release)

Titaniumtown commented 7 months ago

@lilyinstarlight you're amazing! Thank you for the hard work.

kacperwyczawski commented 7 months ago

There is a new blog post from System76 regarding COSMIC:

https://blog.system76.com/post/hammering-out-cosmic-features

[Edit 08-05-2024] Another one:

https://blog.system76.com/post/your-monthly-cosmic-fix

maupind commented 6 months ago

Hi all,

I have been using NixOS for a couple years now, but only have very minor contributions. I was wondering how I can assist in getting COSMIC working on NixOS. Thanks in advance and apologies if this is the wrong thread to be asking

dunxen commented 6 months ago

I was wondering how I can assist in getting COSMIC working on NixOS.

Hey! I think a great way is to start testing it out if you haven't already via here https://github.com/NixOS/nixpkgs/issues/259641#issuecomment-2025067539

maupind commented 6 months ago

Hey! I think a great way is to start testing it out if you haven't already via here #259641 (comment)

Awesome thank you, I'll do this and look at reporting any issues and working alongside to try and fix it

RAVENz46 commented 5 months ago

A new package, cosmic-reader is coming!

AidanNotFunny commented 5 months ago

I also want to test for COSMIC, I will try daily driving and see if there are any issues with the nix package or any of that such.

amozeo commented 5 months ago

Development of modules is happening in https://github.com/lilyinstarlight/nixos-cosmic

I also want to test for COSMIC, I will try daily driving and see if there are any issues with the nix package or any of that such. @MrGamerDoesGames

krovuxdev commented 5 months ago

Development of modules is happening in https://github.com/lilyinstarlight/nixos-cosmic

I also want to test for COSMIC, I will try daily driving and see if there are any issues with the nix package or any of that such. @MrGamerDoesGames

Hello! I'm trying to set up the flake. This is my first time working with flakes. I copied the flake text into flake.nix, saved it, (in my /etc/nixos directory), and ran 'sudo nixos rebuild --switch'. It downloaded successfully, and I put the "desktopManager" thing in my nix config, but now when I try to run the command I get this error message, and it fails:

error: flake 'path:/etc/nixos' does not provide attribute 'packages.x86_64-linux.nixosConfigurations."NixOSurface".config.system.build.nixos-rebuild', 'legacyPackages.x86_64-linux.nixosConfigurations."NixOSurface".config.system.build.nixos-rebuild' or 'nixosConfigurations."NixOSurface".config.system.build.nixos-rebuild'

nix flake update in the directory doesn't work either. I'm sorry if I'm just making some noob mistake or something. I can send screenshots or logs if needed.

this is use command sudo nixos-rebuild switch . or sudo nixos-rebuild switch --flake . for build you system, because your command sudo nixos build --switch is to build binary

mxkrsv commented 5 months ago

I copied the flake text into flake.nix, saved it, (in my /etc/nixos directory), and ran 'sudo nixos rebuild --switch'.

That's not how flakes work. You've just replaced your system with nixos-cosmic flake. You have to add nixos-cosmic to your own system flake's inputs instead.

ahoneybun commented 5 months ago

Let's move any troubleshooting of nixos-cosmic into that repo rather then this issue for tracking the packaging of COSMIC on NixOS.

AidanNotFunny commented 5 months ago

Update: I'm really sorry to all the maintainers, this was not the right place for this. I was being stupid, and I had absolutely zero knowledge of flakes at all. I've educated myself on how they work and I'll try it again tomorrow. I'll delete all my previous comments as they were not on topic. Again, sorry for the waste of time and resources.

ahoneybun commented 5 months ago

Update: I'm really sorry to all the maintainers, this was not the right place for this. I was being stupid, and I had absolutely zero knowledge of flakes at all. I've educated myself on how they work and I'll try it again tomorrow. I'll delete all my previous comments as they were not on topic. Again, sorry for the waste of time and resources.

No worries as everyone is learning and I know flakes have a higher then normal learning curve.

Thatoo commented 5 months ago

Will it be possible to install/test Cosmic on stable 24.05 in few days or it will still be usable only on unstable?