summaryrefslogtreecommitdiff
path: root/hosts/nara/default.nix
blob: 8015ecaa69c34a055a56d2fa7847a1d715275db0 (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
{
  inputs,
  kansaiPkgs,
  self,
}:
let
  pkgs =
    (kansaiPkgs {
      nixpkgsIsDarwin = true;
    })."aarch64-darwin";
in
{
  flake.darwinConfigurations.nara = inputs.nix-darwin.lib.darwinSystem {
    inherit pkgs;

    modules = with inputs; [
      ./configuration.nix
      nix-homebrew.darwinModules.nix-homebrew
      home-manager.darwinModules.home-manager
      sops-nix.darwinModules.sops
      "${self}/home/ebisu/nara"
    ];

    specialArgs = {
      inherit inputs pkgs self;
    };
  };
}