greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

kore / nixos / roles / desktop.nix55 lines · 1053B · raw

1{ pkgs, ... }:
2
3{
4  xdg.portal = {
5    enable = true;
6    extraPortals = [ pkgs.xdg-desktop-portal-wlr ];
7    configPackages = [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr ];
8
9    wlr.enable = true;
10
11    config.common = {
12      default = [ "wlr" ];
13    };
14  };
15
16  fonts = {
17    enableDefaultPackages = false;
18
19    packages = with pkgs; [
20      noto-fonts
21      noto-fonts-cjk-sans
22      noto-fonts-cjk-serif
23      noto-fonts-color-emoji
24
25      nerd-fonts.comic-shanns-mono
26    ];
27
28    fontconfig = {
29      hinting.autohint = true;
30
31      defaultFonts = {
32        serif = [ "Noto Serif" "Noto Color Emoji" ];
33        sansSerif = [ "Noto Sans" "Noto Color Emoji" ];
34        monospace = [ "ComicShannsMono Nerd Font" "Noto Color Emoji" ];
35        emoji = [ "Noto Color Emoji" ];
36      };
37    };
38  };
39
40  services = {
41    udisks2.enable = true;
42
43    pipewire = {
44      enable = true;
45
46      alsa.enable = true;
47      alsa.support32Bit = true;
48
49      pulse.enable = true;
50      jack.enable = true;
51
52      wireplumber.enable = true;
53    };
54  };
55}