aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/aptos/default.nix3
-rw-r--r--hosts/aptos/secrets/secrets.nix3
-rw-r--r--hosts/aptos/services.nix3
-rw-r--r--hosts/tahoe/secrets/secrets.nix3
-rw-r--r--hosts/tahoe/services.nix3
5 files changed, 10 insertions, 5 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;
diff --git a/hosts/tahoe/secrets/secrets.nix b/hosts/tahoe/secrets/secrets.nix
index 79273b8..031426f 100644
--- a/hosts/tahoe/secrets/secrets.nix
+++ b/hosts/tahoe/secrets/secrets.nix
@@ -4,7 +4,8 @@ let
tahoe =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEq1IQRvj2jofCHOO6M28w2SRdgtHU06NJvwAwv/b69F";
all = [ fcuny_aptos tahoe ];
-in {
+in
+{
"wireguard_privatekey.age".publicKeys = all;
"acme/credentials.age".publicKeys = all;
diff --git a/hosts/tahoe/services.nix b/hosts/tahoe/services.nix
index a9c3605..75aea22 100644
--- a/hosts/tahoe/services.nix
+++ b/hosts/tahoe/services.nix
@@ -1,6 +1,7 @@
{ config, ... }:
let secrets = config.age.secrets;
-in {
+in
+{
my.services = {
samba = {
enable = true;