tangled
alpha
login
or
join now
pluie.me
/
flake
2
fork
atom
All my system configs and packages in one repo
2
fork
atom
overview
issues
pulls
pipelines
h
pluie.me
10 months ago
de3ffdeb
b26a8009
verified
This commit was signed with the committer's
known signature
.
pluie.me
SSH Key Fingerprint:
SHA256:YtI1D7vlcZ4obaiJ4tQihtswcMhHKdfYZuc4whOX2y8=
+58
-79
6 changed files
expand all
collapse all
unified
split
flake.lock
roles
mirrors
default.nix
users
leah
appearance.nix
programs
firefox
default.nix
ghostty
default.nix
jj
default.nix
+42
-42
flake.lock
···
8
8
},
9
9
"locked": {
10
10
"dir": "blender",
11
11
-
"lastModified": 1734963688,
12
12
-
"narHash": "sha256-FTbHXdo1O5avRbOkSzGWI52V0sRX+B9Ka2trEiuaewk=",
11
11
+
"lastModified": 1742939360,
12
12
+
"narHash": "sha256-YeM/A4SWHlz2trSNjriPi4QR5zsYMC8vkQawSlRw2+w=",
13
13
"owner": "edolstra",
14
14
"repo": "nix-warez",
15
15
-
"rev": "91297beb20864e611af6017c5eeef1b4564d7157",
15
15
+
"rev": "c9d2d5c61a37f2217e9241ccfa6c394ed2f3e52b",
16
16
"type": "github"
17
17
},
18
18
"original": {
···
25
25
"nixpkgs": "nixpkgs"
26
26
},
27
27
"locked": {
28
28
-
"lastModified": 1742254251,
29
29
-
"narHash": "sha256-3wGCx5UR86pgurSYB//LsBMKAsw6qpiOpnzgShPQKkM=",
28
28
+
"lastModified": 1744447794,
29
29
+
"narHash": "sha256-z5uK5BDmFg0L/0EW2XYLGr39FbQeXyNVnIEhkZrG8+Q=",
30
30
"owner": "catppuccin",
31
31
"repo": "nix",
32
32
-
"rev": "4cb9c621072312fb45c6e86b57e5fabd97f1b95d",
32
32
+
"rev": "c44fe73ed8e5d5809eded7cc6156ca9c40044e42",
33
33
"type": "github"
34
34
},
35
35
"original": {
···
95
95
"rust-analyzer-src": "rust-analyzer-src"
96
96
},
97
97
"locked": {
98
98
-
"lastModified": 1740810935,
99
99
-
"narHash": "sha256-6RzWfxENGlO73jQb3uQNgOvubUFwvveeIg+PZxhAu6s=",
98
98
+
"lastModified": 1742452566,
99
99
+
"narHash": "sha256-sVuLDQ2UIWfXUBbctzrZrXM2X05YjX08K7XHMztt36E=",
100
100
"owner": "nix-community",
101
101
"repo": "fenix",
102
102
-
"rev": "f44d7c3596ff028ad9f7fcc31d1941ed585f11b3",
102
102
+
"rev": "7d9ba794daf5e8cc7ee728859bc688d8e26d5f06",
103
103
"type": "github"
104
104
},
105
105
"original": {
···
173
173
]
174
174
},
175
175
"locked": {
176
176
-
"lastModified": 1741352980,
177
177
-
"narHash": "sha256-+u2UunDA4Cl5Fci3m7S643HzKmIDAe+fiXrLqYsR2fs=",
176
176
+
"lastModified": 1743550720,
177
177
+
"narHash": "sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY=",
178
178
"owner": "hercules-ci",
179
179
"repo": "flake-parts",
180
180
-
"rev": "f4330d22f1c5d2ba72d3d22df5597d123fdb60a9",
180
180
+
"rev": "c621e8422220273271f52058f618c94e405bb0f5",
181
181
"type": "github"
182
182
},
183
183
"original": {
···
236
236
"zon2nix": "zon2nix"
237
237
},
238
238
"locked": {
239
239
-
"lastModified": 1742299436,
240
240
-
"narHash": "sha256-w8/WFH1HKMWzTLoaz16iKxZIWx4UkyDI7KDQ/MjLF3Q=",
239
239
+
"lastModified": 1744620187,
240
240
+
"narHash": "sha256-u+9UFyuC9lVLjVWpkdegoLPFsWMi66vLIAKlkfCqEYk=",
241
241
"owner": "pluiedev",
242
242
"repo": "ghostty",
243
243
-
"rev": "6701875a32c7dac4022b4013c93abf3b48203acf",
243
243
+
"rev": "8029c72593a4668c06b77d02df8a5173eebe20b3",
244
244
"type": "github"
245
245
},
246
246
"original": {
···
279
279
]
280
280
},
281
281
"locked": {
282
282
-
"lastModified": 1742246081,
283
283
-
"narHash": "sha256-1e4oFbtdOOb6NqauHevWWjEUXZnfZ6RUAJJjn9i4YBc=",
282
282
+
"lastModified": 1744618730,
283
283
+
"narHash": "sha256-n3gN7aHwVRnnBZI64EDoKyJnWidNYJ0xezhqQtdjH2Q=",
284
284
"owner": "nix-community",
285
285
"repo": "home-manager",
286
286
-
"rev": "c657142e24a43ea1035889f0b0a7c24598e0e18a",
286
286
+
"rev": "85dd758c703ffbf9d97f34adcef3a898b54b4014",
287
287
"type": "github"
288
288
},
289
289
"original": {
···
346
346
]
347
347
},
348
348
"locked": {
349
349
-
"lastModified": 1742165923,
350
350
-
"narHash": "sha256-WKzuVsHXjuxYjS9KxKdpoPWpT37LofyS5llSssEw058=",
349
349
+
"lastModified": 1744478979,
350
350
+
"narHash": "sha256-dyN+teG9G82G+m+PX/aSAagkC+vUv0SgUw3XkPhQodQ=",
351
351
"owner": "LnL7",
352
352
"repo": "nix-darwin",
353
353
-
"rev": "95eac71bf52b271523d0ca81dbbeb3182990fc24",
353
353
+
"rev": "43975d782b418ebf4969e9ccba82466728c2851b",
354
354
"type": "github"
355
355
},
356
356
"original": {
···
366
366
]
367
367
},
368
368
"locked": {
369
369
-
"lastModified": 1742174123,
370
370
-
"narHash": "sha256-pDNzMoR6m1ZSJToZQ6XDTLVSdzIzmFl1b8Pc3f7iV6Y=",
369
369
+
"lastModified": 1744518957,
370
370
+
"narHash": "sha256-RLBSWQfTL0v+7uyskC5kP6slLK1jvIuhaAh8QvB75m4=",
371
371
"owner": "nix-community",
372
372
"repo": "nix-index-database",
373
373
-
"rev": "2cfb4e1ca32f59dd2811d7a6dd5d4d1225f0955c",
373
373
+
"rev": "4fc9ea78c962904f4ea11046f3db37c62e8a02fd",
374
374
"type": "github"
375
375
},
376
376
"original": {
···
381
381
},
382
382
"nixos-hardware": {
383
383
"locked": {
384
384
-
"lastModified": 1742217307,
385
385
-
"narHash": "sha256-3fwpN7KN226ghLlpO9TR0/WpgQOmOj1e8bieUxpIYSk=",
384
384
+
"lastModified": 1744366945,
385
385
+
"narHash": "sha256-OuLhysErPHl53BBifhesrRumJNhrlSgQDfYOTXfgIMg=",
386
386
"owner": "NixOS",
387
387
"repo": "nixos-hardware",
388
388
-
"rev": "4f4d97d7b7be387286cc9c988760a7ebaa5be1f1",
388
388
+
"rev": "1fe3cc2bc5d2dc9c81cb4e63d2f67c1543340df1",
389
389
"type": "github"
390
390
},
391
391
"original": {
···
397
397
},
398
398
"nixpkgs": {
399
399
"locked": {
400
400
-
"lastModified": 1741851582,
401
401
-
"narHash": "sha256-cPfs8qMccim2RBgtKGF+x9IBCduRvd/N5F4nYpU0TVE=",
400
400
+
"lastModified": 1744098102,
401
401
+
"narHash": "sha256-tzCdyIJj9AjysC3OuKA+tMD/kDEDAF9mICPDU7ix0JA=",
402
402
"owner": "NixOS",
403
403
"repo": "nixpkgs",
404
404
-
"rev": "6607cf789e541e7873d40d3a8f7815ea92204f32",
404
404
+
"rev": "c8cd81426f45942bb2906d5ed2fe21d2f19d95b7",
405
405
"type": "github"
406
406
},
407
407
"original": {
···
413
413
},
414
414
"nixpkgs_2": {
415
415
"locked": {
416
416
-
"lastModified": 1742069588,
417
417
-
"narHash": "sha256-C7jVfohcGzdZRF6DO+ybyG/sqpo1h6bZi9T56sxLy+k=",
416
416
+
"lastModified": 1744463964,
417
417
+
"narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=",
418
418
"owner": "NixOS",
419
419
"repo": "nixpkgs",
420
420
-
"rev": "c80f6a7e10b39afcc1894e02ef785b1ad0b0d7e5",
420
420
+
"rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
421
421
"type": "github"
422
422
},
423
423
"original": {
···
453
453
]
454
454
},
455
455
"locked": {
456
456
-
"lastModified": 1740569341,
457
457
-
"narHash": "sha256-WV8nY2IOfWdzBF5syVgCcgOchg/qQtpYh6LECYS9XkY=",
456
456
+
"lastModified": 1742765550,
457
457
+
"narHash": "sha256-2vVIh2JrL6GAGfgCeY9e6iNKrBjs0Hw3bGQEAbwVs68=",
458
458
"owner": "nix-community",
459
459
"repo": "plasma-manager",
460
460
-
"rev": "5eeb0172fb74392053b66a8149e61b5e191b2845",
460
460
+
"rev": "b70be387276e632fe51232887f9e04e2b6ef8c16",
461
461
"type": "github"
462
462
},
463
463
"original": {
···
517
517
"rust-analyzer-src": {
518
518
"flake": false,
519
519
"locked": {
520
520
-
"lastModified": 1740737930,
521
521
-
"narHash": "sha256-2AW/FJQI/i6bbRB/8HR9l9SjxjuiukJpHdMPgwApPKA=",
520
520
+
"lastModified": 1742296961,
521
521
+
"narHash": "sha256-gCpvEQOrugHWLimD1wTFOJHagnSEP6VYBDspq96Idu0=",
522
522
"owner": "rust-lang",
523
523
"repo": "rust-analyzer",
524
524
-
"rev": "fe8444616679f8e50ff9696f4750df1f10e7433d",
524
524
+
"rev": "15d87419f1a123d8f888d608129c3ce3ff8f13d4",
525
525
"type": "github"
526
526
},
527
527
"original": {
···
587
587
"nixpkgs": "nixpkgs_3"
588
588
},
589
589
"locked": {
590
590
-
"lastModified": 1739829690,
591
591
-
"narHash": "sha256-mL1szCeIsjh6Khn3nH2cYtwO5YXG6gBiTw1A30iGeDU=",
590
590
+
"lastModified": 1743748085,
591
591
+
"narHash": "sha256-uhjnlaVTWo5iD3LXics1rp9gaKgDRQj6660+gbUU3cE=",
592
592
"owner": "numtide",
593
593
"repo": "treefmt-nix",
594
594
-
"rev": "3d0579f5cc93436052d94b73925b48973a104204",
594
594
+
"rev": "815e4121d6a5d504c0f96e5be2dd7f871e4fd99d",
595
595
"type": "github"
596
596
},
597
597
"original": {
+8
-31
roles/mirrors/default.nix
···
1
1
{
2
2
config,
3
3
lib,
4
4
-
pkgs,
5
4
...
6
5
}:
7
6
let
···
10
9
mkIf
11
10
mkOption
12
11
types
13
13
-
flip
14
12
;
15
15
-
inherit (builtins) hasAttr mapAttrs;
16
13
17
14
cfg = config.roles.mirrors;
18
18
-
defaultSite = cfg.chinese.sites.${cfg.chinese.defaultSite};
19
15
in
20
16
{
21
17
options.roles.mirrors.chinese = {
22
18
enable = mkEnableOption "Chinese mirror sites to speed up downloads in Mainland China";
23
19
24
24
-
defaultSite = mkOption {
25
25
-
type = types.str // {
26
26
-
check = flip hasAttr cfg.chinese.sites;
27
27
-
};
28
28
-
29
29
-
default = "sjtu";
30
30
-
};
31
31
-
32
20
sites = mkOption {
33
21
description = "A list of Chinese mirror sites to use.";
34
34
-
type = types.attrsOf types.str;
35
35
-
default = {
36
36
-
sjtu = "https://mirror.sjtu.edu.cn";
37
37
-
tuna = "https://mirrors.tuna.tsinghua.edu.cn";
38
38
-
ustc = "https://mirrors.ustc.edu.cn";
39
39
-
};
22
22
+
type = types.listOf types.str;
23
23
+
default = [
24
24
+
"https://mirrors.ustc.edu.cn"
25
25
+
"https://mirrors6.tuna.tsinghua.edu.cn"
26
26
+
"https://mirrors.tuna.tsinghua.edu.cn"
27
27
+
# "https://mirror.sjtu.edu.cn"
28
28
+
];
40
29
};
41
30
};
42
31
43
32
config = mkIf cfg.chinese.enable {
44
44
-
roles.rust = {
45
45
-
# rust-bin = pkgs.rust-bin // {
46
46
-
# distRoot = "${defaultSite}/rust-static/dist";
47
47
-
# };
48
48
-
49
49
-
settings.source = {
50
50
-
crates-io.replace-with = cfg.chinese.defaultSite;
51
51
-
} // mapAttrs (_: url: "sparse+${url}/crates.io-index") cfg.chinese.sites;
52
52
-
};
53
53
-
54
33
# cache.nixos.org is *unbearably* slow when accessed from Mainland China.
55
34
# Fortunately, mirror sites exist... Hooray(?)
56
56
-
nix.settings.substituters = map (url: "${url}/nix-channels/store") (
57
57
-
builtins.attrValues cfg.chinese.sites
58
58
-
);
35
35
+
nix.settings.substituters = map (url: "${url}/nix-channels/store") cfg.chinese.sites;
59
36
};
60
37
}
+1
-1
users/leah/appearance.nix
···
21
21
boot.plymouth.theme = "blahaj";
22
22
23
23
hm.imports = [
24
24
-
inputs.catppuccin.homeManagerModules.catppuccin
24
24
+
inputs.catppuccin.homeModules.catppuccin
25
25
self.hmModules.ctp-plus
26
26
];
27
27
+1
-1
users/leah/programs/firefox/default.nix
···
97
97
};
98
98
in
99
99
{
100
100
-
default = "DuckDuckGo";
100
100
+
default = "ddg";
101
101
force = true;
102
102
engines = {
103
103
"Nixpkgs" = nixosSearch "" [ "@np" ];
+5
-3
users/leah/programs/ghostty/default.nix
···
16
16
17
17
background = "#1e1e2e";
18
18
19
19
-
# Who likes CSDs?
20
20
-
window-decoration = "server";
19
19
+
window-decoration = "client";
21
20
window-theme = "ghostty";
22
21
23
22
unfocused-split-opacity = 0.8;
···
27
26
# Massively improves the nvim experience
28
27
mouse-hide-while-typing = true;
29
28
29
29
+
quick-terminal-size = "20%,80%";
30
30
+
quick-terminal-autohide = true;
31
31
+
30
32
keybind = [
31
33
"ctrl+shift+up=new_split:up"
32
34
"ctrl+shift+down=new_split:down"
33
35
"ctrl+shift+left=new_split:left"
34
36
"ctrl+shift+right=new_split:right"
35
35
-
"ctrl+grave_accent=toggle_quick_terminal"
37
37
+
"global:ctrl+grave_accent=toggle_quick_terminal"
36
38
];
37
39
};
38
40
};
+1
-1
users/leah/programs/jj/default.nix
···
54
54
55
55
core = {
56
56
fsmonitor = "watchman";
57
57
-
watchman.register_snapshot_trigger = true;
57
57
+
watchman.register-snapshot-trigger = true;
58
58
};
59
59
};
60
60
};