-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
72 lines (66 loc) · 1.96 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
description = "Dotfiles Flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
darwin = {
url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
neovim-nightly = {
url = "github:nix-community/neovim-nightly-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland = {
url = "github:hyprwm/Hyprland";
};
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland";
};
hyprlock = {
url = "github:hyprwm/hyprlock";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprpanel = {
url = "github:Jas-SinghFSU/HyprPanel";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprpaper = {
url = "github:hyprwm/hyprpaper";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprpolkitagent = {
url = "github:hyprwm/hyprpolkitagent";
inputs.nixpkgs.follows = "nixpkgs";
};
madness = {
url = "github:antithesishq/madness";
};
};
outputs =
inputs @ { self
, darwin
, nixpkgs
, home-manager
, ...
}:
{
nixosConfigurations = {
expedition = import ./nix/hosts/expedition { inherit nixpkgs; inherit inputs; };
};
darwinConfigurations = {
"Ricky-Lopez-DTQ4WX0376" = import ./nix/hosts/workMac { inherit self; inherit nixpkgs; inherit inputs; };
};
# Expose the package set, including overlays, for convenience.
darwinPackages = self.darwinConfigurations."Ricky-Lopez-DTQ4WX0376".pkgs;
defaultPackage.x86_64-linux = home-manager.defaultPackage.x86_64-linux;
homeConfigurations = {
"ricclopez@donnager" = import ./nix/hosts/donnager { inherit self nixpkgs inputs; };
"ricclopez@thinkrick" = import ./nix/hosts/thinkrick { inherit self nixpkgs inputs; };
};
};
}