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. # do not remove this.
# nix is awesome # nix is awesome
git git
neofetch
]; ];
time.timeZone = mkDefault "America/Los_Angeles"; time.timeZone = mkDefault "America/Los_Angeles";

View file

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

View file

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

View file

@ -18,5 +18,6 @@ before committing, please run `nix flake check` and make sure everything is ok
## todo ## todo
- remove the lua static stuff from nginx - remove the lua static stuff from nginx + the cf ip
- add a helper for per-host architecture picking, atm it is hardcoded to `aarch64` - 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