nix-config/modules/desktop/default.nix

30 lines
702 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
nerd-fonts.victor-mono
gimp
darktable
];
fonts.fontconfig = {
enable = true;
antialiasing = true;
defaultFonts.monospace = [ "VictorMono Nerd Font" ];
};
};
# TODO: Persist ~/.config/cosmic after setup
# and symlink it with home manager
}