# 1. Copy hardware configuration from NixOS installation
cp /etc/nixos/hardware-configuration.nix hosts/${HOST}/hardware-configuration.nix
# 2. Create directories for user data
for dir in ~/Music ~/Documents ~/Pictures/wallpapers/others; do
mkdir -p "$dir"
done
# 3. Copy wallpapers
cp -r wallpapers/otherWallpaper/gruvbox/* ~/Pictures/wallpapers/others/ && \
cp -r wallpapers/otherWallpaper/nixos/* ~/Pictures/wallpapers/others/ && \
ln -sf $PWD/wallpapers/wallpaper.png ~/Pictures/wallpapers/wallpaper
sudo nixos-rebuild switch --flake .#${HOST}- flake.nix base of the configuration
- hosts 🌳 per-host configurations that contain machine specific configurations
- desktop 🖥️ Desktop specific configuration
- modules 🍱 modularized NixOS configurations
- core ⚙️ Core NixOS configuration
- homes 🏠 my Home-Manager config
- wallpapers 🌄 wallpapers collection
For MacOS I'd like to use Stow due to constant issues with Nix sadly.
brew tap railwaycat/emacsmacport
brew tap anddani/homebrew-magi
brew install \
--cask emacs-mac \
--cask wezterm \
git magi stow asdf yazi zellij helix \
direnv ripgrep zsh fzf zplug starship \
yarn typescript-language-server zoxide tailwindcss-language-server \
font-fira-code-nerd-font rmpc mpd
# DOOM Emacs
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs
~/.config/emacs/bin/doom install
stow dotfilesBased on anddani/nix-home