Merge pull request #6875 from offlinehacker/nixos/cadvisor/fix
nixos/cadvisor: fixes
This commit is contained in:
commit
916aab2927
@ -90,17 +90,9 @@ in {
|
|||||||
${optionalString cfg.storageDriverSecure "-storage_driver_secure"}
|
${optionalString cfg.storageDriverSecure "-storage_driver_secure"}
|
||||||
''}
|
''}
|
||||||
'';
|
'';
|
||||||
User = "cadvisor";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = mkDefault true;
|
||||||
|
|
||||||
users.extraUsers = singleton {
|
|
||||||
name = "cadvisor";
|
|
||||||
uid = config.ids.uids.cadvisor;
|
|
||||||
description = "Cadvisor user";
|
|
||||||
extraGroups = [ "docker" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user