lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

nixos/tests/snapper: Use autoFormat

+8 -6
+8 -6
nixos/tests/snapper.nix
··· 5 5 nodes.machine = 6 6 { pkgs, lib, ... }: 7 7 { 8 - boot.initrd.postDeviceCommands = '' 9 - ${pkgs.btrfs-progs}/bin/mkfs.btrfs -f -L aux /dev/vdb 10 - ''; 11 - 12 - virtualisation.emptyDiskImages = [ 4096 ]; 8 + virtualisation.emptyDiskImages = [ 9 + { 10 + size = 4096; 11 + driveConfig.deviceExtraOpts.serial = "aux"; 12 + } 13 + ]; 13 14 14 15 virtualisation.fileSystems = { 15 16 "/home" = { 16 - device = "/dev/disk/by-label/aux"; 17 + device = "/dev/disk/by-id/virtio-aux"; 17 18 fsType = "btrfs"; 19 + autoFormat = true; 18 20 }; 19 21 }; 20 22 services.snapper.configs.home.SUBVOLUME = "/home";