My personal NixOS dotfiles
Go to file
2024-12-26 21:56:44 +01:00
config cleanup in rofi and waybar 2024-12-26 21:04:30 +01:00
ginoza configuration fixes 2024-12-26 19:01:16 +01:00
kogami Yubikey and Oh-my-posh improvements 2024-12-26 21:56:44 +01:00
nixos Yubikey and Oh-my-posh improvements 2024-12-26 21:56:44 +01:00
.gitignore hyprland update 2024-12-20 16:18:36 +01:00
flake.lock System update 2024-12-23 21:06:49 +01:00
flake.nix Yubikey and Oh-my-posh improvements 2024-12-26 21:56:44 +01:00
README.md Yubikey and Oh-my-posh improvements 2024-12-26 21:56:44 +01:00
TODO.md fixes and cleanup after config rename 2024-12-26 15:56:31 +01:00

dotfiles

  • my personal nix dotfiles in the flake

Build and deploy

  • simple build command for system
git clone https://git.foglar.tech/foglar/dotfiles.git $HOME/.dotfiles 
sudo nixos-rebuild switch --flake ~/.dotfiles#kogami
  • generate a vm of the flake with this command
nix run github:nix-community/nixos-generators -- -c ./flake.nix --flake '#ginoza' -f vm --disk-size 20480 
  • deploy configuration on the new system
# Copy my repository
git clone https://git.foglar.tech/foglar/dotfiles.git $HOME/.dotfiles --depth 1

# Generate your own hardware configurations for system
sudo nixos-generate-config --dir ~/.dotfiles/kogami
# or
sudo nixos-generate-config --dir ~/.dotfiles/ginoza

# Rebuild your system from the flake
sudo nixos-rebuild switch --flake ~/.dotfiles#kogami

Features

Secure Operations

  • file for sops is in ~/.config/sops/ags/keys.txt

Yubikey

  • setup your yubikey to work with current user
nix-shell -p yubico-pam -p yubikey-manager
ykman otp chalresp --touch --generate 2
ykpamcfg -2 -v