1
0
Fork 0
puter/profiles/desktop/cosmic.nix

36 lines
661 B
Nix
Raw Normal View History

2025-05-11 22:49:04 +02:00
{
config,
lib,
inputs,
2025-07-14 21:18:44 +02:00
pkgs,
2025-05-11 22:49:04 +02:00
...
}:
let
cfg = config.profiles.desktop;
in
{
imports = [
inputs.nixos-cosmic.nixosModules.default
];
config = lib.mkIf cfg.enable {
nix.settings = {
substituters = [ "https://cosmic.cachix.org" ];
trusted-public-keys = [ "cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE=" ];
};
services = {
desktopManager.cosmic.enable = true;
displayManager.cosmic-greeter.enable = true;
};
2025-07-14 21:18:44 +02:00
environment.cosmic.excludePackages = [
pkgs.cosmic-edit
pkgs.cosmic-player
];
2025-05-11 22:49:04 +02:00
environment.sessionVariables.COSMIC_DATA_CONTROL_ENABLED = 1;
};
}