Compare commits

..

4 commits

Author SHA1 Message Date
Chandler Swift ee47eb1ed2
oscar: Add include for untracked ssh_config
For example, this is useful for setting up temporary hosts that I don't
want tracked in my config. Sometimes I do this for e.g. vscodium remote
SSH.
2024-11-20 12:42:56 -06:00
Chandler Swift 85940f0474
oscar: Add home-manager ssh config 2024-11-20 11:48:45 -06:00
Chandler Swift ab8019390f
oscar: Use Kicad from PR'd branch to fix libgit2 build issue 2024-11-20 11:46:10 -06:00
Chandler Swift e02c3832a9
bert: Add lawrencedeerclub.chandlerswift.com 2024-11-20 11:28:28 -06:00
5 changed files with 61 additions and 1 deletions

View file

@ -7,6 +7,7 @@
./home.chandlerswift.com.nix ./home.chandlerswift.com.nix
./isaacswift.com.nix ./isaacswift.com.nix
./katherineandchandler.com.nix ./katherineandchandler.com.nix
./lawrencedeerclub.chandlerswift.com.nix
./maps.chandlerswift.com.nix ./maps.chandlerswift.com.nix
./music.chandlerswift.com.nix ./music.chandlerswift.com.nix
./preview.chandlerswift.com.nix ./preview.chandlerswift.com.nix

View file

@ -0,0 +1,18 @@
{
services.caddy.virtualHosts."lawrencedeerclub.chandlerswift.com".extraConfig = ''
encode zstd gzip
file_server
root * /srv/www/lawrencedeerclub.chandlerswift.com
# hide .git # ???
handle_errors {
respond "{err.status_code} {err.status_text}"
}
'';
systemd.tmpfiles.settings."10-lawrencedeerclub-chandlerswift-com" = {
"/srv/www/lawrencedeerclub.chandlerswift.com" = {
d = {};
};
};
}

View file

@ -18,6 +18,22 @@
]; ];
}]; }];
} }
{
job_name = "bigbird_zfs";
static_configs = [{
targets = [
"bigbird:9134"
];
}];
}
{
job_name = "bigbird";
static_configs = [{
targets = [
"bigbird:9100"
];
}];
}
]; ];
exporters.node = { exporters.node = {
enable = true; enable = true;

View file

@ -37,6 +37,17 @@
services.openssh.settings.PasswordAuthentication = false; services.openssh.settings.PasswordAuthentication = false;
users.users.root.openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEhPyyqS3BGYor3zLbjc8hZuhem3mS8TNmvWogXcnz/b chandler@chandlerswift.com'' ]; users.users.root.openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEhPyyqS3BGYor3zLbjc8hZuhem3mS8TNmvWogXcnz/b chandler@chandlerswift.com'' ];
services.prometheus.exporters = {
node = {
enable = true;
enabledCollectors = [
"systemd"
"zfs"
];
openFirewall = true;
};
};
# Open ports in the firewall. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];

View file

@ -137,7 +137,8 @@
gnome-sound-recorder gnome-sound-recorder
josm josm
kate kate
kicad # kicad # https://github.com/NixOS/nixpkgs/issues/335003
(import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/13456ccaf2874c921891b04fe0c39fc79aa7357f.tar.gz") {}).kicad
libreoffice-qt libreoffice-qt
prismlauncher prismlauncher
prusa-slicer prusa-slicer
@ -225,6 +226,19 @@
signing.key = null; # "let GnuPG decide what signing key to use depending on commit's author" signing.key = null; # "let GnuPG decide what signing key to use depending on commit's author"
}; };
programs.ssh = {
enable = true;
addKeysToAgent = "yes";
matchBlocks = {
bigbird = {
user = "root";
};
};
includes = [
"config.d/*"
];
};
programs.firefox = { programs.firefox = {
enable = true; enable = true;
# profiles = { # profiles = {