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