Compare commits

..

50 Commits

Author SHA1 Message Date
4f6e2c3369 use s0
All checks were successful
Check Flake / check-flake (push) Successful in 2m49s
2023-04-29 18:18:52 -06:00
f9ba8473d2 Try host again
All checks were successful
Check Flake / check-flake (push) Successful in 1h22m28s
2023-04-29 15:30:28 -06:00
20b7117560 Try host again
All checks were successful
Check Flake / check-flake (push) Successful in 15s
2023-04-29 15:29:46 -06:00
aa7121fe93 Try host again
Some checks failed
Check Flake / check-flake (push) Failing after 2s
2023-04-29 15:27:50 -06:00
6929594da9 Try host again
Some checks failed
Check Flake / check-flake (push) Failing after 1s
2023-04-29 15:25:40 -06:00
8f76ad3037 Try host again
Some checks failed
Check Flake / check-flake (push) Failing after 1s
2023-04-29 15:24:48 -06:00
5a2f7eee0d Try host again
Some checks failed
Check Flake / check-flake (push) Failing after 2s
2023-04-29 15:20:23 -06:00
3c5f72aed0 Try host again
Some checks failed
Check Flake / check-flake (push) Failing after 2s
2023-04-29 15:17:40 -06:00
ae3dc094f9 Try host again
Some checks failed
Check Flake / check-flake (push) Failing after 3s
2023-04-29 15:01:03 -06:00
7160858f57 Try host again
Some checks failed
Check Flake / check-flake (push) Failing after 3s
2023-04-29 14:58:35 -06:00
883a9fb28f Try to allow cross build
Some checks failed
Check Flake / check-flake (push) Failing after 2m6s
2023-04-29 14:37:01 -06:00
4c4ee017e0 Try to allow cross build
Some checks failed
Check Flake / check-flake (push) Failing after 2m5s
2023-04-29 14:36:27 -06:00
feb006a99d Try to allow cross build
Some checks failed
Check Flake / check-flake (push) Failing after 2m15s
2023-04-29 14:21:44 -06:00
6575977ce1 Try to allow cross build
Some checks failed
Check Flake / check-flake (push) Failing after 2m14s
2023-04-29 14:17:37 -06:00
80774e8778 Try to allow cross build
Some checks failed
Check Flake / check-flake (push) Failing after 1m10s
2023-04-29 13:52:35 -06:00
9af90be28b Try to allow cross build
Some checks failed
Check Flake / check-flake (push) Failing after 7s
2023-04-29 11:08:21 -06:00
fba5ac6c2b Try to allow cross build
Some checks failed
Check Flake / check-flake (push) Failing after 1m3s
2023-04-29 11:01:13 -06:00
307dee979a Try to allow cross build
Some checks failed
Check Flake / check-flake (push) Failing after 1m3s
2023-04-29 10:48:12 -06:00
df9a227358 add secret
Some checks failed
Check Flake / check-flake (push) Failing after 1m2s
2023-04-29 10:15:44 -06:00
f332e415cf add secret
Some checks failed
Check Flake / check-flake (push) Failing after 19s
2023-04-29 10:10:38 -06:00
1040a10e16 try to unset vars
Some checks failed
Check Flake / check-flake (push) Failing after 25s
2023-04-29 10:07:24 -06:00
ad198eb473 try to unset vars
Some checks reported warnings
Check Flake / check-flake (push) Has been cancelled
2023-04-29 10:05:44 -06:00
b3b9e58ea3 try host
Some checks failed
Check Flake / check-flake (push) Failing after 1s
2023-04-23 20:35:28 -06:00
c44ab55aa0 try host
Some checks failed
Check Flake / check-flake (push) Failing after 1s
2023-04-23 20:33:19 -06:00
71ba560b37 try host
Some checks failed
Check Flake / check-flake (push) Failing after 3s
2023-04-23 20:30:41 -06:00
cd5df4cb29 try host
Some checks failed
Check Flake / check-flake (push) Has been cancelled
2023-04-23 20:23:15 -06:00
ababb5b6b7 try container
Some checks failed
Check Flake / check-flake (push) Failing after 20s
2023-04-23 20:16:42 -06:00
2a8f76e955 try container
Some checks failed
Check Flake / check-flake (push) Failing after 9s
2023-04-23 20:15:52 -06:00
de17d7c9dd try container
Some checks failed
Check Flake / check-flake (push) Failing after 16s
2023-04-23 20:14:55 -06:00
82c2bf81b7 try container
Some checks failed
Check Flake / check-flake (push) Failing after 18s
2023-04-23 20:12:16 -06:00
a48c0a3b2a try container
Some checks failed
Check Flake / check-flake (push) Failing after 9s
2023-04-23 20:11:16 -06:00
e019fccbd2 try container
Some checks failed
Check Flake / check-flake (push) Failing after 17s
2023-04-23 20:10:06 -06:00
358a0ffeed debug
Some checks failed
Check Flake / check-flake (push) Failing after 19s
2023-04-23 20:00:34 -06:00
908b9c7b29 try nix container
Some checks are pending
Check Flake / check-flake (push) Has started running
2023-04-23 19:52:23 -06:00
f4b3ec91eb debug
Some checks failed
Check Flake / check-flake (push) Failing after 28s
2023-04-23 19:49:59 -06:00
bdc0dd5656 debug
Some checks failed
Check Flake / check-flake (push) Failing after 26s
2023-04-23 19:41:29 -06:00
d9127c7623 debug
Some checks failed
Check Flake / check-flake (push) Failing after 28s
2023-04-23 19:37:52 -06:00
c99b8619b8 debug
Some checks failed
Check Flake / check-flake (push) Failing after 26s
2023-04-23 19:35:47 -06:00
c2dd0b3330 debug
Some checks failed
Check Flake / check-flake (push) Failing after 27s
2023-04-23 19:11:21 -06:00
90601f7744 debug
Some checks failed
Check Flake / check-flake (push) Failing after 7s
2023-04-23 19:09:37 -06:00
97318fed84 try installing sudo
Some checks failed
Check Flake / check-flake (push) Failing after 19s
2023-04-23 19:07:32 -06:00
34bc79b30d try installing sudo
Some checks failed
Check Flake / check-flake (push) Failing after 6s
2023-04-23 19:06:39 -06:00
233cfce663 try installing sudo
Some checks failed
Check Flake / check-flake (push) Failing after 6s
2023-04-23 19:05:15 -06:00
2cc4973a88 try installing sudo
Some checks failed
Check Flake / check-flake (push) Failing after 6s
2023-04-23 19:03:11 -06:00
d47198998b try installing sudo
Some checks failed
Check Flake / check-flake (push) Failing after 6s
2023-04-23 19:02:09 -06:00
da9193067d try installing sudo
Some checks failed
Check Flake / check-flake (push) Failing after 5s
2023-04-23 19:01:31 -06:00
886c4c5250 try installing sudo
Some checks failed
Check Flake / check-flake (push) Failing after 4s
2023-04-23 19:00:25 -06:00
b83f28df91 try docker
Some checks failed
Check Flake / check-flake (push) Failing after 4s
2023-04-23 18:15:00 -06:00
b913e5b2f8 Try to use host
Some checks failed
Check Flake / check-flake (push) Failing after 10s
2023-04-23 18:13:22 -06:00
1b6b284fa3 Add check flake action
Some checks failed
Check Flake / check-flake (push) Failing after 8s
2023-04-23 17:56:43 -06:00
9 changed files with 17 additions and 27 deletions

