mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-13 14:39:24 +08:00
modules.system.fileSystems: fix
This commit is contained in:
@@ -123,7 +123,7 @@ inputs:
|
||||
btrfs property set -ts /mnt/nix/rootfs/$timestamp-$subvolid ro true
|
||||
fi
|
||||
[ -d /mnt/nix/rootfs/current ] || btrfs subvolume create /mnt/nix/rootfs/current
|
||||
mkdir /mnt/nix/rootfs/current/usr
|
||||
mkdir -p /mnt/nix/rootfs/current/usr
|
||||
touch /mnt/nix/rootfs/current/usr/make-systemd-happy
|
||||
chattr +C /mnt/nix/rootfs/current
|
||||
echo $(date '+%Y%m%d%H%M%S') > /mnt/nix/rootfs/current/.timestamp
|
||||
|
||||
Reference in New Issue
Block a user