-
Notifications
You must be signed in to change notification settings - Fork 1
/
flake.nix
127 lines (103 loc) · 3.02 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
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
description = "Vinny's NixOS Configuration";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05";
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-parts.url = "github:hercules-ci/flake-parts";
blink-cmp = {
url = "github:Saghen/blink.cmp";
inputs = {
# nixpkgs.follows = "nixpkgs";
# flake-parts.follows = "flake-parts";
# fenix.follows = "fenix";
};
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
lanzaboote = {
url = "github:nix-community/lanzaboote";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-utils.url = "github:numtide/flake-utils";
nixCats.url = "github:BirdeeHub/nixCats-nvim";
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
avante-nvim = {
url = "github:vinnymeller/avante-nvim-nightly-flake";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils";
};
};
twm = {
url = "github:vinnymeller/twm";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
plugins-blink-compat = {
url = "github:Saghen/blink.compat";
flake = false;
};
plugins-vim-dadbod-completion = {
url = "github:kristijanhusak/vim-dadbod-completion";
flake = false;
};
plugins-grug-far-nvim = {
url = "github:MagicDuck/grug-far.nvim";
flake = false;
};
};
outputs =
inputs@{
self,
flake-utils,
nixpkgs,
nixpkgs-master,
nixpkgs-stable,
home-manager,
lanzaboote,
nixCats,
blink-cmp,
...
}:
let
inherit (self) outputs;
forAllSystems = nixpkgs.lib.genAttrs flake-utils.lib.defaultSystems; # change this if i need some weird systems
myNixCats = import ./programs/ncvim { inherit inputs; };
in
{
myNixCats = myNixCats;
packages =
forAllSystems (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
import ./pkgs { inherit pkgs; }
)
// myNixCats.packages;
devShells = forAllSystems (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
import ./shell.nix { inherit pkgs; }
);
overlays = import ./overlays { inherit inputs; };
nixosConfigurations = {
vinnix = import ./hosts/vinnix { inherit inputs outputs; };
vindows = import ./hosts/home-wsl { inherit inputs outputs; };
};
homeConfigurations = {
"vinny@wdtech-eos" = import ./hosts/wdtech-eos { inherit inputs outputs; };
"vinny@camovinny" = import ./hosts/camovinny { inherit inputs outputs; };
amina = import ./hosts/amina { inherit inputs outputs; };
};
};
}