Add Arch Linux support
This commit is contained in:
@@ -19,8 +19,14 @@ curl -L https://raw.githubusercontent.com/TrudeEH/dotfiles/main/install.sh | bas
|
||||
- `update` Update Nix and the OS.
|
||||
- `reload` Rebuild the config after changing it.
|
||||
|
||||
## Tested on:
|
||||
## Supported distros
|
||||
- Debian
|
||||
- Fedora Workstation
|
||||
- Arch Linux
|
||||
|
||||
## Tested on
|
||||
- macOS 14
|
||||
- Debian Bookworm
|
||||
- Fedora Worstation 39
|
||||
- Ubuntu 23.10
|
||||
- Arch Linux (as of last commit)
|
||||
|
||||
12
home.nix
12
home.nix
@@ -1,3 +1,5 @@
|
||||
# Home-Manager configuration
|
||||
|
||||
# man home-configuration.nix
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
@@ -14,11 +16,17 @@
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# Packages to install:
|
||||
|
||||
# GUI Apps
|
||||
obsidian
|
||||
signal-desktop
|
||||
fragments
|
||||
element-desktop
|
||||
gnome-secrets
|
||||
|
||||
# Note: Game packages like Steam and Prism should be installed through flatpak, or at system level.
|
||||
|
||||
# CLI Apps
|
||||
neofetch
|
||||
unzip
|
||||
eza
|
||||
@@ -80,7 +88,7 @@
|
||||
elif [ "$(grep -Ei 'arch|manjaro|artix' /etc/*release)" ]; then
|
||||
echo "Updating Arch..."
|
||||
sudo pacman -Syu
|
||||
sudo pacman -Rsn $(paru -Qdtq)
|
||||
sudo pacman -Rsn $(pacman -Qdtq)
|
||||
if p c pacman-contrib &>/dev/null; then
|
||||
paccache -rk1
|
||||
else
|
||||
@@ -251,7 +259,9 @@
|
||||
"codium.desktop"
|
||||
"org.gnome.Terminal.desktop"
|
||||
"obsidian.desktop"
|
||||
"org.gnome.World.Secrets.desktop"
|
||||
"signal-desktop.desktop"
|
||||
"element-desktop.desktop"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user