nixos: Remove containers from global deploy list
This commit is contained in:
parent
796e1582a3
commit
77eaaf52c7
@ -25,6 +25,7 @@
|
||||
config = mkMerge [
|
||||
{
|
||||
my = {
|
||||
deploy.enable = false;
|
||||
server.enable = true;
|
||||
|
||||
secrets = {
|
||||
|
@ -27,6 +27,7 @@
|
||||
config = mkMerge [
|
||||
{
|
||||
my = {
|
||||
deploy.enable = false;
|
||||
server.enable = true;
|
||||
|
||||
secrets = {
|
||||
|
@ -51,7 +51,7 @@ let
|
||||
|
||||
system.name = name;
|
||||
networking = {
|
||||
domain = let d = config'.assignments.internal.domain; in mkIf (d != null) (mkDefault' d);
|
||||
domain = let d = config'.assignments.internal.domain or null; in mkIf (d != null) (mkDefault' d);
|
||||
hostName = mkDefault (config'.assignments.internal.name or name);
|
||||
};
|
||||
nixpkgs = {
|
||||
|
@ -80,7 +80,7 @@ in
|
||||
|
||||
config = mkMerge [
|
||||
{
|
||||
my.deploy.enable = mkIf config.my.build.isDevVM false;
|
||||
my.deploy.enable = mkIf (config.my.build.isDevVM || config.boot.isContainer) false;
|
||||
}
|
||||
(mkIf cfg.enable {
|
||||
my.deploy.node = {
|
||||
|
Loading…
Reference in New Issue
Block a user