Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d317aa39a6 | ||
|
|
3bbc5e83fc |
No files matched your search
@@ -68,6 +68,7 @@ in
|
|||||||
"/data"
|
"/data"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
sandboxing.enable = true;
|
||||||
secrets = {
|
secrets = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nixSigningKey.enable = true;
|
nixSigningKey.enable = true;
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
networking.enable = true;
|
networking.enable = true;
|
||||||
|
sandboxing.enable = true;
|
||||||
secrets.enable = true;
|
secrets.enable = true;
|
||||||
ssh.enable = true;
|
ssh.enable = true;
|
||||||
storage.enable = true;
|
storage.enable = true;
|
||||||
|
|||||||
@@ -50,7 +50,10 @@ in
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.arion.backend = "docker";
|
virtualisation.arion = {
|
||||||
|
backend = "docker";
|
||||||
|
package = pkgs.arion;
|
||||||
|
};
|
||||||
|
|
||||||
networking.hostName = config.host.name;
|
networking.hostName = config.host.name;
|
||||||
|
|
||||||
@@ -112,6 +115,6 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
maxretry = 5;
|
maxretry = 5;
|
||||||
};
|
};
|
||||||
journald.extraConfig = "SystemMaxUse=500M";
|
journald.settings.Journal.SystemMaxUse = "500M";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
cfg = config.sandboxing;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.sandboxing.enable = lib.mkOption { default = false; };
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
environment.systemPackages = [ pkgs.bubblewrap ];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in new issue
Block a user