dotfiles/machines/common/linux/cosmic.nix
winston b4cfeb3ebb
feat: swayfx flake -> nixpkgs, add cosmic flake
inputs: remove swayfx
overlays: get rid of most of my NUR overrides
swayfx: flake -> nixpkgs cache
cosmic: init
options: simplify mkIf guard for config.dotfiles.desktop
2024-08-11 18:08:20 +02:00

11 lines
265 B
Nix

{ lib, config, ... }:
{
config = lib.mkIf (config.dotfiles.desktop == "cosmic") {
environment.sessionVariables.NIXOS_OZONE_WL = "1";
services = {
desktopManager.cosmic.enable = true;
displayManager.cosmic-greeter.enable = true;
};
};
}