-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
151 lines (128 loc) · 3.52 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
description = "Main system flake";
inputs = {
# Nixpkgs (nixos-unstable is the perfect version for me)
nixpkgs.url = "nixpkgs/nixos-unstable";
# Home manager
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
# Nixos Hardware for hardware settings
nixos-hardware = {
url = "github:NixOS/nixos-hardware/master";
};
# Nix Index Database for comma
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
# Plasma-Manager to declaratively manage KDE Plasma
plasma-manager = {
url = "github:nix-community/plasma-manager";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
# Lanzaboote for a secure boot implementation
lanzaboote = {
url = "github:nix-community/lanzaboote/v0.4.1";
inputs.nixpkgs.follows = "nixpkgs";
};
# NUR for Klassy
nur.url = "github:nix-community/NUR";
# Catppuccin for theming
catppuccin.url = "github:catppuccin/nix";
# Stylix for theming
stylix.url = "github:danth/stylix";
# Disko for declarative disk management
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
# Hyprland Tiling Window Manager
hyprland.url = "github:hyprwm/Hyprland";
# Hyprland Plugins for Hyprland
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland";
};
# Nix Gaming for Steam platformOptimizations
nix-gaming.url = "github:fufexan/nix-gaming";
# Spicetify-Nix for Spotify theming
spicetify-nix = {
url = "github:Gerg-L/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
# SOPS-Nix
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
# NixOS WSL
nixos-wsl.url = "github:nix-community/NixOS-WSL/main";
# Pimalaya
pimalaya = {
url = "github:pimalaya/nix";
flake = false;
};
# Comodoro, a Pomodoro app made by Pimalaya
comodoro = {
url = "github:pimalaya/comodoro";
inputs.pimalaya.follows = "pimalaya";
};
# Ghostty
ghostty = {
url = "github:ghostty-org/ghostty";
};
# ------------------------ MY CUSTOM STUFF -------------------------------
# My Custom Wallpapers package
wallpapers = {
url = "github:nulladmin1/wallpapers";
flake = false;
};
# Wakanix (my custom Wakatime module)
wakanix = {
url = "github:nulladmin1/wakanix";
inputs.nixpkgs.follows = "nixpkgs";
};
# My Custom Nixvim Configuration
nixvim = {
url = "github:nulladmin1/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
self,
nixpkgs,
...
} @ inputs: let
inherit (nixpkgs) lib;
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
in {
formatter.${system} = pkgs.alejandra;
nixosConfigurations = {
neo16 = lib.nixosSystem {
inherit system;
modules = [
./hosts/neo16/configuration.nix
];
specialArgs = {
inherit lib system inputs;
};
};
wsl = lib.nixosSystem {
inherit system;
modules = [
./hosts/wsl/configuration.nix
];
specialArgs = {
inherit lib system inputs;
};
};
};
};
}