aboutsummaryrefslogtreecommitdiff
path: root/void/home.nix
blob: 481d431e375aba80baf88b0b53216ff35ac1b13b (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
  inputs,
  config,
  lib,
  pkgs,
  ...
}:
{
  imports = [
    ../modules/global.nix
    ../modules
  ];

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

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

    zsh.theme = "simple";
    foot.enable = true;
    colors.mountain.enable = true;
    # colors.default-dark.enable = true;
    # colors.tomorrow.enable = true;
    # colors.bright.dark.enable = true;
    # colors.evenok-dark.enable = true;
    # colors.google-dark.enable = true;
    # colors.grayscale-dark.enable = true;
    # colors.grayscale-light.enable = true;
    gpg.enable = true;
    qutebrowser.enable = true;

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

    neovim = {
      enable = true;
    };

    sway = {
      enable = true;
      terminal = "footclient";
      startup = [
        {
          command = "foot -s";
          always = false;
        }
        {
          command = "avizo-service";
          always = false;
        }
        {
          # TODO: move to turnstile
          command = "tmux start-server";
          always = false;
        }
      ];
    };

    i3status = {
      enable = true;
      battery = true;
      wireless = true;
    };

    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}";
        };
        "mpdscribble" = {
          run = "${builtins.readFile ./services/mpdscribble/run}";
        };
        "dbus" = {
          run = "${builtins.readFile ./services/dbus/run}";
          log = "${builtins.readFile ./services/dbus/log/run}";
        };
      };
    };
  };
}