Jump to content

COSMIC: Difference between revisions

662 bytes added ,  2 November 2023
no edit summary
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 ===


Anonymous user