-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
128 lines (100 loc) · 3.17 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
{
description = "TRONG's NixOS builds: ThePirateBay, TheTreeHouse, & ThePirateShip";
inputs = {
# Base Inputs
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05";
home-manager = { # Home-Manager
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
snowfall-lib = { # Snowfall Ecosystem
url = "github:snowfallorg/lib";
inputs.nixpkgs.follows = "nixpkgs";
};
# Stylix System Colors
stylix.url = "github:danth/stylix";
# GRUB Bootloader Themes
grub-themes.url = "github:jeslie0/nixos-grub-themes";
nixos-generators = { # ISO Generator
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
};
# Extra Inputs
# Sleepy Suckless Ecosystem
sleepy-dwm.url = "github:thelinuxpirate/sleepy-dwm";
# Cosmic Desktop
nixos-cosmic.url = "github:lilyinstarlight/nixos-cosmic";
# Emacs Overlay
emacs-overlay = {
url = "github:nix-community/emacs-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
# Darkwraith Emacs
#darkwraith-emacs.url = "github:thelinuxpirate/Darkwraith-Emacs";
# NixVim Configuration
hielo.url = "github:thelinuxpirate/HIELO";
# Web Browser
zen-browser.url = "github:/MarceColl/zen-browser-flake";
# HyprPanel Bar
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
# Themes for Alacritty Terminal
alacritty-themes.url = "github:alexghr/alacritty-theme.nix";
# Wayland Wallpaper Tool
swww.url = "github:LGFae/swww";
# Ags Shell
ags.url = "github:Aylur/ags";
# Spicetify
spicetify-nix.url = "github:Gerg-L/spicetify-nix";
# Nix-Minecraft (Server)
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
# Nix-Minecraft (Launcher)
nix-minecraft-launcher.url = "github:12Boti/nix-minecraft";
nix-gaming = { # NixOS Gaming Options
url = "github:fufexan/nix-gaming";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs: let
lib = inputs.snowfall-lib.mkLib {
inherit inputs;
src = ./.;
snowfall = {
meta = {
name = "thepiratebay";
title = "ThePirateBay";
};
namespace = "thepiratebay";
};
};
in
lib.mkFlake {
inherit inputs;
src = ./.;
channels-config = {
allowUnfree = true;
permittedInsecurePackages = [
"openssl-1.1.1w"
"olm-3.2.16"
];
};
homes.modules = with inputs; [
ags.homeManagerModules.default
spicetify-nix.homeManagerModules.default
];
overlays = with inputs; [
alacritty-themes.overlays.default
hyprpanel.overlay
];
systems.modules.nixos = with inputs; [
home-manager.nixosModules.home-manager
nixos-generators.nixosModules.all-formats
stylix.nixosModules.stylix
sleepy-dwm.nixosModules.sleepy
nixos-cosmic.nixosModules.default
nix-gaming.nixosModules.pipewireLowLatency
nix-gaming.nixosModules.platformOptimizations
];
templates = import ./templates {};
};
}