aboutsummaryrefslogtreecommitdiffstats
path: root/home/desktop/default.nix
blob: 1012454c2e4cbeb1c95a66a6259b794b2dfc7768 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  config,
  pkgs,
  ...
}: {
  imports = [
    ./alacritty.nix
    ./games.nix
    ./ghostty.nix
    ./internet.nix
    ./multimedia.nix
    ./productivity.nix
  ];

  home.sessionVariables.NIXOS_OZONE_WL = "1";

  home.packages = with pkgs; [
    wl-clipboard
    xorg.xhost
  ];

  home.file.pw-pa-conf = {
    text = ''
      pulse.properties = {
          server.address = [
              "unix:native"
              "unix:/tmp/pulseaudio.socket"
          ]
      }
    '';

    target = "${config.xdg.configHome}/pipewire/pipewire-pulse.conf.d/socket.conf";
  };
}