Last active
July 13, 2019 18:52
-
-
Save adrianparvino/3b137c454ecb9e2e8edbc384b61a695f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
read -r -d '' CONFIGURATION <<EOF | |
{ | |
imports = | |
[ <restore/configuration.nix> | |
/etc/nixos/duplicity-backup-config.nix | |
]; | |
NixOSEncryptedLiveCD.rootdevice = "$ROOT_DEV"; | |
NixOSEncryptedLiveCD.bootdevice = "$BOOT_DEV"; | |
${DEBUG+NixOSEncryptedLiveCD.debug = $DEBUG;} | |
} | |
EOF | |
echo "$CONFIGURATION" | |
{ | |
imports = | |
[ <restore/configuration.nix> | |
/etc/nixos/duplicity-backup-config.nix | |
]; | |
NixOSEncryptedLiveCD.rootdevice = "/dev/disk/by-uuid/eeca998a-7922-4580-a932-4df6b6e3baea"; | |
NixOSEncryptedLiveCD.bootdevice = "/dev/disk/by-uuid/53A9-8F0E"; | |
NixOSEncryptedLiveCD.debug = https://_gateway:5000; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
read -r -d '' CONFIGURATION <<EOF | |
{ | |
imports = | |
[ <restore/configuration.nix> | |
/etc/nixos/duplicity-backup-config.nix | |
]; | |
NixOSEncryptedLiveCD.rootdevice = "$ROOT_DEV"; | |
NixOSEncryptedLiveCD.bootdevice = "$BOOT_DEV"; | |
${DEBUG+NixOSEncryptedLiveCD.debug = "$DEBUG";} | |
} | |
EOF | |
echo "$CONFIGURATION" | |
{ | |
imports = | |
[ <restore/configuration.nix> | |
/etc/nixos/duplicity-backup-config.nix | |
]; | |
NixOSEncryptedLiveCD.rootdevice = "/dev/disk/by-uuid/8ea06c0a-b165-40b2-b0f9-97d2275dd4fe"; | |
NixOSEncryptedLiveCD.bootdevice = "/dev/disk/by-uuid/56EF-0012"; | |
NixOSEncryptedLiveCD.debug = https://_gateway:5000; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
read -r -d '' CONFIGURATION <<EOF | |
{ | |
imports = | |
[ <restore/configuration.nix> | |
/etc/nixos/duplicity-backup-config.nix | |
]; | |
NixOSEncryptedLiveCD.rootdevice = "$ROOT_DEV"; | |
NixOSEncryptedLiveCD.bootdevice = "$BOOT_DEV"; | |
${DEBUG+NixOSEncryptedLiveCD.debug = ''$DEBUG'';} | |
} | |
EOF | |
echo "$CONFIGURATION" | |
{ | |
imports = | |
[ <restore/configuration.nix> | |
/etc/nixos/duplicity-backup-config.nix | |
]; | |
NixOSEncryptedLiveCD.rootdevice = "/dev/disk/by-uuid/8ea06c0a-b165-40b2-b0f9-97d2275dd4fe"; | |
NixOSEncryptedLiveCD.bootdevice = "/dev/disk/by-uuid/56EF-0012"; | |
NixOSEncryptedLiveCD.debug = ''https://_gateway:5000''; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
imports = | |
[ <restore/configuration.nix> | |
/etc/nixos/duplicity-backup-config.nix | |
]; | |
NixOSEncryptedLiveCD.rootdevice = "/dev/disk/by-uuid/8ea06c0a-b165-40b2-b0f9-97d2275dd4fe"; | |
NixOSEncryptedLiveCD.bootdevice = "/dev/disk/by-uuid/56EF-0012"; | |
NixOSEncryptedLiveCD.debug = "https://_gateway:5000"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment