This commit is contained in:
@@ -259,15 +259,15 @@ in
|
||||
mkEnabledIp = ip: name: {
|
||||
inherit name;
|
||||
value = {
|
||||
enable = true;
|
||||
inherit ip;
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
mkEnabledProxyIp = ip: name: {
|
||||
inherit name;
|
||||
value = {
|
||||
enableProxy = true;
|
||||
inherit ip;
|
||||
enableProxy = true;
|
||||
};
|
||||
};
|
||||
enableList = func: list: list |> map func |> builtins.listToAttrs;
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
{ inputs, ... }:
|
||||
{
|
||||
flake = {
|
||||
homeConfigurations.mac = inputs.self.lib.createHomeConfig {
|
||||
name = "mac";
|
||||
system = "aarch64-darwin";
|
||||
};
|
||||
nixosConfigurations = {
|
||||
workstation = inputs.self.lib.createConfig "workstation" inputs.nixpkgs;
|
||||
miniserver = inputs.self.lib.createConfig "miniserver" inputs.nixpkgs-small;
|
||||
@@ -9,9 +13,5 @@
|
||||
emacs = inputs.self.lib.createConfig "emacs" inputs.nixpkgs;
|
||||
vps = inputs.self.lib.createConfig "vps" inputs.nixpkgs-small;
|
||||
};
|
||||
homeConfigurations.mac = inputs.self.lib.createHomeConfig {
|
||||
name = "mac";
|
||||
system = "aarch64-darwin";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,8 +34,10 @@
|
||||
(
|
||||
{ lib, ... }:
|
||||
{
|
||||
my.secureHost = lib.mkForce false;
|
||||
my.build.baseImage = true;
|
||||
my = {
|
||||
secureHost = lib.mkForce false;
|
||||
build.baseImage = true;
|
||||
};
|
||||
}
|
||||
)
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user