Compare commits

..

23 commits

Author SHA1 Message Date
Tao Tien
a7f45cbebc bump fix 2026-06-24 03:49:41 -07:00
Tao Tien
2a2308131d remove last building? 2026-06-23 18:33:32 -07:00
Tao Tien
19eaeb8c8a uwu 2026-06-23 18:33:32 -07:00
Tao Tien
3c6cb2b430 ... 2026-06-23 18:33:28 -07:00
Tao Tien
23faecb59e bump (succ) 2026-06-21 18:15:37 -07:00
Tao Tien
644665f562 bump (failed) 2026-06-21 18:15:37 -07:00
Tao Tien
baa081442e upgrade to 26.05 2026-06-21 18:15:37 -07:00
Tao Tien
d4d4f9e946 androi 2026-06-21 18:15:37 -07:00
Tao Tien
fdbb91fec4 stuff 2026-06-01 19:24:52 -07:00
Tao Tien
a9c2861842 bump (unbuilt) 2026-06-01 12:23:38 -07:00
Tao Tien
fabd74354d remove cruft 2026-06-01 12:22:59 -07:00
Tao Tien
85be95c8dc local docker registry 2026-06-01 12:21:37 -07:00
Tao Tien
2ffa7e498e foxglove 2026-06-01 11:11:05 -07:00
Tao Tien
2a72f94565 bump 2026-05-25 2026-05-25 18:55:05 -07:00
Tao Tien
c13f4a2191 fupd 2026-05-25 17:57:24 -07:00
Tao Tien
48f1796002 onlyoffice fonts workaround 2026-05-25 17:57:24 -07:00
Tao Tien
07f0cd2128 remove cruft 2026-05-25 17:57:24 -07:00
Tao Tien
aef8d0d80d mosh 2026-05-24 13:58:36 -07:00
Tao Tien
1adcff2234 nolap bt patch 2026-05-22 14:49:37 -07:00
Tao Tien
395221f383 disable pyright 2026-05-22 11:11:19 -07:00
Tao Tien
b77eb2fe3e cachix 2026-05-20 12:17:57 -07:00
Tao Tien
f1dde2b278 bump 2026-05-20 2026-05-20 11:42:04 -07:00
Tao Tien
8ac29c2067 dock 2026-05-20 10:55:54 -07:00
14 changed files with 283 additions and 161 deletions

View file

