From 98e01cdbfa047a32c1beb73438c5b93ca0592978 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 10 Jun 2022 11:42:32 -0700 Subject: 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 --- hosts/aptos/default.nix | 3 ++- hosts/aptos/secrets/secrets.nix | 3 ++- hosts/aptos/services.nix | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'hosts/aptos') 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; -- cgit 1.4.1