feat: massive refactoring...
This commit is contained in:
23
containers/power.nix
Normal file
23
containers/power.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ ... }:
|
||||
{
|
||||
# TODO: Manual bind-mount /dev/bus/usb/{bus}/{device} # check with lsusb
|
||||
my-lxc.power = {
|
||||
container = {
|
||||
cores = 1;
|
||||
memory = 512;
|
||||
disk = "4G";
|
||||
swap = 512;
|
||||
};
|
||||
system = {
|
||||
importConfig = [
|
||||
../config/power-ups.nix
|
||||
];
|
||||
};
|
||||
logging = {
|
||||
enable = true;
|
||||
metricsEnable = true;
|
||||
};
|
||||
private = true;
|
||||
auth = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user