File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 132132 imports = [
133133 ./impermanence_addon.nix
134134 ] ;
135- modules . desktop . rootfs . fsType = "btrfs" ;
136- # modules.desktop.rootfs.btrfsBlockDevice = "/dev/disk/by-uuid/17df699e-6502-4205-955f-c456eb378d48";
137- modules . desktop . rootfs . btrfsBlockDevice = "/dev/mapper/nixos-luks" ;
138- modules . desktop . rootfs . retentionPeriod = 7 ;
139- modules . desktop . rootfs . preBackupCommand = ''
135+ modules . desktop . impermanence- rootfs. fsType = "btrfs" ;
136+ # modules.desktop.impermanence- rootfs.btrfsBlockDevice = "/dev/disk/by-uuid/17df699e-6502-4205-955f-c456eb378d48";
137+ modules . desktop . impermanence- rootfs. btrfsBlockDevice = "/dev/mapper/nixos-luks" ;
138+ modules . desktop . impermanence- rootfs. retentionPeriod = 7 ;
139+ modules . desktop . impermanence- rootfs. preBackupCommand = ''
140140 [ -d /btrfs_tmp/root/etc/agenix ] && rm -rf /btrfs_tmp/root/etc/agenix || true
141141 '' ;
142142}
Original file line number Diff line number Diff line change 66} :
77with lib ;
88let
9- cfg = config . modules . desktop . rootfs ;
9+ cfg = config . modules . desktop . impermanence- rootfs;
1010 diskoEnabled = config . disko ? devices ;
1111in
1212{
13- options . modules . desktop . rootfs = {
13+ options . modules . desktop . impermanence- rootfs = {
1414 fsType = mkOption {
1515 type = types . enum [
1616 "tmpfs"
7373 } )
7474
7575 ( mkIf ( cfg . fsType == "tmpfs" && diskoEnabled ) {
76- disko . devices . nodev . "/" = lib . mkDefault {
76+ disko . devices . nodev . "/" = lib . mkForce {
7777 fsType = "tmpfs" ;
7878 mountOptions = [
7979 "relatime" # Update inode access times relative to modify/change time
You can’t perform that action at this time.
0 commit comments