code cleanup
This commit is contained in:
parent
f5f8836994
commit
91f7b8e246
@ -5,7 +5,6 @@
|
||||
inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
nixos-hardware,
|
||||
...
|
||||
|
@ -3,7 +3,6 @@ paramsPerOverlayMap: {
|
||||
stdenvNoCC,
|
||||
dtc,
|
||||
libraspberrypi,
|
||||
pkgs,
|
||||
}:
|
||||
with lib; (base: overlays':
|
||||
stdenvNoCC.mkDerivation {
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
|
@ -1,7 +1,5 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
pkgs,
|
||||
fetchFromGitHub,
|
||||
gcc,
|
||||
device ? "/dev/deskPi",
|
||||
@ -17,7 +15,7 @@
|
||||
hash = "sha256-cetBXTqe8zZXpn5jjZ/g61j9y39exKWIvJH9IMgJj5c=";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation {
|
||||
inherit pname version src;
|
||||
|
||||
nativeBuildInputs = [gcc];
|
||||
|
@ -16,7 +16,7 @@
|
||||
hash = "sha256-qYpfy3PtPXzzunKsKSgsQXRUALQz6FSCsHQLe7djSt0=";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation {
|
||||
inherit pname version src;
|
||||
nativeBuildInputs = [gcc cmake];
|
||||
buildInputs = [dtc];
|
||||
|
@ -120,5 +120,5 @@
|
||||
# and migrated your data accordingly.
|
||||
#
|
||||
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
||||
system.stateVersion = "24.11"; # Did you read the comment?
|
||||
system.stateVersion = "25.05"; # Did you read the comment?
|
||||
}
|
||||
|
@ -1,9 +1,4 @@
|
||||
{
|
||||
nixpkgs,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
{pkgs, ...}: let
|
||||
kernelPackagesCfg = {
|
||||
linuxPackagesFor,
|
||||
linux_rpi4,
|
||||
|
@ -1,9 +1,4 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkDefault;
|
||||
{pkgs, ...}: let
|
||||
rpi-utils = pkgs.callPackage ../raspberry-pi/packages/rpi-utils {};
|
||||
uconsole-4g-cm4 = pkgs.writeShellScriptBin "uconsole-4g-cm4" ''
|
||||
function tip {
|
||||
@ -51,7 +46,6 @@ in {
|
||||
environment.systemPackages = [
|
||||
rpi-utils
|
||||
uconsole-4g-cm4
|
||||
# pkgs.modemmanager
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user