forked from Tanish2002/nixos-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
91 lines (89 loc) · 2.39 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
{
description = "Epic Nixos Config";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-21.11";
unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nur.url = "github:nix-community/NUR";
home-manager = {
url = "github:nix-community/home-manager/release-21.11";
inputs.nixpkgs.follows = "nixpkgs";
};
discord-overlay = {
url = "github:InternetUnexplorer/discord-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
discocss = {
url = "github:mlvzk/discocss/flake";
inputs.nixpkgs.follows = "nixpkgs";
};
picom-git = {
url = "github:Tanish2002/picom?submodules=1";
flake = false;
};
wallpapers = {
url = "github:Tanish2002/wallpapers";
flake = false;
};
bin = {
url = "github:Tanish2002/bin";
flake = false;
};
phocus = {
url = "github:Tanish2002/gtk";
flake = false;
};
dwm-git = {
url = "github:Tanish2002/dwm-tanish2002";
flake = false;
};
st-git = {
url = "github:Tanish2002/st-tanish2002";
flake = false;
};
xmonad-git = {
url = "github:Tanish2002/xmonad-tanish2002";
flake = false;
};
tabbed-git = {
url = "github:Tanish2002/tabbed-tanish2002";
flake = false;
};
nix-zsh-completions = {
url = "github:spwhitt/nix-zsh-completions";
flake = false;
};
utils.url = "github:gytis-ivaskevicius/flake-utils-plus";
};
outputs =
inputs@{ self, nixpkgs, unstable, utils, home-manager, discocss, nur, ... }:
utils.lib.mkFlake {
inherit self inputs;
channelsConfig.allowUnfree = true;
sharedOverlays = [ (import ./overlays) ];
hostDefaults.modules = [
home-manager.nixosModules.home-manager
./system/sharedConfig.nix
{
home-manager = {
users.weeb = import ./home/home.nix;
sharedModules = [
discocss.hmModule
{
nixpkgs.overlays = [
nur.overlay
(final: prev: {
unstable = unstable.legacyPackages.${prev.system};
})
];
}
];
extraSpecialArgs = {
inherit inputs;
theme = import ./theme;
};
};
}
];
hosts.anime.modules = [ ./system/hosts/anime.nix ];
};
}