Skip to content

Personal dotfiles configuration for NixOS, tailored for various devices. It includes system configurations, personal preferences, and customizations for my diverse hardware, in a modular way.

License

Notifications You must be signed in to change notification settings

BhasherBEL/dotfiles-nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NixOS dotfiles

how to use

On a new machine

First, you need a working diskio config, and a valid entry in flake.nix.

HOST=<new host name>

# Clone repo
sudo git clone https://github.com/bhasherbel/dotfiles-nix.git /etc/nixos

# Generate hardware-configuration
nixos-generate-config --root /tmp/config --no-filesystems
sudo cp /tmp/config/etc/nixos/hardware-configuration.nix /etc/nixos/hosts/$HOST

# Format disks and deploy
sudo nix run 'github:nix-community/disko#disko-install' --experimental-features 'nix-command flakes' -- --flake '/etc/nixos#HOST' --disk nvme /dev/nvme0

About

Personal dotfiles configuration for NixOS, tailored for various devices. It includes system configurations, personal preferences, and customizations for my diverse hardware, in a modular way.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages