diff options
author | lassulus <lassulus@lassul.us> | 2023-01-06 12:17:04 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2023-01-06 12:17:04 +0100 |
commit | 0b2952f4ed9572521f7c4a21904943ac33c602b0 (patch) | |
tree | d9aeef0949c09c7f14e786a52632348f87ca48d8 /lass | |
parent | 727ef7fa8e4581ebf3c792b6f9ff7fba6c8504dd (diff) |
l radio.r: init
Diffstat (limited to 'lass')
-rw-r--r-- | lass/1systems/radio/config.nix | 24 | ||||
-rw-r--r-- | lass/1systems/radio/physical.nix | 7 |
2 files changed, 31 insertions, 0 deletions
diff --git a/lass/1systems/radio/config.nix b/lass/1systems/radio/config.nix new file mode 100644 index 000000000..2fd23a448 --- /dev/null +++ b/lass/1systems/radio/config.nix @@ -0,0 +1,24 @@ +with import <stockholm/lib>; +{ config, lib, pkgs, ... }: +{ + imports = [ + <stockholm/lass> + <stockholm/lass/2configs> + <stockholm/lass/2configs/retiolum.nix> + + <stockholm/lass/2configs/syncthing.nix> + <stockholm/lass/2configs/radio> + ]; + + krebs.build.host = config.krebs.hosts.radio; + + security.acme = { + acceptTerms = true; + defaults.email = "acme@lassul.us"; + }; + + lass.sync-containers3.inContainer = { + enable = true; + pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOvPKdbVwMEFCDMyNAzR8NdVjTbQL2G+03Xomxn6KKFt"; + }; +} diff --git a/lass/1systems/radio/physical.nix b/lass/1systems/radio/physical.nix new file mode 100644 index 000000000..8577daf34 --- /dev/null +++ b/lass/1systems/radio/physical.nix @@ -0,0 +1,7 @@ +{ + imports = [ + ./config.nix + ]; + boot.isContainer = true; + networking.useDHCP = true; +} |