View File

@ -37,10 +37,6 @@ in
# catchall for all domains
aliases = map (domain: "@${domain}") domains;
};
"cris@runyan.org" = {
hashedPasswordFile = "/run/agenix/cris-hashed-email-pw";
aliases = [ "chris@runyan.org" ];
};
"robot@runyan.org" = {
aliases = [
"no-reply@neet.dev"
@ -59,7 +55,6 @@ in
certificateScheme = 3; # use let's encrypt for certs
};
age.secrets.hashed-email-pw.file = ../../secrets/hashed-email-pw.age;
age.secrets.cris-hashed-email-pw.file = ../../secrets/cris-hashed-email-pw.age;
age.secrets.hashed-robots-email-pw.file = ../../secrets/hashed-robots-email-pw.age;
# sendmail to use xxx@domain instead of xxx@mail.domain

View File

@ -55,7 +55,7 @@
{
nixosConfigurations =
let
modules = system: hostname: with inputs; [
modules = system: with inputs; [
./common
simple-nixos-mailserver.nixosModule
agenix.nixosModules.default
@ -63,13 +63,9 @@
archivebox.nixosModule
nix-index-database.nixosModules.nix-index
({ lib, ... }: {
config = {
environment.systemPackages = [
agenix.packages.${system}.agenix
];
networking.hostName = hostname;
};
config.environment.systemPackages = [
agenix.packages.${system}.agenix
];
# because nixos specialArgs doesn't work for containers... need to pass in inputs a different way
options.inputs = lib.mkOption { default = inputs; };
@ -77,9 +73,9 @@
})
];
mkSystem = system: nixpkgs: path: hostname:
mkSystem = system: nixpkgs: path:
let
allModules = modules system hostname;
allModules = modules system;
# allow patching nixpkgs, remove this hack once this is solved: https://github.com/NixOS/nix/issues/3920
patchedNixpkgsSrc = nixpkgs.legacyPackages.${system}.applyPatches {
@ -103,7 +99,7 @@
in
nixpkgs.lib.mapAttrs
(hostname: cfg:
mkSystem cfg.arch nixpkgs cfg.configurationPath hostname)
mkSystem cfg.arch nixpkgs cfg.configurationPath)
machines;
packages =

View File

@ -5,6 +5,8 @@
./hardware-configuration.nix
];
networking.hostName = "ponyo";
system.autoUpgrade.enable = true;
# p2p mesh network

View File

@ -5,6 +5,8 @@
./hardware-configuration.nix
];
networking.hostName = "ray";
# for luks onlock over tor
services.tor.enable = true;
services.tor.client.enable = true;

View File

@ -11,6 +11,8 @@
# https://github.com/skogsbrus/os/blob/master/sys/router.nix
# http://trac.gateworks.com/wiki/wireless/wifi
networking.hostName = "router";
system.autoUpgrade.enable = true;
services.tailscale.exitNode = true;

View File

@ -7,7 +7,7 @@
];
# boot
boot.loader.systemd-boot.enable = true;
efi.enable = true;
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "uas" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];

