Compare commits
No commits in common. "c9226156660d1e7b1a86752ec4c6f396b9117ad4" and "fa57c810c02f0bc25706bfcdfd624953b146553f" have entirely different histories.
c922615666
...
fa57c810c0
3 changed files with 2 additions and 18 deletions
|
@ -23,12 +23,12 @@ in
|
||||||
* X evaluators, Y smallBuilders, Z bigBuilders
|
* X evaluators, Y smallBuilders, Z bigBuilders
|
||||||
etc.
|
etc.
|
||||||
'';
|
'';
|
||||||
type = with types; lazyAttrsOf (oneOf [ str (listOf str) ]);
|
type = with types; attrsOf (oneOf [ str (listOf str) ]);
|
||||||
default = [];
|
default = [];
|
||||||
};
|
};
|
||||||
otherNodes = mkOption {
|
otherNodes = mkOption {
|
||||||
description = "Other nodes in the group.";
|
description = "Other nodes in the group.";
|
||||||
type = with types; lazyAttrsOf (functionTo (listOf str));
|
type = with types; attrsOf (functionTo (listOf str));
|
||||||
default = [];
|
default = [];
|
||||||
};
|
};
|
||||||
nixos = mkOption {
|
nixos = mkOption {
|
||||||
|
|
|
@ -11,7 +11,6 @@ in
|
||||||
|
|
||||||
services.storage = {
|
services.storage = {
|
||||||
nodes = {
|
nodes = {
|
||||||
internal = lib.subtractLists config.services.storage.nodes.external (lib.attrNames depot.gods.fromLight);
|
|
||||||
external = [ "prophet" ];
|
external = [ "prophet" ];
|
||||||
heresy = [ "VEGAS" ];
|
heresy = [ "VEGAS" ];
|
||||||
garage = [ "grail" "prophet" "VEGAS" ];
|
garage = [ "grail" "prophet" "VEGAS" ];
|
||||||
|
@ -20,9 +19,6 @@ in
|
||||||
garageExternal = [ "grail" "prophet" ];
|
garageExternal = [ "grail" "prophet" ];
|
||||||
};
|
};
|
||||||
nixos = {
|
nixos = {
|
||||||
internal = [
|
|
||||||
./internal.nix
|
|
||||||
];
|
|
||||||
external = [
|
external = [
|
||||||
./external.nix
|
./external.nix
|
||||||
./s3ql-upgrades.nix
|
./s3ql-upgrades.nix
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
storageDir = "/srv/storage";
|
|
||||||
in
|
|
||||||
|
|
||||||
{
|
|
||||||
systemd.tmpfiles.settings."00-storage" = {
|
|
||||||
"${storageDir}".d.mode = "0755";
|
|
||||||
"${storageDir}/private".d.mode = "0751";
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue