From 297ef48f8e8bb5f50a16f9074b54bec6827eec6d Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Thu, 14 Sep 2023 19:57:05 -0400 Subject: [PATCH] added firefox native --- deploy.sh | 20 ++++++++++ home-config/home-configuration.scm | 5 ++- modules/ryan-packages/mozilla.scm | 62 ++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+), 2 deletions(-) create mode 100644 modules/ryan-packages/mozilla.scm diff --git a/deploy.sh b/deploy.sh index cc7038f..80bd40f 100755 --- a/deploy.sh +++ b/deploy.sh @@ -62,11 +62,31 @@ copy_and_prepare() { echo "Installing non-guix signing keys for substitutes..." curl -o sign-key.pub https://substitutes.nonguix.org/signing-key.pub guix archive --authorize < sign-key.pub +} +install_system() { echo "Beginning install!" guix time-machine -C ./channels.scm -- system -L ./modules --substitute-urls='https://substitutes.nonguix.org https://bordeaux.guix.gnu.org https://ci.guix.gnu.org' init $install_hostname.scm /mnt +} + +install_user_env() { + # System should be installed now, we can chroot in and configure the user profile now + # NOTE: This assumes the user "ryan" for things, so change the USER var if you change your username + + # Mount the special block devices to prepare for chroot + mount --rbind /proc /mnt/proc + mount --rbind /sys /mnt/sys + mount --rbind /dev /mnt/dev + + # chroot into system and run commands + USER=ryan + chroot /mnt <