View File

@ -1,9 +0,0 @@
age-encryption.org/v1
-> ssh-ed25519 6AT2/g q8AlvC9Dt+b8320A4BP92FghOoPyKttivfrsxqG6DGM
GWz2QJY3QFc748DjHrybNxyAS/BmDgzIU8yoRFGbLjA
-> ssh-ed25519 dMQYog i/6mNjO8XZGAxnN1SxJGr5uD+hzCIrh28+N7cvvXZGA
hC+J+F9hVs8HZjLhCQ6RnGAHRE45G+p1oBPnwB+nBtE
-> ]d^>n#.%-grease Qe6&35Kb ,",Wb`% 0SRX@d
yXZqn1+E675gpQyFGk/c15Sc1/iwjI/6VrOE1RTcp0gJcsbtVv4kgYCkY+mK
--- ykoio7g3wxV3VDvo2d3p/Y39NCh+cWPh7uL+Go30BLY
i“˜Q+€hnïI¼_MßGrrf¯EE~µ(fFyâÿé&ȃ>sÀX<C380>ú¤9~<7E>ä*Ç~ŽBãÕ4R¯ü=;’Â{Ý´+^<5E>P…¨ûrFza·C䢞î4V

Binary file not shown.

View File

@ -14,11 +14,13 @@ with roles;
{
# email
"hashed-email-pw.age".publicKeys = email-server;
"cris-hashed-email-pw.age".publicKeys = email-server;
"sasl_relay_passwd.age".publicKeys = email-server;
"hashed-robots-email-pw.age".publicKeys = email-server;
"robots-email-pw.age".publicKeys = gitea;
# gitea
"gitea-runner-registration-token.age".publicKeys = gitea-runner;
# vpn
"iodine.age".publicKeys = iodine;
"pia-login.age".publicKeys = pia;