-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
34 lines (30 loc) · 925 Bytes
/
flake.nix
File metadata and controls
34 lines (30 loc) · 925 Bytes
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
{
description = "bwees nix-darwin system flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
nix-darwin.url = "github:nix-darwin/nix-darwin/master";
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
nix-homebrew.url = "github:zhaofengli-wip/nix-homebrew";
darwin-custom-icons.url = "github:ryanccn/nix-darwin-custom-icons";
darwin-login-items.url = "github:uncenter/nix-darwin-login-items";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs =
inputs@{
self,
nix-darwin,
nixpkgs,
nix-homebrew,
darwin-custom-icons,
darwin-login-items,
home-manager,
}:
let
inherit (self) outputs;
libx = import ./lib { inherit inputs outputs; };
in
{
darwinConfigurations.laptop = libx.createDarwin { hostname = "laptop"; };
};
}