41 lines
975 B
Nix
41 lines
975 B
Nix
let
|
|
# fudo-pkgs = builtins.fetchGit {
|
|
# url = "https://git.fudo.org/fudo-public/fudo-pkgs.git";
|
|
# };
|
|
|
|
pkgs = import <nixpkgs> {
|
|
config = {
|
|
allowUnfree = true;
|
|
permittedInsecurePackages = [
|
|
"openssh-with-gssapi-8.4p1"
|
|
];
|
|
};
|
|
overlays = [
|
|
(import ../fudo-pkgs/overlay.nix)
|
|
];
|
|
};
|
|
|
|
home-manager-module = import <home-manager/nixos>;
|
|
|
|
hostlib = import ./lib/hosts.nix {
|
|
inherit pkgs home-manager-module;
|
|
};
|
|
|
|
define-host = hostlib.host-config;
|
|
|
|
in {
|
|
network = {
|
|
description = "Seattle home network.";
|
|
enableRollback = true;
|
|
};
|
|
|
|
lambda = define-host "10.0.0.11" "lambda";
|
|
limina = define-host "10.0.0.1" "limina";
|
|
nostromo = define-host "10.0.0.10" "nostromo";
|
|
plato = define-host "10.0.0.21" "plato";
|
|
socrates = define-host "10.0.0.20" "socrates";
|
|
spark = define-host "10.0.0.108" "spark";
|
|
system3 = define-host "10.0.0.111" "system3";
|
|
zbox = define-host "10.0.0.110" "zbox";
|
|
}
|