tangled
alpha
login
or
join now
matthew-hre.com
/
flake
0
fork
atom
My NixOS configuration (mirror)
0
fork
atom
overview
issues
pulls
pipelines
fix: cleaned out some old unused options
matthew-hre.com
4 months ago
58be3754
333828d5
+18
-117
6 changed files
expand all
collapse all
unified
split
home
default.nix
fzf.nix
nvf
languages.nix
shell
default.nix
kitty.nix
wayland
niri
binds.nix
+1
-2
home/default.nix
···
17
17
./btop.nix
18
18
./fastfetch
19
19
./fuzzel.nix
20
20
-
# ./fzf.nix
21
20
./git.nix
22
21
./helix.nix
23
22
./shell
···
105
104
services.dustpan = {
106
105
enable = true;
107
106
roots = ["$HOME/Projects"];
108
108
-
targets = ["node_modules" ".next"];
107
107
+
targets = ["node_modules" ".next" ".zig-cache"];
109
108
olderThanDays = 14;
110
109
frequency = "weekly";
111
110
};
-20
home/fzf.nix
···
1
1
-
{
2
2
-
programs.fzf = {
3
3
-
enable = true;
4
4
-
colors = {
5
5
-
fg = "#f8f8f2";
6
6
-
"fg+" = "#f8f8f2";
7
7
-
bg = "-1";
8
8
-
"bg+" = "#44475a";
9
9
-
hl = "#bd93f9";
10
10
-
"hl+" = "#bd93f9";
11
11
-
gutter = "-1";
12
12
-
info = "#ffb86c";
13
13
-
prompt = "#50fa7b";
14
14
-
pointer = "#50FA7b";
15
15
-
marker = "#50FA7b";
16
16
-
spinner = "#ffb86c";
17
17
-
header = "#6272a4";
18
18
-
};
19
19
-
};
20
20
-
}
+6
home/nvf/languages.nix
···
64
64
lsp.enable = true;
65
65
treesitter.enable = true;
66
66
};
67
67
+
68
68
+
zig = {
69
69
+
enable = true;
70
70
+
lsp.enable = true;
71
71
+
treesitter.enable = true;
72
72
+
};
67
73
};
68
74
}
-1
home/shell/default.nix
···
2
2
imports = [
3
3
./fish.nix
4
4
./ghostty.nix
5
5
-
./kitty.nix
6
5
];
7
6
8
7
home.sessionVariables = {
-82
home/shell/kitty.nix
···
1
1
-
{...}: {
2
2
-
programs.kitty = {
3
3
-
enable = true;
4
4
-
5
5
-
font = {
6
6
-
name = "FiraCode Nerd Font";
7
7
-
size = 12;
8
8
-
};
9
9
-
10
10
-
keybindings = {
11
11
-
"ctrl+shift+c" = "copy_to_clipboard";
12
12
-
};
13
13
-
14
14
-
settings = {
15
15
-
copy_on_select = "no";
16
16
-
enable_audio_bell = "no";
17
17
-
confirm_os_window_close = 0;
18
18
-
background_opacity = "1";
19
19
-
window_padding_width = "8 10";
20
20
-
21
21
-
wheel_scroll_multiplier = 2;
22
22
-
touch_scroll_multiplier = 5;
23
23
-
24
24
-
foreground = "#f8f8f2";
25
25
-
background = "#282a36";
26
26
-
selection_foreground = "#ffffff";
27
27
-
selection_background = "#44475a";
28
28
-
29
29
-
url_color = "#8be9fd";
30
30
-
31
31
-
# Black
32
32
-
color0 = "#21222c";
33
33
-
color8 = "#6272a4";
34
34
-
35
35
-
# Red
36
36
-
color1 = "#ff5555";
37
37
-
color9 = "#ff6e6e";
38
38
-
39
39
-
# Green
40
40
-
color2 = "#50fa7b";
41
41
-
color10 = "#69ff94";
42
42
-
43
43
-
# Yellow
44
44
-
color3 = "#f1fa8c";
45
45
-
color11 = "#ffffa5";
46
46
-
47
47
-
# Blue
48
48
-
color4 = "#bd93f9";
49
49
-
color12 = "#d6acff";
50
50
-
51
51
-
# Magenta
52
52
-
color5 = "#ff79c6";
53
53
-
color13 = "#ff92df";
54
54
-
55
55
-
# Cyan
56
56
-
color6 = "#8be9fd";
57
57
-
color14 = "#a4ffff";
58
58
-
59
59
-
# White
60
60
-
color7 = "#f8f8f2";
61
61
-
color15 = "#ffffff";
62
62
-
63
63
-
# Cursor colors
64
64
-
cursor = "#f8f8f2";
65
65
-
cursor_text_color = "background";
66
66
-
67
67
-
# Tab bar colors
68
68
-
active_tab_foreground = "#282a36";
69
69
-
active_tab_background = "#f8f8f2";
70
70
-
inactive_tab_foreground = "#282a36";
71
71
-
inactive_tab_background = "#6272a4";
72
72
-
73
73
-
# Marks
74
74
-
mark1_foreground = "#282a36";
75
75
-
mark1_background = "#ff5555";
76
76
-
77
77
-
# Splits/Windows
78
78
-
active_border_color = "#f8f8f2";
79
79
-
inactive_border_color = "#6272a4";
80
80
-
};
81
81
-
};
82
82
-
}
+11
-12
home/wayland/niri/binds.nix
···
2
2
programs.niri.settings.binds = with config.lib.niri.actions; let
3
3
sh = spawn "sh" "-c";
4
4
in {
5
5
-
"Mod+Space".action.spawn = ["vicinae" "vicinae://toggle"]; # fuzzel
5
5
+
"Mod+Space".action.spawn = ["vicinae" "vicinae://toggle"];
6
6
"Mod+Return".action.spawn = ["ghostty" "+new-window"];
7
7
"Mod+Q".action = close-window;
8
8
"Mod+F".action = maximize-column;
9
9
"Mod+Shift+F".action = fullscreen-window;
10
10
"Mod+G".action = toggle-window-floating;
11
11
"Mod+C".action = center-column;
12
12
-
# "Mod+V".action = sh "cliphist list | fuzzel --dmenu | cliphist decode | wl-copy";
12
12
+
13
13
"Mod+V".action.spawn = ["vicinae" "vicinae://extensions/vicinae/clipboard/history"];
14
14
"Mod+Period".action.spawn = ["vicinae" "vicinae://extensions/vicinae/vicinae/search-emojis"];
15
15
···
63
63
"Mod+8".action = focus-workspace 8;
64
64
"Mod+9".action = focus-workspace 9;
65
65
66
66
-
# waiting for sodiboo/niri-flake#1018 to be fixed
67
67
-
"Mod+Shift+1".action.spawn = ["niri" "msg" "action" "move-column-to-workspace" "1"];
68
68
-
"Mod+Shift+2".action.spawn = ["niri" "msg" "action" "move-column-to-workspace" "2"];
69
69
-
"Mod+Shift+3".action.spawn = ["niri" "msg" "action" "move-column-to-workspace" "3"];
70
70
-
"Mod+Shift+4".action.spawn = ["niri" "msg" "action" "move-column-to-workspace" "4"];
71
71
-
"Mod+Shift+5".action.spawn = ["niri" "msg" "action" "move-column-to-workspace" "5"];
72
72
-
"Mod+Shift+6".action.spawn = ["niri" "msg" "action" "move-column-to-workspace" "6"];
73
73
-
"Mod+Shift+7".action.spawn = ["niri" "msg" "action" "move-column-to-workspace" "7"];
74
74
-
"Mod+Shift+8".action.spawn = ["niri" "msg" "action" "move-column-to-workspace" "8"];
75
75
-
"Mod+Shift+9".action.spawn = ["niri" "msg" "action" "move-column-to-workspace" "9"];
66
66
+
"Mod+Shift+1".action.move-window-to-workspace = 1;
67
67
+
"Mod+Shift+2".action.move-window-to-workspace = 2;
68
68
+
"Mod+Shift+3".action.move-window-to-workspace = 3;
69
69
+
"Mod+Shift+4".action.move-window-to-workspace = 4;
70
70
+
"Mod+Shift+5".action.move-window-to-workspace = 5;
71
71
+
"Mod+Shift+6".action.move-window-to-workspace = 6;
72
72
+
"Mod+Shift+7".action.move-window-to-workspace = 7;
73
73
+
"Mod+Shift+8".action.move-window-to-workspace = 8;
74
74
+
"Mod+Shift+9".action.move-window-to-workspace = 9;
76
75
77
76
"Mod+Z".action = toggle-overview;
78
77
};