mirror of
https://github.com/thegeneralist01/config.git
synced 2026-05-30 08:37:01 +02:00
important changes
This commit is contained in:
parent
c72bd220d3
commit
d2a025b164
3 changed files with 12 additions and 11 deletions
|
|
@ -94,20 +94,20 @@
|
||||||
openclawPkgs =
|
openclawPkgs =
|
||||||
let
|
let
|
||||||
pkgsAarch64 = import inputs.nix-openclaw.inputs.nixpkgs { system = "aarch64-linux"; };
|
pkgsAarch64 = import inputs.nix-openclaw.inputs.nixpkgs { system = "aarch64-linux"; };
|
||||||
steipetePkgs =
|
# steipetePkgs =
|
||||||
if inputs.nix-openclaw.inputs.nix-steipete-tools ? packages
|
# if inputs.nix-openclaw.inputs.nix-steipete-tools ? packages
|
||||||
&& builtins.hasAttr
|
# && builtins.hasAttr
|
||||||
"aarch64-linux"
|
# "aarch64-linux"
|
||||||
inputs.nix-openclaw.inputs.nix-steipete-tools.packages
|
# inputs.nix-openclaw.inputs.nix-steipete-tools.packages
|
||||||
then
|
# then
|
||||||
inputs.nix-openclaw.inputs.nix-steipete-tools.packages.aarch64-linux
|
# inputs.nix-openclaw.inputs.nix-steipete-tools.packages.aarch64-linux
|
||||||
else
|
# else
|
||||||
{ };
|
# { };
|
||||||
in
|
in
|
||||||
import "${inputs.nix-openclaw}/nix/packages" {
|
import "${inputs.nix-openclaw}/nix/packages" {
|
||||||
pkgs = pkgsAarch64;
|
pkgs = pkgsAarch64;
|
||||||
sourceInfo = import "${inputs.nix-openclaw}/nix/sources/openclaw-source.nix";
|
sourceInfo = import "${inputs.nix-openclaw}/nix/sources/openclaw-source.nix";
|
||||||
inherit steipetePkgs;
|
# inherit steipetePkgs;
|
||||||
};
|
};
|
||||||
openclawPackage = openclawPkgs.openclaw;
|
openclawPackage = openclawPkgs.openclaw;
|
||||||
in
|
in
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
"sd_mod"
|
"sd_mod"
|
||||||
];
|
];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
|
boot.loader.systemd-boot.graceful = true;
|
||||||
|
|
||||||
# Wi-Fi stuff
|
# Wi-Fi stuff
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ let
|
||||||
|
|
||||||
unstable = import (builtins.fetchTarball {
|
unstable = import (builtins.fetchTarball {
|
||||||
url = "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";
|
url = "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";
|
||||||
sha256 = if (config.onLinux) then "sha256:0fgmdh1j6qrx64wq8wk2hry2rjh3rkvz9pch29l8zn49nlndvxy2" else "sha256:16xi1yijq2ccbp8254zc0b5fgz0igxvyf4yn349wj2ggk4cl6dgn";
|
sha256 = if (config.isServer) then "sha256:0fgmdh1j6qrx64wq8wk2hry2rjh3rkvz9pch29l8zn49nlndvxy2" else (if (config.onLinux) then "sha256:0fgmdh1j6qrx64wq8wk2hry2rjh3rkvz9pch29l8zn49nlndvxy2" else "sha256:16xi1yijq2ccbp8254zc0b5fgz0igxvyf4yn349wj2ggk4cl6dgn");
|
||||||
}) { system = pkgs.system; };
|
}) { system = pkgs.system; };
|
||||||
package = unstable.nushell;
|
package = unstable.nushell;
|
||||||
in
|
in
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue