NixOS configuration
This repository has been archived on 2024-07-10. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2024-03-24 16:15:46 +01:00
clipse [nix] initial commit 2024-03-24 16:15:15 +01:00
hyprland [nix] initial commit 2024-03-24 16:15:15 +01:00
nix [nix] initial commit 2024-03-24 16:15:15 +01:00
ssh [nix] initial commit 2024-03-24 16:15:15 +01:00
swaylock [nix] initial commit 2024-03-24 16:15:15 +01:00
wallpaper [nix] initial commit 2024-03-24 16:15:15 +01:00
waybar [nix] initial commit 2024-03-24 16:15:15 +01:00
wireguard [nix] initial commit 2024-03-24 16:15:15 +01:00
wofi [nix] initial commit 2024-03-24 16:15:15 +01:00
zsh [nix] initial commit 2024-03-24 16:15:15 +01:00
.gitignore [git] added .gitignore 2024-03-24 16:15:46 +01:00
flake.lock [nix] initial commit 2024-03-24 16:15:15 +01:00
flake.nix [nix] initial commit 2024-03-24 16:15:15 +01:00
readme.md [nix] initial commit 2024-03-24 16:15:15 +01:00

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