-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
39 lines (35 loc) · 1.09 KB
/
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
{
description = "Drake Flake";
inputs = {
ghostty = {
url = "github:ghostty-org/ghostty";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
mac-app-util.url = "github:hraban/mac-app-util";
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
nix-darwin.url = "github:LnL7/nix-darwin/master";
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:nixos/nixos-hardware/master";
};
outputs = {...} @ inputs: rec {
# darwin-rebuild switch --flake .#iris
darwinConfigurations = {
macbook = import ./darwin/macbook {
inherit inputs;
};
};
# sudo nixos-rebuild switch --flake .#desktop
nixosConfigurations = {
desktop = import ./nixOS/desktop {inherit inputs;};
pocket = import ./nixOS/pocket {inherit inputs;};
};
# home-manager switch --flake .#iris
homeConfigurations = {
iris = import ./darwin/iris {inherit inputs;};
};
};
}