Skip to content

yechielw/dots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

340 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nixos and home-manager config

screenshot

Hyprland/NixOS/GNU/Linux

  • Kernal: CachyOS
  • Lanzaboote: TPM backed FDE with auto unlock
  • Bar: Waybar
  • Notification daemon: Swaync
  • Terminal: Kitty
  • Launcher: Vicinae (as well as Clipboard manager and Emoji picker)
  • Editor: Neovim + lazy wraped by nixcats for dependancies
  • Design principle: Mac (Corners, Shades, Themes, Fonts)

Installation

# login to bitwarden desktop and enable ssh agnet
SSH_AUTH_SOCK=$HOME/.bitwarden-ssh-agent.sock git [email protected]:yechielw/dots.git
sudo nixos-rebuild switch --flake ./dots
#nixos-rebuild switch --flake github:yechiel/dots?dir=work \
#–-extra-experimental-features nix-command flake

or

nix-shell -p git bitwarden 
SSH_AUTH_SOCK=$HOME/.bitwarden-ssh-agent.sock git [email protected]:yechielw/dots.git 
nixos-rebuild switch --flake ./dots

post installation

Secure boot and TPM

sudo nix run nixpkgs#sbctl create-keys

sudo nixos-rebuild switch --flake .
sudo nix run nixpkgs#sbctl verify

Reboot to bios, enable secure boot and enable setup mode

sudo nix run nixpkgs#sbctl enroll-keys -- --microsoft

Reboot

bootctl status

Enable TPM for all lucks partitions (usually root and SWAP)

 sudo systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=0+2+7+12 --wipe-slot=tpm2 /dev/nvme0n1p2
 sudo systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=0+2+7+12 --wipe-slot=tpm2 /dev/nvme0n1p3

 #or
 sudo blkid -t TYPE=crypto_LUKS | cut -d : -f1 | xargs -l sudo systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=0+2+7+12 --wipe-slot=tpm2

enable fingerprint login

fprintd-enroll $USER

enable atuin

atuin login
atuin sync

About

NixOS and home-manager config

Resources

Stars

Watchers

Forks

Contributors