Remove the lvm job
There is a generator in lvm2 that takes care of this.
This commit is contained in:
parent
c2da812bd0
commit
0280aa2dc4
|
@ -6,19 +6,6 @@
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
||||||
jobs.lvm =
|
|
||||||
{ startOn = "started udev or new-devices";
|
|
||||||
|
|
||||||
script =
|
|
||||||
''
|
|
||||||
# Make all logical volumes on all volume groups available, i.e.,
|
|
||||||
# make them appear in /dev.
|
|
||||||
${pkgs.lvm2}/sbin/vgchange --available y
|
|
||||||
'';
|
|
||||||
|
|
||||||
task = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.lvm2 ];
|
environment.systemPackages = [ pkgs.lvm2 ];
|
||||||
|
|
||||||
services.udev.packages = [ pkgs.lvm2 ];
|
services.udev.packages = [ pkgs.lvm2 ];
|
||||||
|
|
Loading…
Reference in New Issue