-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
executable file
·117 lines (103 loc) · 3.05 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
{
description = "the gayest flake that you have ever seen";
inputs = {
# General
home = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
plasma-manager = {
url = "github:pjones/plasma-manager";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home";
};
kwin-effects-forceblur = {
url = "github:taj-ny/kwin-effects-forceblur";
inputs.nixpkgs.follows = "nixpkgs";
};
nixHW.url = "github:nixos/nixos-hardware/master";
f2k = {
url = "github:moni-dz/nixpkgs-f2k";
inputs.nixpkgs.follows = "nixpkgs";
};
nur.url = "github:nix-community/NUR";
vscode-ext.url = "github:nix-community/nix-vscode-extensions";
flatpaks.url = "github:GermanBread/declarative-flatpak/stable-v3";
anyrun = {
url = "github:Kirottu/anyrun";
inputs.nixpkgs.follows = "nixpkgs";
};
## Hyprland stuff
#hyprland = {
# url = "github:hyprwm/Hyprland?ref=v0.36.0";
# inputs.nixpkgs.follows = "nixpkgs";
#};
#hypr-smw = {
# url = "github:Duckonaut/split-monitor-workspaces/d0012b8b0f764e32dd7b82f7a94b8c30197d7dc8";
# inputs.hyprland.follows = "hyprland";
#};
#hypr-hy3 = {
# url = "github:outfoxxed/hy3?ref=hl0.36.0";
# inputs.hyprland.follows = "hyprland";
#};
# Flake for testing COSMIC on NixOS
nixos-cosmic = {
url = "github:lilyinstarlight/nixos-cosmic";
inputs.nixpkgs.follows = "nixpkgs";
};
# Hoyoverse games
aagl = {
url = "github:ezKEa/aagl-gtk-on-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
# Nixpkgs
unstable.url = "github:nixos/nixpkgs/nixos-unstable";
stable.url = "github:nixos/nixpkgs/nixos-24.11";
master.url = "github:nixos/nixpkgs/master";
nixpkgs.follows = "unstable";
### newm is currently unmaintained...
# newm = {
# url = "github:jbuchermn/newm";
# inputs.nixpkgs.follows = "nixpkgs";
# };
};
outputs =
{ self
, nixpkgs
, nur
, f2k
, vscode-ext
, ...
} @ inputs:
let
inherit (lib.ext) importNixFiles mapHosts;
repoConf = {
config = {
allowUnfree = true;
allowBroken = true;
permittedInsecurePackages = [
"freeimage-unstable-2021-11-01" # for EmulationStation DE (desktop edition)
"fluffychat-linux-1.22.1" # isn't really insecure
"fluffychat-linux-1.23.0"
"cinny-unwrapped-4.2.3"
"cinny-4.2.3"
"olm-3.2.16" # this is what marks fluffy and many other matrix things as insecure
];
};
overlays = importNixFiles ./overlays ++
[
nur.overlay
f2k.overlays.default
vscode-ext.overlays.default
];
};
lib = nixpkgs.lib.extend (final: prev: {
ext = import ./lib
{ inherit inputs repoConf; lib = prev; };
});
in
{
# nixosModules = mapModulesRec ./modules;
nixosConfigurations = mapHosts ./hosts;
};
}