we can compile!

This commit is contained in:
Reid 2024-02-28 00:07:58 -08:00
parent af804c63f8
commit 06b42a1aa6
4 changed files with 7 additions and 9 deletions

View file

@ -31,6 +31,7 @@ in {
# do not remove this.
# nix is awesome
git
neofetch
];
time.timeZone = mkDefault "America/Los_Angeles";

View file

@ -10,7 +10,7 @@
outputs = inputs @ { self, nixpkgs, ... }:
let
inherit (lib.my) mapModules mapModulesRec mkHost;
inherit (lib.my) mapModules mapModulesRec mapHosts;
system = "aarch64-linux";
mkPkgs = pkgs: extraOverlays:
@ -43,6 +43,6 @@
nixosModules = mapModulesRec ./modules import;
nixosConfigurations = mapModules ./hosts (host: mkHost host { inherit system; });
nixosConfigurations = mapHosts ./hosts {};
};
}

View file

@ -1,9 +1,7 @@
{ config, lib, pkgs, ... }:
let
keys = import ./authorizedKeys.nix;
fetchSSH = (host: lib._.getSSH host keys);
fetchSSHKeys = map fetchSSH;
in {
imports = [
./hardware-configuration.nix
@ -53,8 +51,6 @@ in {
security.useDoas = true;
};
time.timeZone = "America/Los_Angeles";
networking = {
hostName = "nixos-server-reid";
networkmanager.enable = true;

View file

@ -18,5 +18,6 @@ before committing, please run `nix flake check` and make sure everything is ok
## todo
- remove the lua static stuff from nginx
- add a helper for per-host architecture picking, atm it is hardcoded to `aarch64`
- remove the lua static stuff from nginx + the cf ip
- per-host architecture selection, atm it is hardcoded to `aarch64`
- some weird perl error abt locales when building??? it only happened after the big lib update. help me