Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

630 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

So you want to see my dotfiles ehhh?

https://img.shields.io/badge/Made_with-Doom_Emacs-blueviolet.svg?style=flat-square&logo=GNU%20Emacs&logoColor=white https://img.shields.io/badge/NixOS-v23.05-blue.svg?style=flat-square&logo=NixOS&logoColor=white

Shellzsh
WMbspwm
EditorEmacs
Terminalst
Launcherdmenu
Browserfirefox

Structure

.
|-- bin
|-- hosts
|   |-- aarch64-darwin
|   |   `-- lucid
|   |-- aarch64-linux
|   |   `-- air
|   |-- x86_64-linux
|   |   |-- earth
|   |   `-- limber-lt-kdb
|   `-- x86_64-windows
|       `-- nightmare
`-- modules
    |-- audio
    |-- darwin
    |-- desktop
    |-- home-manager
    |   |-- cli
    |   |-- desktop
    |   |   |-- backgrounds
    |   |   |-- dmenu
    |   |   |-- dunst
    |   |   `-- higan
    |   |-- dev
    |   |-- editors
    |   |   |-- doom
    |   |   `-- nvim
    |   `-- services
    |-- nixos
    `-- services

30 directories

Installation

1. Boot the NixOS minimal ISO

2. Connect to wifi (skip if ethernet)

sudo -i
systemctl start wpa_supplicant

wpa_cli
> add_network
> set_network 0 ssid "myssid"
> set_network 0 psk "mypassword"
> set_network 0 key_mgmt WPA-PSK
> enable_network 0

3. Install

Verify target disk with lsblk and adjust disko-config.nix if needed.

nixos-anywhere (remote, x86_64 only)

# On installer: set root password and note IP
passwd
ip addr

# From another machine:
nix run github:nix-community/nixos-anywhere -- \
    --generate-hardware-config nixos-generate-config \
    ./hosts/<platform>/<hostname>/hardware-configuration.nix \
    --flake github:venikx/dotfiles#<hostname> root@<ip>

Manual (from installer)

sudo -i
nix-shell -p git
git clone https://github.com/<user>/dotfiles /tmp/dotfiles
cd /tmp/dotfiles

sudo nix --experimental-features "nix-command flakes" run \
    github:nix-community/disko/latest -- \
    --mode destroy,format,mount ./hosts/<platform>/<hostname>/disko-config.nix

mount | grep /mnt
nixos-generate-config --no-filesystems --root /mnt
cp /mnt/etc/nixos/hardware-configuration.nix \
    ./hosts/<platform>/<hostname>/hardware-configuration.nix

nixos-install --flake .#<hostname>

4. Reboot and change user passwords

https://media.giphy.com/media/yJFeycRK2DB4c/giphy.gif

Releases

Packages

Used by

Contributors

Languages