-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
83 lines (78 loc) · 2.36 KB
/
flake.nix
File metadata and controls
83 lines (78 loc) · 2.36 KB
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
73
74
75
76
77
78
79
80
81
82
83
{
description = "A minimal and declarative development environment that is fast, efficient, and keyboard-centric";
inputs = {
agent-skills-nix = {
url = "github:Kyure-A/agent-skills-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
agent-browser-src = {
url = "github:vercel-labs/agent-browser";
flake = false;
};
agent-superpowers = {
url = "github:obra/superpowers";
flake = false;
};
anthropic-skills = {
url = "github:anthropics/skills";
flake = false;
};
llm-agents = {
url = "github:numtide/llm-agents.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
denix = {
url = "github:yunfachi/denix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
inputs.nix-darwin.follows = "nix-darwin";
};
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nixvim = {
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-darwin = {
url = "github:nix-darwin/nix-darwin/master";
inputs.nixpkgs.follows = "nixpkgs";
};
stylix = {
url = "github:nix-community/stylix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {denix, ...} @ inputs: let
mkConfigurations = moduleSystem: homeManagerUser:
denix.lib.configurations {
inherit moduleSystem homeManagerUser;
paths = [./hosts ./modules ./rices ./features];
extensions = with denix.lib.extensions; [
# https://yunfachi.github.io/denix/extensions/all-extensions#args
args
# https://yunfachi.github.io/denix/extensions/all-extensions#base
(base.withConfig {
hosts = {
features.enable = false;
displays.enable = false;
type.enable = false;
};
})
];
specialArgs = {
inherit homeManagerUser inputs;
};
};
in {
nixosConfigurations = mkConfigurations "nixos" "shandogs";
darwinConfigurations = mkConfigurations "darwin" "shanon";
};
}