-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
28 lines (25 loc) · 917 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
{
description = "asylcreek's dotfiles";
# inputs are other flakes you use within your own flake, dependencies
# if you will
inputs = {
# unstable has the 'freshest' packages you will find, even the AUR
# doesn't do as good as this, and it's all precompiled.
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
# In this context, outputs are mostly about getting home-manager what it
# needs since it will be the one using the flake
outputs = { nixpkgs, home-manager, ... }: {
homeConfigurations = {
"asylcreek" = home-manager.lib.homeManagerConfiguration {
# darwin is the macOS kernel and aarch64 means ARM, i.e. apple silicon
pkgs = nixpkgs.legacyPackages.aarch64-darwin;
modules = [ ./home.nix ];
};
};
};
}