-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
40 lines (31 loc) · 1013 Bytes
/
flake.nix
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
{
description = "Mememe flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
darwin = {
url = "github:lnl7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager/release-24.05";
inputs.nixpkgs.follows = "nixpkgs";
};
# Second time I have tried to add this thinking I needed it. IGNORE
# _1password-shell-plugins.url = "github:1Password/shell-plugins";
};
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, darwin, ... }@inputs: let
mksystem = import ./lib/mksystem.nix { inherit nixpkgs nixpkgs-unstable inputs; };
in {
darwinConfigurations.finn = mksystem "finn" {
system = "aarch64-darwin";
user = "finn";
darwin = true;
};
darwinConfigurations.task = mksystem "task" {
system = "aarch64-darwin";
user = "mike";
darwin = true;
};
};
}