Compare commits

..

4 commits

Author SHA1 Message Date
Tao Tien
db8583594a bump 2026-03-09 2026-03-09 17:34:43 -07:00
Tao Tien
27f0fb10ff cringe 2026-03-09 17:34:39 -07:00
Tao Tien
7e0c4b36ed bluetooth fixes (dontsn't work) 2026-03-08 21:32:18 -07:00
Tao Tien
ed1ae5cadc fix obs virtualcam 2026-03-08 21:32:13 -07:00
6 changed files with 85 additions and 57 deletions

View file

@ -15,6 +15,7 @@
# }; # };
programs.qgroundcontrol.enable = true; programs.qgroundcontrol.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
claude-code
# keep-sorted start sticky_comments=no # keep-sorted start sticky_comments=no
# act # act
# asm-lsp # asm-lsp
@ -69,6 +70,7 @@
bun bun
docker-compose docker-compose
ngrok ngrok
deno
# # databases # # databases
# sqlite # sqlite

96
flake.lock generated
View file

@ -30,12 +30,12 @@
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1770325739, "lastModified": 1772669230,
"narHash": "sha256-TPDWnhzKW/1+FPMiagZ9mZiQN0aKcGC09yYSUBuv8Mo=", "narHash": "sha256-y5euTOVqJ4YlooZbpi6F/LW9PqZZ+PjNquIses9ODy4=",
"rev": "1b3259b71c81508ffd409114525df6a55c0f337f", "rev": "dc4d71b197a9bce053178291da2ead757cdf93bc",
"revCount": 396, "revCount": 406,
"type": "tarball", "type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/0.1.396%2Brev-1b3259b71c81508ffd409114525df6a55c0f337f/019c2fa5-ad5e-7a71-9782-a0dbaf02e1c4/source.tar.gz" "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/0.1.406%2Brev-dc4d71b197a9bce053178291da2ead757cdf93bc/019cbb54-8bf8-7fef-8486-009ae169c68d/source.tar.gz?rev=dc4d71b197a9bce053178291da2ead757cdf93bc&revCount=406"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@ -45,37 +45,37 @@
"determinate-nixd-aarch64-darwin": { "determinate-nixd-aarch64-darwin": {
"flake": false, "flake": false,
"locked": { "locked": {
"narHash": "sha256-zK2dgNHh/p92rk5jN+Y1LOMn0HEdTsS+7XXwb2g52oM=", "narHash": "sha256-4psYG30Pl0R1zAHXDHfjR39ybe/QEfcA8C5h0eEKVx8=",
"type": "file", "type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.2/macOS" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.17.0/macOS"
}, },
"original": { "original": {
"type": "file", "type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.2/macOS" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.17.0/macOS"
} }
}, },
"determinate-nixd-aarch64-linux": { "determinate-nixd-aarch64-linux": {
"flake": false, "flake": false,
"locked": { "locked": {
"narHash": "sha256-ckvZP0zFcbzLXWYOJUqYXkKBt0b2IZcQEr7YjEVtwOI=", "narHash": "sha256-a++ZpOrqzWsBHNR2K8H3B48LoFKIvK5VfodJgXSlsFE=",
"type": "file", "type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.2/aarch64-linux" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.17.0/aarch64-linux"
}, },
"original": { "original": {
"type": "file", "type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.2/aarch64-linux" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.17.0/aarch64-linux"
} }
}, },
"determinate-nixd-x86_64-linux": { "determinate-nixd-x86_64-linux": {
"flake": false, "flake": false,
"locked": { "locked": {
"narHash": "sha256-8dLtm8FJrpyBmrNpspJj30/6I5HGEfjjXuFqURcZ8pk=", "narHash": "sha256-Q+SViaRHSg0FR6x26qCpqc3n6vJZ6PHpdHWV8XZ4ih0=",
"type": "file", "type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.2/x86_64-linux" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.17.0/x86_64-linux"
}, },
"original": { "original": {
"type": "file", "type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.15.2/x86_64-linux" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.17.0/x86_64-linux"
} }
}, },
"disko": { "disko": {
@ -85,11 +85,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1769524058, "lastModified": 1773025010,
"narHash": "sha256-zygdD6X1PcVNR2PsyK4ptzrVEiAdbMqLos7utrMDEWE=", "narHash": "sha256-khlHllTsovXgT2GZ0WxT4+RvuMjNeR5OW0UYeEHPYQo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "71a3fc97d80881e91710fe721f1158d3b96ae14d", "rev": "7b9f7f88ab3b339f8142dc246445abb3c370d3d3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -169,11 +169,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1770596905, "lastModified": 1772653894,
"narHash": "sha256-ramJSHL39uTmfpY2O3zFd0IUiVPDNR1edCq0nIHEcAs=", "narHash": "sha256-/8hQLVH3X7I6Rr62V2cL01NkLYh3YHJ6kZB2fY6IysE=",
"owner": "helix-editor", "owner": "helix-editor",
"repo": "helix", "repo": "helix",
"rev": "066dded21b7c520bfa114780907265eda801004b", "rev": "51ec572a27a8c1267afbc07e6c1583585c6363dc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -210,11 +210,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1770654520, "lastModified": 1773093840,
"narHash": "sha256-mg5WZMIPGsFu9MxSrUcuJUPMbfMsF77el5yb/7rc10k=", "narHash": "sha256-u/96NoAyN8BSRuM3ZimGf7vyYgXa3pLx4MYWjokuoH4=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "6c4fdbe1ad198fac36c320fd45c5957324a80b8e", "rev": "bb014746edb2a98d975abde4dd40fa240de4cf86",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -231,11 +231,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1769872935, "lastModified": 1772330611,
"narHash": "sha256-07HMIGQ/WJeAQJooA7Kkg1SDKxhAiV6eodvOwTX6WKI=", "narHash": "sha256-UZjPc/d5XRxvjDbk4veAO4XFdvx6BUum2l40V688Xq8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "f4ad5068ee8e89e4a7c2e963e10dd35cd77b37b7", "rev": "58fd7ff0eec2cda43e705c4c0585729ec471d400",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -274,12 +274,12 @@
"nixpkgs-regression": "nixpkgs-regression" "nixpkgs-regression": "nixpkgs-regression"
}, },
"locked": { "locked": {
"lastModified": 1768960381, "lastModified": 1772664055,
"narHash": "sha256-32oMe1y+kwvIJNiJsIvozTuSmDxcwST06i+0ak+L4AU=", "narHash": "sha256-RtKKd4aefzHEzV9sKa8bQdZIY67GJMV0nRS1QZ2E94g=",
"rev": "45ce621408cb8c9a724193d5fe858eb839662db8", "rev": "3a96d5668a8df84c2c8d006a04212c17839b977f",
"revCount": 24453, "revCount": 24783,
"type": "tarball", "type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.15.2/019bde75-b4ee-74b2-a812-28dc2ee83d58/source.tar.gz" "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.17.0/019cbb2e-8d12-7212-a98f-73fd1f2342a2/source.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@ -288,11 +288,11 @@
}, },
"nixos": { "nixos": {
"locked": { "locked": {
"lastModified": 1770464364, "lastModified": 1772822230,
"narHash": "sha256-z5NJPSBwsLf/OfD8WTmh79tlSU8XgIbwmk6qB1/TFzY=", "narHash": "sha256-yf3iYLGbGVlIthlQIk5/4/EQDZNNEmuqKZkQssMljuw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "23d72dabcb3b12469f57b37170fcbc1789bd7457", "rev": "71caefce12ba78d84fe618cf61644dce01cf3a96",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -319,11 +319,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1770631810, "lastModified": 1772972630,
"narHash": "sha256-b7iK/x+zOXbjhRqa+XBlYla4zFvPZyU5Ln2HJkiSnzc=", "narHash": "sha256-mUJxsNOrBMNOUJzN0pfdVJ1r2pxeqm9gI/yIKXzVVbk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "2889685785848de940375bf7fea5e7c5a3c8d502", "rev": "3966ce987e1a9a164205ac8259a5fe8a64528f72",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -397,12 +397,12 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1768783163, "lastModified": 1772479524,
"narHash": "sha256-tLj4KcRDLakrlpvboTJDKsrp6z2XLwyQ4Zmo+w8KsY4=", "narHash": "sha256-u7nCaNiMjqvKpE+uZz9hE7pgXXTmm5yvdtFaqzSzUQI=",
"rev": "bde09022887110deb780067364a0818e89258968", "rev": "4215e62dc2cd3bc705b0a423b9719ff6be378a43",
"revCount": 930106, "revCount": 957146,
"type": "tarball", "type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.930106%2Brev-bde09022887110deb780067364a0818e89258968/019bd9ed-5f0b-7074-afb0-8bb5e13a7598/source.tar.gz" "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.957146%2Brev-4215e62dc2cd3bc705b0a423b9719ff6be378a43/019cb23c-bcc0-7c8e-9772-0f9ff50d72f3/source.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@ -411,11 +411,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1770562336, "lastModified": 1772963539,
"narHash": "sha256-ub1gpAONMFsT/GU2hV6ZWJjur8rJ6kKxdm9IlCT0j84=", "narHash": "sha256-9jVDGZnvCckTGdYT53d/EfznygLskyLQXYwJLKMPsZs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d6c71932130818840fc8fe9509cf50be8c64634f", "rev": "9dcb002ca1690658be4a04645215baea8b95f31d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -484,11 +484,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1770568363, "lastModified": 1772945022,
"narHash": "sha256-RJ/C24wN7LyuMmBgvIutA/PqXXceZtJtUCuZSaTjF/4=", "narHash": "sha256-Fv14NttjL/7xfi6eVwrSEBAyBvDjI00RLiRNqA5apcw=",
"owner": "0xc000022070", "owner": "0xc000022070",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "2ada8a826ea88512387a5a17ee96f16369bcdd80", "rev": "3a6a5ca7fb48cc8fd8183386506a06579d1d79dc",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -173,7 +173,14 @@
boot.loader.timeout = lib.mkForce 1; boot.loader.timeout = lib.mkForce 1;
# boot.supportedFilesystems = ["ntfs" "btrfs"]; # boot.supportedFilesystems = ["ntfs" "btrfs"];
hardware.enableAllFirmware = true; hardware.enableAllFirmware = true;
hardware.bluetooth.enable = lib.mkDefault true; hardware.bluetooth = {
enable = lib.mkDefault true;
settings.General = {
# ControllerMode = "bredr"; # Fix frequent Bluetooth audio dropouts
Experimental = true;
FastConnectable = true;
};
};
# hardware.bluetooth.settings.General.Experimental = true; # hardware.bluetooth.settings.General.Experimental = true;
imports = [(modulesPath + "/installer/scan/not-detected.nix")]; imports = [(modulesPath + "/installer/scan/not-detected.nix")];

View file

@ -131,13 +131,19 @@
''; '';
services.ratbagd.enable = true; services.ratbagd.enable = true;
boot = { # boot = {
extraModulePackages = with config.boot.kernelPackages; [ # extraModulePackages = with config.boot.kernelPackages; [
v4l2loopback # v4l2loopback
]; # ];
extraModprobeConfig = '' # extraModprobeConfig = ''
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1 # options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
''; # '';
# };
# security.polkit.enable = true;
programs.obs-studio = {
enable = true;
enableVirtualCamera = true;
package = pkgs.obs-studio.override {cudaSupport = true;};
}; };
users.users.tao = { users.users.tao = {

View file

@ -191,6 +191,7 @@
tab-width = 4; tab-width = 4;
unit = "\t"; unit = "\t";
}; };
language-servers = ["deno-lsp"];
} }
{ {
name = "microcad"; name = "microcad";
@ -231,6 +232,13 @@
name = "toml"; name = "toml";
auto-format = true; auto-format = true;
} }
{
name = "typescript";
roots = ["deno.json" "deno.jsonc" "package.json"];
file-types = ["ts" "tsx"];
auto-format = true;
language-servers = ["deno-lsp"];
}
{ {
name = "typst"; name = "typst";
language-servers = ["tinymist"]; language-servers = ["tinymist"];
@ -242,6 +250,11 @@
# keep-sorted end # keep-sorted end
]; ];
language-server = { language-server = {
deno-lsp = {
command = "deno";
args = ["lsp"];
config.deno.enable = true;
};
# lspmux = { # lspmux = {
# command = "lspmux"; # command = "lspmux";
# }; # };

View file

@ -73,7 +73,7 @@ def bump [...rest] {
if ($build_status and ($curr_gen == $new_gen)) { if ($build_status and ($curr_gen == $new_gen)) {
jj desc -r $r -m $"bump (date now | format date "%Y-%m-%d")" jj desc -r $r -m $"bump (date now | format date "%Y-%m-%d")"
jj bookmark set main -r $r jj bookmark set main -r $r
jj git push jj git push --allow-empty-description
} else { } else {
jj desc -r $r -m "bump (failed)" jj desc -r $r -m "bump (failed)"
} }