From 7775d877d857dc732564e23d5c5d16720404ee26 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Wed, 19 May 2021 22:05:59 -0400 Subject: Provide sample configuration file showing how one would use commands --- examples/custom-command-sample.json | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 examples/custom-command-sample.json (limited to 'examples/custom-command-sample.json') diff --git a/examples/custom-command-sample.json b/examples/custom-command-sample.json new file mode 100644 index 00000000..1ef40208 --- /dev/null +++ b/examples/custom-command-sample.json @@ -0,0 +1,36 @@ +{ + "audio": "pipewire", + "bootloader": "systemd-bootctl", + "custom-commands": [ + "cd /tmp; git clone https://aur.archlinux.org/paru.git; cd paru; makepkg -si", + "paru -S --noconfirm bitwarden discord etcher-bin google-chrome steam visual-studio-code-bin" + ], + "desktop": "gnome", + "!encryption-password": "supersecret", + "filesystem": "btrfs", + "harddrive": { + "path": "/dev/nvme0n1" + }, + "hostname": "development-box", + "kernels": [ + "linux" + ], + "keyboard-language": "us", + "mirror-region": { + "Worldwide": { + "https://mirror.rackspace.com/archlinux/$repo/os/$arch": true + } + }, + "nic": { + "NetworkManager": true + }, + "packages": ["docker", "firefox", "gimp", "git", "hexchat", "libreoffice-fresh", "vlc", "wget", "zsh"], + "superusers": { + "devel": { + "!password": "devel" + } + }, + "timezone": "US/Eastern", + "users": {} + } +} -- cgit v1.2.3-70-g09d2 From f137bc4076ec7e4e0914be466ef403810ab02fca Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Wed, 19 May 2021 22:41:07 -0400 Subject: Modify custom profile example to try to get it working --- examples/custom-command-sample.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'examples/custom-command-sample.json') diff --git a/examples/custom-command-sample.json b/examples/custom-command-sample.json index 1ef40208..0ddf62b9 100644 --- a/examples/custom-command-sample.json +++ b/examples/custom-command-sample.json @@ -2,8 +2,9 @@ "audio": "pipewire", "bootloader": "systemd-bootctl", "custom-commands": [ - "cd /tmp; git clone https://aur.archlinux.org/paru.git; cd paru; makepkg -si", - "paru -S --noconfirm bitwarden discord etcher-bin google-chrome steam visual-studio-code-bin" + "cd /home/devel; git clone https://aur.archlinux.org/paru.git", + "chown -R devel:devel /home/devel/paru", + "usermod -aG docker devel" ], "desktop": "gnome", "!encryption-password": "supersecret", @@ -24,7 +25,8 @@ "nic": { "NetworkManager": true }, - "packages": ["docker", "firefox", "gimp", "git", "hexchat", "libreoffice-fresh", "vlc", "wget", "zsh"], + "packages": ["docker", "git", "wget", "zsh"], + "profile": "desktop", "superusers": { "devel": { "!password": "devel" @@ -32,5 +34,4 @@ }, "timezone": "US/Eastern", "users": {} - } } -- cgit v1.2.3-70-g09d2 From 5fe3a77aedb8d0f9230c13c89139c77328ed28f7 Mon Sep 17 00:00:00 2001 From: Dylan Taylor Date: Thu, 20 May 2021 08:41:18 -0400 Subject: Update configuration script to work with changes --- examples/custom-command-sample.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/custom-command-sample.json') diff --git a/examples/custom-command-sample.json b/examples/custom-command-sample.json index 0ddf62b9..0518d3db 100644 --- a/examples/custom-command-sample.json +++ b/examples/custom-command-sample.json @@ -6,7 +6,6 @@ "chown -R devel:devel /home/devel/paru", "usermod -aG docker devel" ], - "desktop": "gnome", "!encryption-password": "supersecret", "filesystem": "btrfs", "harddrive": { @@ -26,7 +25,7 @@ "NetworkManager": true }, "packages": ["docker", "git", "wget", "zsh"], - "profile": "desktop", + "profile": "gnome", "superusers": { "devel": { "!password": "devel" -- cgit v1.2.3-70-g09d2