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

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

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

  kanata = self.lib.mkSystem {
    name = "kanata";
    nixpkgs = unstable;
    extraModules = [
      inputs.sops-nix.nixosModules.sops
      inputs.impermanence.nixosModules.impermanence
      inputs.attic.nixosModules.atticd
    ];
    overlays = [
      (final: prev: {
        # TODO: https://github.com/NixOS/nixpkgs/pull/300643
        inherit (nixpkgs-invidious.legacyPackages.x86_64-linux)
          invidious;
      })
    ];
  };
}