aboutsummaryrefslogtreecommitdiff
path: root/void/home.nix
blob: da66e49513d3f16f3cb6bebda450e002115d2fc9 (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{ inputs, config, lib, pkgs, ... }:
{
  imports = [
    ../modules/global.nix
    ../modules
  ];

  config.modules = {
    global = {
      notNixOS = true;
      wayland = true;

      extraPackages = with pkgs; [
        wmenu
        cmatrix
      ];
    };

    foot.enable = true;

    gpg.enable = true;

    pass = {
      enable = true;
      key = "B5200ABFBD213FC9C17C6DB91291CBBCF3B9F225";
    };

    neovim = {
      enable = true;
    };

    sway = {
      enable = true;
      terminal = "foot";
    };

    mako.enable = true;
    neovide.enable = true;

    services = {
      enable = true;
      coreServices = ["dbus"];
      services = {
        "pipewire" = {
          run = "${builtins.readFile ./services/pipewire/run}";
          log = "${builtins.readFile ./services/pipewire/log/run}";
        };
        "mpd" = {
          run = "${builtins.readFile ./services/mpd/run}";
        };
        "dbus" = {
          run = "${builtins.readFile ./services/dbus/run}";
          log = "${builtins.readFile ./services/dbus/log/run}";
        };
      };
    };
  };
}