@ -3,6 +3,17 @@
pkgs, pkgs,
... ...
}: { }: {
services.dockerRegistry = {
enable = true;
listenAddress = "0.0.0.0";
port = 5000;
storagePath = "/var/lob/docker-registry";
enableDelete = true;
enableGarbageCollect = true;
garbageCollectDates = "daily";
openFirewall = false;
};
boot.kernel.sysctl."vm.overcommit_memory" = "1"; boot.kernel.sysctl."vm.overcommit_memory" = "1";
# systemd.user.services.lspmux = { # systemd.user.services.lspmux = {
@ -15,7 +26,8 @@
# }; # };
programs.qgroundcontrol.enable = true; programs.qgroundcontrol.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
chromium foxglove-studio
foxglove-cli
claude-code claude-code
# keep-sorted start sticky_comments=no # keep-sorted start sticky_comments=no
# act # act
@ -67,11 +79,11 @@
wild wild
# keep-sorted end # keep-sorted end
# alloy # # alloy
bun # bun
docker-compose # docker-compose
ngrok # ngrok
deno # deno
# # databases # # databases
# sqlite # sqlite

View file

@ -16,10 +16,13 @@ in {
}; };
environment.systemPackages = environment.systemPackages =
(with pkgs-last-building; [ /*
# lutris (with pkgs-last-building; [
]) # lutris
++ (with pkgs; [ ])
++
*/
with pkgs; [
# keep-sorted start # keep-sorted start
# parsec-bin # parsec-bin
# yuzu # nintendo can suck the shit out of my asshole # yuzu # nintendo can suck the shit out of my asshole
@ -35,7 +38,7 @@ in {
temurin-jre-bin-17 temurin-jre-bin-17
wine wine
# keep-sorted end # keep-sorted end
]); ];
networking.firewall.allowedTCPPorts = [25565]; networking.firewall.allowedTCPPorts = [25565];

View file

@ -4,8 +4,7 @@
opts = { opts = {
type = "cifs"; type = "cifs";
mountConfig = { mountConfig = {
# Options = "noauto,noatime,async,users,rw,x-systemd.automount,credentials=${config.age.secrets.uwuraid.path},file_mode=0777,dir_mode=0777"; Options = "_netdev,noserverino,nounix,nobrl,noperm,noauto,noatime,async,rw,x-systemd.automount,x-systemd.requires=tailscaled.service,x-systemd.automount-idle-timeout=60,nofail,soft,softrw,credentials=${config.age.secrets.uwuraid.path},file_mode=0777,dir_mode=0777,echo_interval=30,echo_retries=2,closetimeo=0,vers=3.0,iocharset=utf8";
Options = "_netdev,noserverino,nounix,nobrl,noperm,noauto,noatime,async,users,rw,x-systemd.automount,x-systemd.requires=network-online.target,nofail,soft,credentials=${config.age.secrets.uwuraid.path},file_mode=0777,dir_mode=0777";
}; };
}; };
in [ in [

176
flake.lock generated
View file

@ -30,12 +30,12 @@
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1778179392, "lastModified": 1781815324,
"narHash": "sha256-W6zorvjBYbzMNvqKIqCdpDF4rq3gj50Xximl56YM9/I=", "narHash": "sha256-5pDiPOe2tLKDOH59TkzP3MNiCCCbGxw3giDyRrSdP4E=",
"rev": "efd54faa68be8cd777b5c28cab11e638998a0853", "rev": "fdef7e382e042b1fe418f65770c3acda5933b155",
"revCount": 416, "revCount": 422,
"type": "tarball", "type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/0.1.416%2Brev-efd54faa68be8cd777b5c28cab11e638998a0853/019e03c3-8bbc-7443-bd6d-c787773c6154/source.tar.gz" "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/0.1.422%2Brev-fdef7e382e042b1fe418f65770c3acda5933b155/019edc7b-7246-7e91-b54e-dcdac2728f77/source.tar.gz"
}, },
"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-z4mCqKI3Qd6weuHrlfzGccJG0giym/VJhKv20ijRSs0=", "narHash": "sha256-pQ7YeoB96bBl3iJGRdUWjdOFwahPUMwNN1yl9fwJufY=",
"type": "file", "type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.20.0/macOS" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.21.2/macOS"
}, },
"original": { "original": {
"type": "file", "type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.20.0/macOS" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.21.2/macOS"
} }
}, },
"determinate-nixd-aarch64-linux": { "determinate-nixd-aarch64-linux": {
"flake": false, "flake": false,
"locked": { "locked": {
"narHash": "sha256-yW+VNepSRytzfanSssPMJPvwioCcmlZYaBX8++UFkAk=", "narHash": "sha256-t6Tc358tx16GFely1je18dmrfB8Wv1FkV6nRnU7ITYY=",
"type": "file", "type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.20.0/aarch64-linux" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.21.2/aarch64-linux"
}, },
"original": { "original": {
"type": "file", "type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.20.0/aarch64-linux" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.21.2/aarch64-linux"
} }
}, },
"determinate-nixd-x86_64-linux": { "determinate-nixd-x86_64-linux": {
"flake": false, "flake": false,
"locked": { "locked": {
"narHash": "sha256-+L102C3Hhkd1GlXmRm2eLTLsZKBxEvooiQZFqQRlBf0=", "narHash": "sha256-M5e/05UlhljIuqS2ZMozD3OJ2MTTYol9SxQwqrzJdkk=",
"type": "file", "type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.20.0/x86_64-linux" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.21.2/x86_64-linux"
}, },
"original": { "original": {
"type": "file", "type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.20.0/x86_64-linux" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.21.2/x86_64-linux"
} }
}, },
"disko": { "disko": {
@ -85,11 +85,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1777713215, "lastModified": 1781152676,
"narHash": "sha256-8GzXDOXckDWwST8TY5DbwYFjdvQLlP7K9CLSVx6iTTo=", "narHash": "sha256-RxWs5ND31KzTG7wvMM+PMfUjyNpmIEr999lqNARaM5o=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "63b4e7e6cf75307c1d26ac3762b886b5b0247267", "rev": "ff8702b4de27f72b4c78573dfb89ec74e36abdf1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -135,6 +135,27 @@
"url": "https://flakehub.com/f/hercules-ci/flake-parts/0.1" "url": "https://flakehub.com/f/hercules-ci/flake-parts/0.1"
} }
}, },
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": [
"nur",
"nixpkgs"
]
},
"locked": {
"lastModified": 1733312601,
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"git-hooks-nix": { "git-hooks-nix": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
@ -169,11 +190,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1778551011, "lastModified": 1781971804,
"narHash": "sha256-woJV7tJwwzjR0xWDNuGpwMENe/OEMAdSGg+nqWs9tUE=", "narHash": "sha256-sZ3m0vu/qNIip9S+fm/6LwvgwJNRNFzdozg95oFKfgg=",
"owner": "helix-editor", "owner": "helix-editor",
"repo": "helix", "repo": "helix",
"rev": "8c41b11607924f7584b77c8a6e6b16439a2f559f", "rev": "d2fdf3f3c788f8fb715caf6d2f94d71b984da6cd",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -210,11 +231,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1778876681, "lastModified": 1781980822,
"narHash": "sha256-9XOIxYLBp+sJsPWNnNyk1aVfYXuuRJZ4Anpplm9Tn8g=", "narHash": "sha256-UF4TqfMJCYOKVhLqgWnLZIdFm///wbUGlV0HyB2wHRg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "c7fad8197070948d8aa02cb8922240ee129cab2e", "rev": "8695ecb389cb43449fba0494ffc21065c7cde39d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -231,11 +252,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1778805320, "lastModified": 1781497404,
"narHash": "sha256-nGFJ01m2CTBKD4ABtcY4vLhHrRN91LKr/pn41PcU78A=", "narHash": "sha256-9GAF8sSsnkyCVCWkomXR0T+zdSxyUlfPt6neQidimdg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "9846abe15e7d0d36b8acbd4d05f2b87461744c92", "rev": "1285cd3d6882a9847f2d56ed5541b3350c8a6162",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -274,12 +295,12 @@
"nixpkgs-regression": "nixpkgs-regression" "nixpkgs-regression": "nixpkgs-regression"
}, },
"locked": { "locked": {
"lastModified": 1778177425, "lastModified": 1780939209,
"narHash": "sha256-oyHvP5HDRe59opmjTrq2ED9lh+R9FrHyaCGPPNfBqWM=", "narHash": "sha256-/JuW5C6sWuC836Y9b7hga3ZvhRiY4k4Zs73RRg5KVWM=",
"rev": "f0ccb960d3ad5bff28acd9cabf8bdef885b5d52f", "rev": "952beffe9c45ed245d30209d4f17cf1d26654a2a",
"revCount": 25858, "revCount": 26044,
"type": "tarball", "type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.20.0/019e03bc-3f83-7833-aba3-b691ef4956c7/source.tar.gz" "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.21.1/019ea860-2acd-7680-ae61-10f9574b2694/source.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@ -288,16 +309,16 @@
}, },
"nixos": { "nixos": {
"locked": { "locked": {
"lastModified": 1778737229, "lastModified": 1781216227,
"narHash": "sha256-6xWoytx8jFW4PF1GjRm/i/53trbpKGfz6zjzQGBr4cI=", "narHash": "sha256-9mUW6gNwoN2SWc/l0fW4svPNOulXLl8ijqKyeSOGgJE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d7a713c0b7e47c908258e71cba7a2d77cc8d71d5", "rev": "a0374025a863d007d98e3297f6aa46cc3141c2f0",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-25.11", "ref": "nixos-26.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -318,12 +339,15 @@
} }
}, },
"nixos-hardware": { "nixos-hardware": {
"inputs": {
"nixpkgs": "nixpkgs_4"
},
"locked": { "locked": {
"lastModified": 1778593042, "lastModified": 1781622756,
"narHash": "sha256-xYGrSg6354UK2K4WSQd4+TfyvfqmvFbSY+ZtGQUXK0c=", "narHash": "sha256-JrPh4M6S7aPsEE9tOENuZrxC6o2szSLlK+t4+nLke9s=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "9bd7c80d43e258aaa607d83b43661df11444d808", "rev": "08018c72174a4df5657f8d94178ac69fb9c243e5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -365,22 +389,6 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-last-building": {
"locked": {
"lastModified": 1754028485,
"narHash": "sha256-IiiXB3BDTi6UqzAZcf2S797hWEPCRZOwyNThJIYhUfk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "59e69648d345d6e8fef86158c555730fa12af9de",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "59e69648d345d6e8fef86158c555730fa12af9de",
"type": "github"
}
},
"nixpkgs-regression": { "nixpkgs-regression": {
"locked": { "locked": {
"lastModified": 1643052045, "lastModified": 1643052045,
@ -413,12 +421,12 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1777826146, "lastModified": 1780930886,
"narHash": "sha256-wQ/iN5Zp5VIa3ebBibijPnLyKhor+xEbDy4d0goa9Zs=", "narHash": "sha256-rppURzHviaQN131F+nLiLdGfcb0uCd9gGP0E5+iw9MI=",
"rev": "73c703c22422b8951895a960959dbbaca7296492", "rev": "8c3cede7ddc26bd659d2d383b5610efbd2c7a16e",
"revCount": 991389, "revCount": 1012902,
"type": "tarball", "type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.991389%2Brev-73c703c22422b8951895a960959dbbaca7296492/019df6c8-934b-7d40-b402-027bb5def30f/source.tar.gz" "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.1012902%2Brev-8c3cede7ddc26bd659d2d383b5610efbd2c7a16e/019eab22-bd1e-7e40-b919-277db893c789/source.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@ -427,11 +435,24 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1778443072, "lastModified": 1767892417,
"narHash": "sha256-zi7/fsqM/kFdNuED//4WOCUtezGtKKqRNORjMvfwjnA=", "narHash": "sha256-8bW3q88CEg2u4hSP66Vf4lpbLonHz7hqDNBMcCY7E9U=",
"rev": "3497aa5c9457a9d88d71fa93a4a8368816fbeeba",
"type": "tarball",
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.05pre924538.3497aa5c9457/nixexprs.tar.xz"
},
"original": {
"type": "tarball",
"url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz"
}
},
"nixpkgs_5": {
"locked": {
"lastModified": 1781577229,
"narHash": "sha256-lrp67w8AulE9Ks53n27I45ADSzbOCn4H+CNW1Ck8B+8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "da5ad661ba4e5ef59ba743f0d112cbc30e474f32", "rev": "567a49d1913ce81ac6e9582e3553dd90a955875f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -441,6 +462,27 @@
"type": "github" "type": "github"
} }
}, },
"nur": {
"inputs": {
"flake-parts": "flake-parts_2",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1781979923,
"narHash": "sha256-BQHJXHeKPYBQldv06grBZFnChKf3YdR4JLPFmqCB3sI=",
"owner": "nix-community",
"repo": "NUR",
"rev": "76b40a7a209c3fec96fb9d68f6a2f1f97760e3f2",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "NUR",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
@ -452,8 +494,8 @@
"nixos": "nixos", "nixos": "nixos",
"nixos-facter-modules": "nixos-facter-modules", "nixos-facter-modules": "nixos-facter-modules",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_5",
"nixpkgs-last-building": "nixpkgs-last-building", "nur": "nur",
"zen-browser": "zen-browser" "zen-browser": "zen-browser"
} }
}, },
@ -501,11 +543,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1778846616, "lastModified": 1781932488,
"narHash": "sha256-cqNwCnEdzUlUgNk9c3bVkXnEfmhzHvHre2Nr2C0sIfo=", "narHash": "sha256-v7xGsRuuTPyKT1BzZYXfhciGKBRxQiBPn/wyvHDriqM=",
"owner": "0xc000022070", "owner": "0xc000022070",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "3e3671b5f0e7c60e8f10bdf8667598603203546a", "rev": "bed09c284f289ad29cd7936e6297c7c16841903a",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -2,12 +2,16 @@
description = "we say NO to shitty OSes"; description = "we say NO to shitty OSes";
inputs = { inputs = {
nixos.url = "github:NixOS/nixpkgs/nixos-25.11"; nixos.url = "github:NixOS/nixpkgs/nixos-26.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-last-building.url = "github:NixOS/nixpkgs/59e69648d345d6e8fef86158c555730fa12af9de";
nixos-facter-modules.url = "github:numtide/nixos-facter-modules"; nixos-facter-modules.url = "github:numtide/nixos-facter-modules";
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# nixpkgs-last-building.url = "github:NixOS/nixpkgs/64c08a7ca051951c8eae34e3e3cb1e202fe36786";
determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/0.1"; determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/0.1";
nur = {
url = "github:nix-community/NUR";
inputs.nixpkgs.follows = "nixpkgs";
};
agenix = { agenix = {
url = "github:ryantm/agenix"; url = "github:ryantm/agenix";
inputs.darwin.follows = ""; inputs.darwin.follows = "";
@ -41,7 +45,8 @@
nixos, nixos,
self, self,
nixpkgs, nixpkgs,
nixpkgs-last-building, # nixpkgs-last-building,
nur,
nixos-facter-modules, nixos-facter-modules,
nixos-hardware, nixos-hardware,
determinate, determinate,
@ -100,6 +105,7 @@
./extras/dev.nix ./extras/dev.nix
./extras/gaming.nix ./extras/gaming.nix
lsfg-vk-flake.nixosModules.default lsfg-vk-flake.nixosModules.default
nur.modules.nixos.default
]; ];
}; };
NOmom = nixpkgs.lib.nixosSystem { NOmom = nixpkgs.lib.nixosSystem {

View file

@ -6,6 +6,8 @@
modulesPath, modulesPath,
... ...
}: { }: {
services.fwupd.enable = true;
nixpkgs.overlays = [ nixpkgs.overlays = [
(final: prev: { (final: prev: {
inherit inherit
@ -20,11 +22,11 @@
nix.package = lib.mkIf (config.networking.hostName == "NOcomputer") pkgs.lixPackageSets.stable.lix; nix.package = lib.mkIf (config.networking.hostName == "NOcomputer") pkgs.lixPackageSets.stable.lix;
programs.pmount.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# keep-sorted start # keep-sorted start
bat bat
bottom bottom
cachix
cifs-utils cifs-utils
dumbpipe dumbpipe
dust dust
@ -55,6 +57,62 @@
# keep-sorted end # keep-sorted end
]; ];
programs.partition-manager.enable = lib.mkDefault true; programs.partition-manager.enable = lib.mkDefault true;
programs.pmount.enable = lib.mkDefault true;
programs.mosh.enable = lib.mkDefault true;
fonts.fontDir.enable = true;
fonts.packages = with pkgs; [
# keep-sorted start
cooper-hewitt
ibm-plex
inconsolata
iosevka
libertine
linux-libertine-g
nerd-fonts.fira-code
nerd-fonts.iosevka-term
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-color-emoji
# keep-sorted end
];
system.userActivationScripts.installFonts = ''
mkdir -p ~/.local/share/fonts
find ${pkgs.noto-fonts-cjk-sans}/share/fonts \
-type f \( -name "*.otf" -o -name "*.ttf" -o -name "*.ttc" \) \
-exec cp -f {} ~/.local/share/fonts/ \;
find ${pkgs.noto-fonts-cjk-serif}/share/fonts \
-type f \( -name "*.otf" -o -name "*.ttf" -o -name "*.ttc" \) \
-exec cp -f {} ~/.local/share/fonts/ \;
find ${pkgs.cooper-hewitt}/share/fonts \
-type f \( -name "*.otf" -o -name "*.ttf" -o -name "*.ttc" \) \
-exec cp -f {} ~/.local/share/fonts/ \;
find ${pkgs.ibm-plex}/share/fonts \
-type f \( -name "*.otf" -o -name "*.ttf" -o -name "*.ttc" \) \
-exec cp -f {} ~/.local/share/fonts/ \;
find ${pkgs.inconsolata}/share/fonts \
-type f \( -name "*.otf" -o -name "*.ttf" -o -name "*.ttc" \) \
-exec cp -f {} ~/.local/share/fonts/ \;
find ${pkgs.iosevka}/share/fonts \
-type f \( -name "*.otf" -o -name "*.ttf" -o -name "*.ttc" \) \
-exec cp -f {} ~/.local/share/fonts/ \;
find ${pkgs.libertine}/share/fonts \
-type f \( -name "*.otf" -o -name "*.ttf" -o -name "*.ttc" \) \
-exec cp -f {} ~/.local/share/fonts/ \;
find ${pkgs.linux-libertine-g}/share/fonts \
-type f \( -name "*.otf" -o -name "*.ttf" -o -name "*.ttc" \) \
-exec cp -f {} ~/.local/share/fonts/ \;
find ${pkgs.nerd-fonts.fira-code}/share/fonts \
-type f \( -name "*.otf" -o -name "*.ttf" -o -name "*.ttc" \) \
-exec cp -f {} ~/.local/share/fonts/ \;
find ${pkgs.nerd-fonts.iosevka-term}/share/fonts \
-type f \( -name "*.otf" -o -name "*.ttf" -o -name "*.ttc" \) \
-exec cp -f {} ~/.local/share/fonts/ \;
find ${pkgs.noto-fonts-color-emoji}/share/fonts \
-type f \( -name "*.otf" -o -name "*.ttf" -o -name "*.ttc" \) \
-exec cp -f {} ~/.local/share/fonts/ \;
fc-cache -fv
'';
hardware.graphics.enable = true; hardware.graphics.enable = true;
# hardware.opengl = { # hardware.opengl = {

View file

@ -30,7 +30,7 @@
hardware.nvidia = { hardware.nvidia = {
powerManagement.enable = true; powerManagement.enable = true;
open = true; open = true;
package = config.boot.kernelPackages.nvidiaPackages.beta; package = config.boot.kernelPackages.nvidiaPackages.latest;
}; };
services.tailscale.useRoutingFeatures = "both"; services.tailscale.useRoutingFeatures = "both";
boot.kernel.sysctl."net.ipv4.ip_forward" = "1"; boot.kernel.sysctl."net.ipv4.ip_forward" = "1";

View file

@ -17,15 +17,16 @@
# ]; # ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
fw-ectool # keep-sorted start
framework-tool framework-tool
nvtopPackages.amd fw-ectool
lact lact
nvtopPackages.amd
# keep-sorted end
]; ];
services.lact.enable = true; services.lact.enable = true;
services.fwupd.enable = true;
services.tailscale.useRoutingFeatures = "client"; services.tailscale.useRoutingFeatures = "client";
systemd.services."backlight@backlight:amdgpu_bl2".enable = false; systemd.services."backlight@backlight:amdgpu_bl2".enable = false;
@ -50,8 +51,7 @@
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelParams = [ boot.kernelParams = [
"amdgpu.abmlevel=1" "amdgpu.abmlevel=1"
# amd doesn't have deep "amdgpu.dcdebugmask=0x400"
# "mem_sleep_default=deep"
]; ];
boot.kernelModules = ["amdgpu"]; boot.kernelModules = ["amdgpu"];
powerManagement.cpuFreqGovernor = "powersave"; powerManagement.cpuFreqGovernor = "powersave";

View file

@ -5,18 +5,24 @@
lib, lib,
... ...
}: let }: let
pkgs-last-building = inputs.nixpkgs-last-building.legacyPackages.${pkgs.system}; # pkgs-last-building = inputs.nixpkgs-last-building.legacyPackages.${pkgs.system};
in { in {
programs.gphoto2.enable = true;
nixpkgs.config.permittedInsecurePackages = [
# "electron-39.8.10"
];
users.users.tao.packages = users.users.tao.packages =
(with pkgs-last-building; [ /*
# oculante # https://nixpk.gs/pr-tracker.html?pr=502921 (with pkgs-last-building; [
# oculante # https://nixpk.gs/pr-tracker.html?pr=502921
# openscad
]) ])
++ (with pkgs; [ ++ (
feedr */
sniffnet with pkgs; [
oculante
# keep-sorted start sticky_comments=no # keep-sorted start sticky_comments=no
# android-tools # bitwarden-desktop
# bottles # bottles
# boxxy # boxxy
# carapace # carapace
@ -32,16 +38,17 @@ in {
# texlab # texlab
# thunderbird # thunderbird
# wkhtmltopdf # wkhtmltopdf
android-tools
appimage-run appimage-run
aspell aspell
aspellDicts.en aspellDicts.en
bitwarden-cli bitwarden-cli
bitwarden-desktop
calibre calibre
darktable darktable
deluge deluge
discord discord
element-desktop element-desktop
feedr
forgejo-cli forgejo-cli
freecad-wayland freecad-wayland
gocryptfs gocryptfs
@ -56,6 +63,7 @@ in {
nushell nushell
nvd nvd
obs-studio obs-studio
oculante
onlyoffice-desktopeditors onlyoffice-desktopeditors
openscad openscad
pandoc pandoc
@ -70,10 +78,12 @@ in {
signal-desktop signal-desktop
slack slack
snapper snapper
sniffnet
starship starship
syncplay syncplay
tinymist tinymist
toastify toastify
transmission_4-gtk
typst typst
typstyle typstyle
usbutils usbutils
@ -86,7 +96,7 @@ in {
zotero zotero
zoxide zoxide
# keep-sorted end # keep-sorted end
]); ];
virtualisation.waydroid = { virtualisation.waydroid = {
enable = true; enable = true;
package = pkgs.waydroid-nftables; package = pkgs.waydroid-nftables;
@ -94,22 +104,6 @@ in {
environment.shells = with pkgs; [nushell]; environment.shells = with pkgs; [nushell];
fonts.packages = with pkgs; [
nerd-fonts.iosevka-term
iosevka
libertine
inconsolata
linux-libertine-g
# keep-sorted start
cooper-hewitt
ibm-plex
nerd-fonts.fira-code
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-color-emoji
# keep-sorted end
];
documentation.enable = true; documentation.enable = true;
# virtualisation.libvirtd.enable = true; # virtualisation.libvirtd.enable = true;
@ -164,7 +158,7 @@ in {
users.users.tao = { users.users.tao = {
isNormalUser = true; isNormalUser = true;
# hashedPasswordFile = config.age.secrets.password-tao.path; # hashedPasswordFile = config.age.secrets.password-tao.path;
extraGroups = ["audio" "video" "wheel" "libvirtd" "dialout" "game"]; extraGroups = ["audio" "video" "wheel" "libvirtd" "dialout" "game" "camera"];
shell = pkgs.nushell; shell = pkgs.nushell;
}; };
age.secrets = { age.secrets = {

View file

@ -13,7 +13,7 @@ rustc-wrapper = "/path/to/sccache"
[unstable] [unstable]
codegen-backend = true codegen-backend = true
[provile.dev] [profile.dev]
debug = 0 debug = 0
strip = "debuginfo" strip = "debuginfo"
opt-level = 1 opt-level = 1

View file

@ -214,7 +214,7 @@
{ {
name = "python"; name = "python";
auto-format = true; auto-format = true;
language-servers = ["basedpyright" "ty" "ruff"]; language-servers = [/* "basedpyright" */ "ty" "ruff"];
# formatter = { # formatter = {
# command = "ruff"; # command = "ruff";
# args = ["format"]; # args = ["format"];
@ -268,10 +268,10 @@
command = "microcad-lsp"; command = "microcad-lsp";
}; };
basedpyright = { # basedpyright = {
command = "basedpyright-langserver"; # command = "basedpyright-langserver";
args = ["--stdio"]; # args = ["--stdio"];
}; # };
rust-analyzer.config.check.command = "clippy"; rust-analyzer.config.check.command = "clippy";
# gas = { # gas = {
# command = "asm-lsp"; # command = "asm-lsp";

View file

@ -1,7 +1,27 @@
export def "nu-complete docker start" [] { export def "nu-complete docker ps" [] {
docker ps --all --format json | from json --objects | select Names Image | rename value description docker ps --all --format json | from json --objects | select Names Image | rename value description
} }
export extern "docker start" [ export extern "docker start" [
...recipe: string@"nu-complete docker start" ...recipe: string@"nu-complete docker ps"
] ]
export extern "docker stop" [
...recipe: string@"nu-complete docker ps"
]
export extern "docker restart" [
...recipe: string@"nu-complete docker ps"
]
export extern "docker rm" [
...recipe: string@"nu-complete docker ps"
]
export def --wrapped "docker bash" [
name: string@"nu-complete docker ps"
...rest
] {
docker exec -it -e DISPLAY $name bash ...$rest
}

View file

@ -68,8 +68,8 @@ export def bump [...rest] {
} }
let r = jj log -r @ --no-pager --no-graph --template 'change_id' let r = jj log -r @ --no-pager --no-graph --template 'change_id'
sudo nix flake update sudo nix flake update
let build_status = rebuild boot let build_success = rebuild boot
if $build_status { if $build_success {
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 --allow-empty-description jj git push --allow-empty-description

View file

@ -8,41 +8,29 @@
pkgs-last-building = inputs.nixpkgs-last-building.legacyPackages.${pkgs.system}; pkgs-last-building = inputs.nixpkgs-last-building.legacyPackages.${pkgs.system};
in { in {
users.users.vy.packages = users.users.vy.packages =
(with pkgs-last-building; [ /*
oculante # https://nixpk.gs/pr-tracker.html?pr=502921 (with pkgs-last-building; [
]) oculante # https://nixpk.gs/pr-tracker.html?pr=502921
++ (with pkgs; [ ])
audacity ++ (
cosmic-store */
google-chrome with pkgs; [
jellyfin-media-player audacity
onlyoffice-desktopeditors cosmic-store
rnote google-chrome
signal-desktop jellyfin-media-player
signal-desktop onlyoffice-desktopeditors
snapper rnote
syncthingtray signal-desktop
toastify signal-desktop
yt-dlp snapper
zoom-us syncthingtray
]); toastify
yt-dlp
zoom-us
];
programs.kdeconnect.enable = true; programs.kdeconnect.enable = true;
fonts.packages = with pkgs; [
libertine
inconsolata
linux-libertine-g
adwaita-fonts
# keep-sorted start
cooper-hewitt
ibm-plex
nerd-fonts.fira-code
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-color-emoji
# keep-sorted end
];
services.flatpak.enable = true; services.flatpak.enable = true;
services.snapper.configs = { services.snapper.configs = {