-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathflake.nix
More file actions
110 lines (108 loc) · 3.54 KB
/
flake.nix
File metadata and controls
110 lines (108 loc) · 3.54 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
description = "Eden's NixOS Flake";
outputs =
{
self,
nixpkgs,
...
}@inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" ];
imports = [
./hosts
inputs.treefmt-nix.flakeModule
{ _module.args = { inherit inputs self nixpkgs; }; }
];
flake = {
homeManagerModules = import ./modules/home-manager;
overlays = import ./overlays { inherit inputs self; };
templates = import ./templates;
};
perSystem =
{ pkgs, ... }:
{
packages = import ./pkgs { inherit pkgs; };
treefmt = {
projectRootFile = "flake.nix";
programs.nixfmt.enable = true;
programs.ruff-format.enable = true;
programs.prettier.enable = true;
programs.beautysh.enable = true;
programs.toml-sort.enable = true;
settings.global.excludes = [ "*.age" ];
settings.formatter = {
jsonc = {
command = "${pkgs.nodePackages.prettier}/bin/prettier";
includes = [ "*.jsonc" ];
};
scripts = {
command = "${pkgs.beautysh}/bin/beautysh";
includes = [ "*/scripts/*" ];
};
};
};
};
};
inputs = {
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.11";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
nixpkgs-r.url = "github:NixOS/nixpkgs/nixos-25.11";
nixpkgs-new-libinput.url = "github:skowalak/nixpkgs/libinput-update-1.31.0";
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-parts.url = "github:hercules-ci/flake-parts";
niri-unstable = {
url = "github:niri-wm/niri/wip/branch";
flake = false;
};
niri = {
url = "github:sodiboo/niri-flake";
inputs.niri-unstable.follows = "niri-unstable";
};
nur.url = "github:nix-community/NUR";
stylix = {
url = "github:nix-community/stylix";
inputs.nixpkgs.follows = "nixpkgs";
};
nixvim.url = "github:nix-community/nixvim/nixos-25.11";
nil = {
url = "github:oxalica/nil";
inputs.nixpkgs.follows = "nixpkgs";
};
nixd = {
url = "github:nix-community/nixd";
inputs.nixpkgs.follows = "nixpkgs";
};
nh.url = "github:nix-community/nh";
treefmt-nix.url = "github:numtide/treefmt-nix";
agenix.url = "github:ryantm/agenix";
mangowc.url = "github:DreamMaoMao/mangowc";
nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland";
nix-matlab = {
url = "gitlab:doronbehar/nix-matlab";
inputs.nixpkgs.follows = "nixpkgs";
};
ghostty.url = "github:ghostty-org/ghostty";
nixGL.url = "github:nix-community/nixGL";
quickshell = {
url = "git+https://git.outfoxxed.me/quickshell/quickshell";
inputs.nixpkgs.follows = "nixpkgs";
};
dank-material-shell.url = "github:AvengeMedia/DankMaterialShell";
caelestia-shell = {
url = "github:caelestia-dots/shell";
inputs.quickshell.follows = "quickshell";
};
caelestia-cli.url = "github:caelestia-dots/cli";
noctalia-shell = {
url = "github:noctalia-dev/noctalia-shell";
inputs.nixpkgs.follows = "nixpkgs";
};
hexecute.url = "github:ThatOtherAndrew/Hexecute";
kimi-cli.url = "github:MoonshotAI/kimi-cli";
awww.url = "git+https://codeberg.org/LGFae/awww";
waydeeper.url = "git+file:///home/eden/Repos/waydeeper-rust";
};
}