mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-05-29 04:20:48 +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;
|
id = 0;
|
||||||
arch = "x86_64-linux";
|
arch = "x86_64-linux";
|
||||||
extraModules = [
|
extraModules = [
|
||||||
./hardware/configuration-dell-wyse-3040.nix
|
./hardware/dell-wyse-3040.nix
|
||||||
diskModule
|
diskModule
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -94,7 +94,7 @@
|
||||||
id = 1;
|
id = 1;
|
||||||
arch = "x86_64-linux";
|
arch = "x86_64-linux";
|
||||||
extraModules = [
|
extraModules = [
|
||||||
./hardware/configuration-dell-wyse-3040.nix
|
./hardware/dell-wyse-3040.nix
|
||||||
diskModule
|
diskModule
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
id = 2;
|
id = 2;
|
||||||
arch = "x86_64-linux";
|
arch = "x86_64-linux";
|
||||||
extraModules = [
|
extraModules = [
|
||||||
./hardware/configuration-dell-wyse-3040.nix
|
./hardware/dell-wyse-3040.nix
|
||||||
diskModule
|
diskModule
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
arch = "aarch64-linux";
|
arch = "aarch64-linux";
|
||||||
extraModules = [
|
extraModules = [
|
||||||
(import "${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix")
|
(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
|
./modules/user-stop-box/user.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -143,10 +143,10 @@
|
||||||
dump-dvb.nixosModules.default
|
dump-dvb.nixosModules.default
|
||||||
./hosts/mobile-box/configuration.nix
|
./hosts/mobile-box/configuration.nix
|
||||||
./hosts/mobile-box/hardware-configuration.nix
|
./hosts/mobile-box/hardware-configuration.nix
|
||||||
./hardware/configuration-dell-wyse-3040.nix
|
./hardware/dell-wyse-3040.nix
|
||||||
./modules/base.nix
|
./modules/base.nix
|
||||||
./modules/user-stop-box/user.nix
|
./modules/user-stop-box/user.nix
|
||||||
./modules/traffic-stop-boxes/mobile-box-dresden.nix
|
./modules/mobile-box/dresden.nix
|
||||||
./modules/dump-dvb
|
./modules/dump-dvb
|
||||||
sops-nix.nixosModules.sops
|
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;
|
|
||||||
}
|
|
|
@ -7,7 +7,7 @@
|
||||||
frequency = 170795000;
|
frequency = 170795000;
|
||||||
offset = 19550;
|
offset = 19550;
|
||||||
RF = 14;
|
RF = 14;
|
||||||
IF = 32;
|
IF = 32;
|
||||||
BB = 42;
|
BB = 42;
|
||||||
};
|
};
|
||||||
telegramDecoder = {
|
telegramDecoder = {
|
|
@ -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