From 909e3e695f17835b4c1125469759b4a695e82741 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Fri, 23 Feb 2024 17:37:01 +0000 Subject: [PATCH] Upload New File --- COSMIC/cosmic.nix | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 COSMIC/cosmic.nix diff --git a/COSMIC/cosmic.nix b/COSMIC/cosmic.nix new file mode 100644 index 0000000..00bff01 --- /dev/null +++ b/COSMIC/cosmic.nix @@ -0,0 +1,32 @@ +{ unstable, config, pkgs, ... }: + +{ + # Enable COSMIC + services.xserver = { + enable = true; + displayManager.cosmic-greeter.enable = true; + desktopManager.cosmic.enable = true; + }; + + # Grab unstable NixOS packages for using and building COSMIC + environment.systemPackages = (with pkgs; [ + rustc + cargo + cosmic-launcher + cosmic-applibrary + cosmic-panel + cosmic-greeter + cosmic-settings + cosmic-settings-daemon + cosmic-screenshot + cosmic-term + cosmic-files + cosmic-edit + xdg-desktop-portal-cosmic + # For screenshots until cosmic-screenshot is updated + ksnip + ]); + + # Fix cosmic-greeter + security.pam.services.cosmic-greeter = {}; +}