-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
119 lines (93 loc) · 3.7 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
{
description = "NixOS configuration with flakes";
nixConfig = {
extra-substituters = [
"https://nix-gaming.cachix.org"
"https://tum-dse.cachix.org"
"https://cache.garnix.io"
];
extra-trusted-public-keys = [
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
"tum-dse.cachix.org-1:v67rK18oLwgO0Z4b69l30SrV1yRtqxKpiHodG4YxhNM="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
];
};
# To update all inputs:
# $ nix flake update .
inputs = {
#flake-utils.url = "github:numtide/flake-utils";
flake-parts.url = "github:hercules-ci/flake-parts";
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
nixpkgs.url = "github:Nixos/nixpkgs/nixos-24.11";
#nixpkgs.url = "github:Nixos/nixpkgs/nixos-unstable";
#unstablepkgs.url = "/home/peter/dev/nix/nixpkgs";
# unstablepkgs.url = "github:Nixos/nixpkgs/nixos-unstable";
unstablepkgs.url = "github:pogobanane/nixpkgs/nixos-unstable";
nur.url = "github:nix-community/NUR";
lambda-pirate.url = "github:pogobanane/lambda-pirate";
lambda-pirate.inputs.nixpkgs.follows = "nixpkgs";
# ctile.url = "path:/home/peter/dev/tiling/gnome-ctile";
ctile.url = "git+https://gitlab.com/pogobanane/gnome-ctile.git";
ctile.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager/release-24.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
#doom-emacs.url = "github:hlissner/doom-emacs";
#doom-emacs.url = "github:Mic92/doom-emacs/org-msg";
#doom-emacs.flake = false;
sops-nix.url = "github:Mic92/sops-nix";
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
retiolum.url = "github:Mic92/retiolum";
mic92-dotfiles.url = "github:pogobanane/mic92-dotfiles";
mic92-dotfiles.inputs.nixpkgs.follows = "nixpkgs";
tex2nix.url = "github:Mic92/tex2nix";
tex2nix.inputs.utils.follows = "nixpkgs";
discord-tar.url = "tarball+https://discord.com/api/download?platform=linux&format=tar.gz";
discord-tar.flake = false;
loc-src.url = "github:cgag/loc";
loc-src.flake = false;
hosthog.url = "github:pogobanane/hosthog";
# hosthog.inputs.nixpkgs.follows = "nixpkgs"; # hosthog needs to be updated to new nixpkgs
nix-top-src.url = "github:pogobanane/nix-top/dev/owner";
nix-top-src.flake = false;
nix-index-database.url = "github:Mic92/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
astro-nvim.url = "github:AstroNvim/AstroNvim/49d48171c22bcc1c3e67b36930f6b9c710f0c70c"; # pin to working version
astro-nvim.flake = false;
wondershaper-src.url = "github:magnific0/wondershaper";
wondershaper-src.flake = false;
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
nix-gaming.url = "github:fufexan/nix-gaming";
ghostty.url = "github:ghostty-org/ghostty";
fenix = {
url = "github:nix-community/fenix";
# if we follow nixpkgs, nixpkgs updates will trigger a fenixPkgs.rust-analyzer rebuild
#inputs.nixpkgs.follows = "nixpkgs";
};
impurity.url = "path:./modules/empty";
impurity.flake = false;
};
outputs = {
flake-parts,
...
} @ inputs: flake-parts.lib.mkFlake
{ inherit inputs; }
{
imports = [
./flake-packages.nix
./flake-configurations.nix
./flake-devshells.nix
./homeManager/poba-nvim/flake-packages.nix
];
systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ];
perSystem = { inputs', ... }: {
packages = {
};
};
flake = {
devShells.x86_64-linux = {
};
};
};
}