-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
98 lines (96 loc) · 2.54 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
{
description = "Nix Environment";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
nixos-apple-silicon = {
url = "github:zzywysm/nixos-asahi";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
wezterm = {
url = "github:wez/wezterm/main?dir=nix";
inputs.nixpkgs.follows = "nixpkgs";
};
grc-rs = {
url = "github:mariesavch/grc-rs";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, home-manager, ... }@inputs:
let
themes = {
dark = {
type = "dark";
rosewater = "ff8389";
flamingo = "ff8389";
red = "ff8389";
maroon = "ff8389";
pink = "ff7eb6";
mauve = "be95ff";
peach = "d44a1c";
yellow = "ab8600";
green = "08bdba";
teal = "33b1ff";
sky = "33b1ff";
sapphire = "33b1ff";
blue = "78a9ff";
lavender = "78a9ff";
text = "ffffff";
subtext1 = "f4f4f4";
subtext0 = "e0e0e0";
overlay2 = "adadad";
overlay1 = "949494";
overlay0 = "7a7a7a";
surface2 = "4f4f4f";
surface1 = "383838";
surface0 = "2e2e2e";
base = "161616";
mantle = "0d0d0d";
crust = "000000";
};
light = {
type = "light";
rosewater = "da1e28";
flamingo = "da1e28";
red = "da1e28";
maroon = "da1e28";
pink = "d02670";
mauve = "8a3ffc";
peach = "d44a1c";
yellow = "ab8600";
green = "007d79";
teal = "1192e8";
sky = "1192e8";
sapphire = "1192e8";
blue = "0f62fe";
lavender = "0f62fe";
text = "000000";
subtext1 = "404040";
subtext0 = "474747";
overlay2 = "575757";
overlay1 = "595959";
overlay0 = "737373";
surface2 = "8c8c8c";
surface1 = "d1d1d1";
surface0 = "e6e6e6";
base = "FFFFFF";
mantle = "f2f2f2";
crust = "ebebeb";
};
};
colors = themes.dark;
in {
nixosConfigurations."kitaro" = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
specialArgs = { inherit inputs colors; };
modules = [
./hosts/kitaro
./hosts/common
home-manager.nixosModules.home-manager
];
};
};
}