forked from c3d2/nix-config
flake.nix: try moving import of sd-image-aarch64.nix to the nixosModule
This commit is contained in:
parent
ca01abceb8
commit
4e05d4a253
|
@ -214,7 +214,6 @@
|
||||||
|
|
||||||
pulsebert = nixosSystem' {
|
pulsebert = nixosSystem' {
|
||||||
modules = [
|
modules = [
|
||||||
"${inputs.nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"
|
|
||||||
./hosts/pulsebert
|
./hosts/pulsebert
|
||||||
];
|
];
|
||||||
system = "aarch64-linux";
|
system = "aarch64-linux";
|
||||||
|
@ -222,7 +221,6 @@
|
||||||
|
|
||||||
radiobert = nixosSystem' {
|
radiobert = nixosSystem' {
|
||||||
modules = [
|
modules = [
|
||||||
"${inputs.nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"
|
|
||||||
./hosts/radiobert
|
./hosts/radiobert
|
||||||
];
|
];
|
||||||
system = "aarch64-linux";
|
system = "aarch64-linux";
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# That includes physical servers, VMs, containers, and personal machines.
|
# That includes physical servers, VMs, containers, and personal machines.
|
||||||
#
|
#
|
||||||
|
|
||||||
{ config, lib, pkgs, ... }:
|
{ inputs, config, lib, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
hqPrefix64 = "fd23:42:c3d2:523";
|
hqPrefix64 = "fd23:42:c3d2:523";
|
||||||
|
@ -31,7 +31,8 @@ in {
|
||||||
./users
|
./users
|
||||||
./stats.nix
|
./stats.nix
|
||||||
./openwebrx.nix
|
./openwebrx.nix
|
||||||
];
|
]
|
||||||
|
++ lib.optional config.boot.loader.raspberryPi.enable "${inputs.nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix";
|
||||||
|
|
||||||
options.c3d2 = with lib;
|
options.c3d2 = with lib;
|
||||||
with lib.types; {
|
with lib.types; {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user