mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-06-04 23:39:25 +02:00
fix naming
This commit is contained in:
parent
310ceedca5
commit
d073065f25
12
flake.nix
12
flake.nix
|
@ -86,7 +86,7 @@
|
|||
id = 0;
|
||||
arch = "x86_64-linux";
|
||||
extraModules = [
|
||||
./hardware/configuration-dell-wyse-3040.nix
|
||||
./hardware/dell-wyse-3040.nix
|
||||
diskModule
|
||||
];
|
||||
}
|
||||
|
@ -94,7 +94,7 @@
|
|||
id = 1;
|
||||
arch = "x86_64-linux";
|
||||
extraModules = [
|
||||
./hardware/configuration-dell-wyse-3040.nix
|
||||
./hardware/dell-wyse-3040.nix
|
||||
diskModule
|
||||
];
|
||||
}
|
||||
|
@ -102,7 +102,7 @@
|
|||
id = 2;
|
||||
arch = "x86_64-linux";
|
||||
extraModules = [
|
||||
./hardware/configuration-dell-wyse-3040.nix
|
||||
./hardware/dell-wyse-3040.nix
|
||||
diskModule
|
||||
];
|
||||
}
|
||||
|
@ -111,7 +111,7 @@
|
|||
arch = "aarch64-linux";
|
||||
extraModules = [
|
||||
(import "${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix")
|
||||
./hardware/configuration-rpi-3b.nix
|
||||
./hardware/rpi-3b-4b.nix
|
||||
./modules/user-stop-box/user.nix
|
||||
];
|
||||
}
|
||||
|
@ -143,10 +143,10 @@
|
|||
dump-dvb.nixosModules.default
|
||||
./hosts/mobile-box/configuration.nix
|
||||
./hosts/mobile-box/hardware-configuration.nix
|
||||
./hardware/configuration-dell-wyse-3040.nix
|
||||
./hardware/dell-wyse-3040.nix
|
||||
./modules/base.nix
|
||||
./modules/user-stop-box/user.nix
|
||||
./modules/traffic-stop-boxes/mobile-box-dresden.nix
|
||||
./modules/mobile-box/dresden.nix
|
||||
./modules/dump-dvb
|
||||
sops-nix.nixosModules.sops
|
||||
{
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
This is the place where we keep our hardware specific configuration options for the boxes.
|
||||
|
||||
Currently we only have Dell Wyse 3040 boxes.
|
|
@ -1,28 +0,0 @@
|
|||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
];
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
grub.enable = false;
|
||||
raspberryPi = {
|
||||
enable = true;
|
||||
version = 4;
|
||||
};
|
||||
};
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
# No ZFS on latest kernel:
|
||||
supportedFilesystems = lib.mkForce [ "vfat" "ext4" ];
|
||||
};
|
||||
|
||||
# sdImage = {
|
||||
# compressImage = false;
|
||||
# imageBaseName = config.networking.hostName;
|
||||
# firmwareSize = 512;
|
||||
# };
|
||||
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.eth0.useDHCP = true;
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
sops.defaultSopsFile = ../../secrets/traffic-stop-box-${toString config.dump-dvb.systemNumber}/secrets.yaml;
|
||||
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
|
||||
sops.secrets.wg-seckey = { };
|
||||
sops.secrets.telegram-decoder-token.owner = config.users.users.telegram-decoder.name;
|
||||
}
|
Loading…
Reference in New Issue
Block a user