Upload New File

This commit is contained in:
Aaron Honeycutt 2024-02-23 17:37:01 +00:00
parent 30931a1e08
commit 909e3e695f

32
COSMIC/cosmic.nix Normal file
View file

@ -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 = {};
}