about summary refs log tree commit diff
path: root/nixos/default.nix
blob: 22593b5141686b87aeab36768ca0cac160736762 (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
{ self, unstable, ... } @ inputs:

{
  alpha = self.lib.mkSystem {
    name = "alpha";
    nixpkgs = unstable;
    extraModules = [
      inputs.sops-nix.nixosModules.sops
      inputs.madness-ld.nixosModules.madness
    ];
  };

  haruka = self.lib.mkSystem {
    name = "haruka";
    nixpkgs = unstable;
    extraModules = [
      inputs.sops-nix.nixosModules.sops
    ];
  };

  kanata = self.lib.mkSystem {
    name = "kanata";
    nixpkgs = unstable;
    extraModules = [
      inputs.sops-nix.nixosModules.sops
    ];
    overlays = [
      (final: prev: {
        # TODO: https://github.com/NixOS/nixpkgs/pull/307083
        invidious = prev.invidious.overrideAttrs(old: {
          src = prev.fetchFromGitHub {
            owner = "iv-org";
            repo = "invidious";
            fetchSubmodules = true;
            rev = "v2.20240427";
            hash = "sha256-YZ+uhn1ESuRTZxAMoxKCpxEaUfeCUqOrSr3LkdbrTkU=";
          };
        });
      })
    ];
  };
}