nix-config/modules/desktop/default.nix
2026-03-03 23:32:35 +00:00

46 lines
984 B
Nix

{ ... }:
{
flake.modules.nixos.desktop =
{ pkgs, ... }:
{
services.displayManager.cosmic-greeter.enable = true;
services.desktopManager.cosmic.enable = true;
services.system76-scheduler.enable = true;
environment.cosmic.excludePackages = with pkgs; [
cosmic-term
];
environment.systemPackages = with pkgs; [
bibata-cursors
gimp
darktable
];
fonts.packages = with pkgs; [
nerd-fonts.victor-mono
];
fonts.fontconfig = {
enable = true;
antialias = true;
hinting = {
enable = true;
style = "slight";
};
defaultFonts.monospace = [ "VictorMono Nerd Font Mono" ];
};
gtk = {
enable = true;
cursorTheme = {
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Ice";
size = 24;
};
};
};
# TODO: Persist ~/.config/cosmic after setup
# and symlink it with home manager
}