Files
nixos-setup/modules/nixos/desktop/cosmic.nix
T
ari bb53a89e1c Bye bye KDE & hello offline builds
- Offline caches will no longer fail builds
- Not using KDE anymore
- Power management for COSMIC
2025-03-18 09:47:31 -04:00

21 lines
437 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.skyg.nixos.desktop.cosmic;
in
{
options = {
skyg.nixos.desktop.cosmic = {
enable = lib.mkEnableOption
"Cosmic";
};
};
config = lib.mkIf cfg.enable {
environment.systemPackages = [
pkgs.cosmic-icons
];
services.desktopManager.cosmic.enable = true;
hardware.system76.enableAll = true;
hardware.system76.power-daemon.enable = true;
};
}