aboutsummaryrefslogtreecommitdiff
path: root/hosts/aptos
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-06-10 11:42:32 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-10 13:12:35 -0700
commit98e01cdbfa047a32c1beb73438c5b93ca0592978 (patch)
tree403b462f1b6d6e4432c010e8f47e179e3e730a97 /hosts/aptos
parentdocs(gerrit): document various things (diff)
downloadinfra-98e01cdbfa047a32c1beb73438c5b93ca0592978.tar.gz
fix(fmt): correct formatting for all nix files
This was done by running `nixpkgs-fmt .'. Change-Id: I4ea6c1e759bf468d08074be2111cbc7af72df295 Reviewed-on: https://cl.fcuny.net/c/world/+/404 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to 'hosts/aptos')
-rw-r--r--hosts/aptos/default.nix3
-rw-r--r--hosts/aptos/secrets/secrets.nix3
-rw-r--r--hosts/aptos/services.nix3
3 files changed, 6 insertions, 3 deletions
diff --git a/hosts/aptos/default.nix b/hosts/aptos/default.nix
index 70a79ed..8c26668 100644
--- a/hosts/aptos/default.nix
+++ b/hosts/aptos/default.nix
@@ -1,7 +1,8 @@
{ config, pkgs, hostname, ... }:
{
- imports = [ # Include the results of the hardware scan.
+ imports = [
+ # Include the results of the hardware scan.
./hardware.nix
./sound.nix
./networking.nix
diff --git a/hosts/aptos/secrets/secrets.nix b/hosts/aptos/secrets/secrets.nix
index 9e503b2..674af9b 100644
--- a/hosts/aptos/secrets/secrets.nix
+++ b/hosts/aptos/secrets/secrets.nix
@@ -3,7 +3,8 @@ let
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIdlm/qoR/dnMjZhVSTtqFzkgN3Yf9eQ3pgKMiipg+dl";
aptos =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOTcPGaiL+/Mwl8JzLHrBwas7QvWPjix4lnaAA1tw+5t";
-in {
+in
+{
"wireguard_privatekey.age".publicKeys = [ fcuny aptos ];
"syncthing/key.age" = {
diff --git a/hosts/aptos/services.nix b/hosts/aptos/services.nix
index ab8efe5..1886ca7 100644
--- a/hosts/aptos/services.nix
+++ b/hosts/aptos/services.nix
@@ -1,6 +1,7 @@
{ config, ... }:
let secrets = config.age.secrets;
-in {
+in
+{
my.services = {
# monitors and controls temperature
thermald.enable = true;