Skip to content

Commit

Permalink
feat(nix): add blender-bin (GPU support) and fix cache settings
Browse files Browse the repository at this point in the history
  • Loading branch information
misumisumi committed Nov 11, 2024
1 parent fb456ba commit d7d6693
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 27 deletions.
2 changes: 1 addition & 1 deletion apps/user/desktop/tool/develop/pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# matlab # Followed by nix-matlab
# sidequest # Meta Quest side loading tool
audacity # GUI Sound Editor
blender # 3DCG modeling tool
blender_4_2 # 3DCG modeling tool
carla # audio plugin host
gimp # image editor
google-fonts
Expand Down
71 changes: 53 additions & 18 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 10 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
{
description = "Each my machine NixOS System Flake Configuration";
nixConfig = {
extra-substituters = [ "https://misumisumi.cachix.org" ];
extra-substituters = [
"https://misumisumi.cachix.org"
"https://cuda-maintainers.cachix.org"
"https://nix-community.cachix.org"
];
extra-trusted-public-keys = [
"misumisumi.cachix.org-1:f+5BKpIhAG+00yTSoyG/ihgCibcPuJrfQL3M9qw1REY="
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};

inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
nixos-hardware.url = "github:NixOS/nixos-hardware";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05";
blender-bin.url = "github:edolstra/nix-warez?dir=blender";
nur.url = "github:nix-community/NUR";
catppuccin.url = "github:catppuccin/nix";
flakes = {
Expand Down
8 changes: 5 additions & 3 deletions settings/system/nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@
keep-derivations = true;
auto-optimise-store = true; # Optimise syslinks
substituters = [
"https://cache.nixos.org/"
"https://misumisumi.cachix.org"
"https://cuda-maintainers.cachix.org"
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"misumisumi.cachix.org-1:f+5BKpIhAG+00yTSoyG/ihgCibcPuJrfQL3M9qw1REY="
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
trusted-users = [
"root"
Expand All @@ -44,9 +45,10 @@
};
nixpkgs = {
overlays = [
inputs.nur.overlay
inputs.nixgl.overlay
inputs.blender-bin.overlays.default
inputs.flakes.overlays.default
inputs.nixgl.overlay
inputs.nur.overlay
self.overlays.default
];
config = {
Expand Down
4 changes: 2 additions & 2 deletions settings/user/nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
keep-outputs = true;
keep-derivations = true;
substituters = [
"https://cache.nixos.org/"
"https://misumisumi.cachix.org"
"https://cuda-maintainers.cachix.org"
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"misumisumi.cachix.org-1:f+5BKpIhAG+00yTSoyG/ihgCibcPuJrfQL3M9qw1REY="
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
trusted-users = [
"root"
Expand Down
1 change: 1 addition & 0 deletions settings/user/nixpkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
allowUnfree = true;
};
overlays = [
inputs.blender-bin.overlays.default
inputs.flakes.overlays.default
inputs.nixgl.overlay
inputs.nur.overlay
Expand Down

0 comments on commit d7d6693

Please sign in to comment.