commit
This commit is contained in:
@@ -7,16 +7,15 @@
|
|||||||
}: {
|
}: {
|
||||||
flake-file.inputs = {
|
flake-file.inputs = {
|
||||||
raspberry-pi-nix.url = "github:cmyk/raspberry-pi-nix";
|
raspberry-pi-nix.url = "github:cmyk/raspberry-pi-nix";
|
||||||
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||||
};
|
};
|
||||||
modules.raspberry-pi = {
|
modules.raspberry-pi = {
|
||||||
provides = {
|
provides = {
|
||||||
"5" = {
|
"5" = {
|
||||||
nixos = {pkgs, ...}: let
|
nixos = {pkgs, modulesPath, ...}: {
|
||||||
rpi-pi = inputs.raspberry-pi-nix;
|
|
||||||
in {
|
|
||||||
imports = [
|
imports = [
|
||||||
rpi-pi.nixosModules.raspberry-pi
|
inputs.nixos-hardware.nixosModules.raspberry-pi-5
|
||||||
rpi-pi.nixosModules.sd-image
|
"${modulesPath}/installer/sd-card/sd-image-aarch64.nix"
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
@@ -24,10 +23,11 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
sdImage.compressImage = false;
|
sdImage.compressImage = false;
|
||||||
raspberry-pi-nix.board = "bcm2712"; # Rpi 5 - 64bit
|
# raspberry-pi-nix.board = "bcm2712"; # Rpi 5 - 64bit
|
||||||
# We need to rebuild kernel for 6.12
|
# We need to rebuild kernel for 6.12
|
||||||
# raspberry-pi-nix.kernel-version = "v6_12_17";
|
# raspberry-pi-nix.kernel-version = "v6_12_17";
|
||||||
raspberry-pi-nix.uboot.enable = false;
|
# raspberry-pi-nix.uboot.enable = false;
|
||||||
|
boot.initrd.systemd.enableTpm2 = false;
|
||||||
|
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
};
|
};
|
||||||
|
|||||||
Generated
+17
@@ -912,6 +912,22 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixos-hardware": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1779258371,
|
||||||
|
"narHash": "sha256-j1iZsLy6oFApqR1oiDmHhvkwxXqcNi0aoSJj643LuwU=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixos-hardware",
|
||||||
|
"rev": "c97bc4d15bd3473dd095e8e8ba57330ab1943a77",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "master",
|
||||||
|
"repo": "nixos-hardware",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1778036283,
|
"lastModified": 1778036283,
|
||||||
@@ -1204,6 +1220,7 @@
|
|||||||
"nik-pkgs": "nik-pkgs",
|
"nik-pkgs": "nik-pkgs",
|
||||||
"niri-flake": "niri-flake",
|
"niri-flake": "niri-flake",
|
||||||
"nix-cachyos-kernel": "nix-cachyos-kernel",
|
"nix-cachyos-kernel": "nix-cachyos-kernel",
|
||||||
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixpkgs": "nixpkgs_5",
|
"nixpkgs": "nixpkgs_5",
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
"omp-nix": "omp-nix",
|
"omp-nix": "omp-nix",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release";
|
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release";
|
||||||
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||||
nixpkgs.url = "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz";
|
nixpkgs.url = "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz";
|
||||||
nixvim.url = "github:nix-community/nixvim";
|
nixvim.url = "github:nix-community/nixvim";
|
||||||
omp-nix.url = "git+https://git.molez.org/mandlm/omp-nix?ref=main";
|
omp-nix.url = "git+https://git.molez.org/mandlm/omp-nix?ref=main";
|
||||||
|
|||||||
Reference in New Issue
Block a user