NixOS configuration
clipse | ||
hyprland | ||
nix | ||
ssh | ||
swaylock | ||
wallpaper | ||
waybar | ||
wireguard | ||
wofi | ||
zsh | ||
.gitignore | ||
flake.lock | ||
flake.nix | ||
readme.md |
NixOS configuration for siempie
base: NixOS 23.11
Phase 1: Installation (minimal ISO)
nix-shell -p git
Create partitions
g (gpt disk label)
n
1 (partition number [1/128])
2048 first sector
+500M last sector (boot sector size)
t
1 (EFI System)
n
2
default (fill up partition)
default (fill up partition)
w (write)
Labels and filesystems
sudo mkfs.fat -F 32 /dev/sda1
sudo mkfs.ext4 /dev/sda2 -L root
sudo fatlabel /dev/sda1 boot
sudo mount /dev/disk/by-label/root /mnt
sudo mkdir -p /mnt/boot
sudo mount /dev/disk/by-label/boot /mnt/boot
Clone dotfiles repo
git clone https://git.simoncor.net/siempie/dotfiles-nix.git
Nix installation
cd dotfiles
sudo nixos-install --flake .#<phaedra|talathiel>
Reboot
sudo reboot
Phase 2: Finalize
Clone dotfiles
git clone https://git.simoncor.net/siempie/dotfiles-nix.git ~/.dotfiles
Link Hyprland
rm -rf ~/.config/hypr/hyprland
ln -s ~/.dotfiles/hyprland/hyprland.conf ~/.config/hypr/hyprland.conf
Login to apps
bitwarden
firefox + bitwarden plugin
google-chrome + bitwarden -plugin
nextcloud
vscode
spotify
Set avatar for GDM
! dont forget !
Tailscale
sudo tailscale up --login-server=https://vpn.mirahsimon.us:443 --accept-routes --operator=$USER
SSH keys
! dont forget !
Phase 3: Maintenance
Rebuild after changes
sudo nixos-rebuild switch --upgrade --flake ~/.dotfiles#<system_name>
Regularly update firmware
sudo fwupdmgr update