-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathflake.nix
More file actions
51 lines (43 loc) · 1.44 KB
/
flake.nix
File metadata and controls
51 lines (43 loc) · 1.44 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
{
description = "Evan's Nix System Configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
home-manager = {
url = "github:nix-community/home-manager/release-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};
darwin = {
url = "github:LnL7/nix-darwin/nix-darwin-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-wsl = {
url = "github:nix-community/NixOS-WSL";
inputs.nixpkgs.follows = "nixpkgs";
};
llm-agents.url = "github:numtide/llm-agents.nix";
# Overlays
# neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay?sha=a49f9d17bcaa684b81fc4322fbcbfc3ba501d40e"; # 2026-03-30
# jujutsu.url = "github:jj-vcs/jj?tag=v0.39.0";
jj-starship.url = "github:dmmulroy/jj-starship?tag=v0.7.0";
# devenv.url = "github:cachix/devenv?tag=v2.0.6";
};
outputs =
{ nixpkgs, ... }@inputs:
let
overlays = builtins.attrValues (import ./overlays { inherit inputs; });
mkSystem = import ./lib/mksystem.nix { inherit overlays nixpkgs inputs; };
in
{
nixosConfigurations.wsl = mkSystem "wsl" {
system = "x86_64-linux";
user = "evantravers";
wsl = true;
};
darwinConfigurations.Theseus = mkSystem "macbook-pro" {
system = "aarch64-darwin";
user = "evantravers";
darwin = true;
};
};
}