-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.nix
98 lines (86 loc) · 2.46 KB
/
home.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
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.antidotfiles;
in
{
options.antidotfiles.colours =
let
mkColour = description: default: mkOption {
inherit default;
description = "Define the colour for ${description}.";
example = "ffffff";
type = types.str;
};
in
{
black = mkColour "black" "6d7381";
red = mkColour "red" "d84231";
green = mkColour "green" "78c42d";
yellow = mkColour "yellow" "fcba04";
blue = mkColour "blue" "1da1f2";
magenta = mkColour "magenta" "f94a76";
cyan = mkColour "cyan" "30d1f2";
orange = mkColour "orange" "fe8019";
brightBlack = mkColour "bright black" "777e8d";
brightRed = mkColour "bright red" "db5343";
brightGreen = mkColour "bright green" "84c940";
brightYellow = mkColour "bright yellow" "fcc01a";
brightBlue = mkColour "bright blue" "31a9f3";
brightMagenta = mkColour "bright magenta" "f95882";
brightCyan = mkColour "bright cyan" "42d5f3";
brightOrange = mkColour "bright orange" "fe8b2d";
zero = mkColour "darkest dark" "32353c";
dark0 = mkColour "darkest black" "373a41";
dark1 = mkColour "darker black" "41454d";
dark2 = mkColour "black" "4c515a";
dark3 = mkColour "darker grey" "575c67";
dark4 = mkColour "grey" "626874";
light0 = mkColour "brightest white" "f2f3f4";
light1 = mkColour "brighter white" "d9dbdf";
light2 = mkColour "white" "c1c4cb";
light3 = mkColour "lightest grey" "a8acb6";
light4 = mkColour "lighter grey" "8f9fa1";
};
config = {
programs.direnv.enable = true;
programs.direnv.nix-direnv.enable = true;
home = {
stateVersion = "23.05";
username = "nathan";
keyboard.layout = "gb";
language.base = "en_GB.utf8";
sessionPath = ["\${HOME}/.cargo/bin"];
packages = with pkgs; [
alacritty
tmux
fira-code
fira-code-symbols
font-awesome_5
liberation_ttf
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
emacs-all-the-icons-fonts
gnumake
python3
rustup
yarn
nodejs
bat
coreutils
gitAndTools.delta
gitAndTools.git-lfs
wget
tree
zip
unzip
inkscape
texlive.combined.scheme-full
] ++ lib.optionals stdenv.isDarwin [
cocoapods
m-cli
];
};
};
}