added nuttyclub-vm site

This commit is contained in:
niten 2021-11-17 22:12:49 -08:00
parent 451ee1d0ae
commit 9e181c149c
3 changed files with 12 additions and 8 deletions

View File

@ -201,6 +201,8 @@ in {
containers.cashew = let containers.cashew = let
local-packages = with pkgs; [ local-packages = with pkgs; [
bind bind
emacs-nox
mtr
vim vim
]; ];
in { in {

View File

@ -95,5 +95,10 @@
]; ];
mail-server = "mail.fudo.org"; mail-server = "mail.fudo.org";
}; };
mobile = {
nameservers = [ "1.1.1.1" ];
timezone = "America/Los_Angeles";
};
}; };
} }

View File

@ -12,13 +12,10 @@
}; };
outputs = { self, nixpkgs, fudo-home, fudo-pkgs, fudo-secrets, ... }: { outputs = { self, nixpkgs, fudo-home, fudo-pkgs, fudo-secrets, ... }: {
nixosConfigurations = let nixosConfigurations = let
lib = nixpkgs.lib; hostlib = import ./lib/hosts.nix { lib = nixpkgs.lib; };
hostlib = import ./lib/hosts.nix { inherit lib; }; nixos-hosts = nixpkgs.lib.filterAttrs (hostname: hostOpts:
nixos-hosts = lib.filterAttrs (hostname: hostOpts:
hostOpts.nixos-system) (hostlib.base-host-config ./config/hosts); hostOpts.nixos-system) (hostlib.base-host-config ./config/hosts);
build-timestamp = self.sourceInfo.lastModified; build-timestamp = self.sourceInfo.lastModified;
@ -36,10 +33,8 @@
(import ./lib/overlay.nix) (import ./lib/overlay.nix)
]; ];
}; };
in lib.mapAttrs (hostname: hostOpts: let in nixpkgs.lib.mapAttrs (hostname: hostOpts: let
system = hostOpts.arch; system = hostOpts.arch;
pkgs = pkgs-for system;
lib = pkgs.lib;
site = hostOpts.site; site = hostOpts.site;
domain = hostOpts.domain; domain = hostOpts.domain;
profile = hostOpts.profile; profile = hostOpts.profile;
@ -66,6 +61,8 @@
instance = { instance = {
inherit hostname build-timestamp build-seed; inherit hostname build-timestamp build-seed;
}; };
nixpkgs.pkgs = pkgs-for system;
}; };
}) })
]; ];