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