Skip to content

mrunhap/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WIP

NOTE: All keybinding of this config is set for Dvorak keyboard layout.

Require

Install nix:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

Clone this repo:

git clone https://github.com/mrunhap/dotfiles.git ~/.setup

Or:

nix run nixpkgs#git clone https://github.com/mrunhap/dotfiles.git ~/.setup

NixOS

Install:

nixos-install --flake .#<host>

Rebuild:

sudo nixos-rebuild switch --flake .#<host>

MacOS

Type git to ensure you have xcode developer tools installed.

Install nix:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

Install homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

For Apple Sillison Macs, install Rosetta:

softwareupdate --install-rosetta --agree-to-license

For the first time:

nix build .#darwinConfigurations.<host>.system
./result/sw/bin/darwin-rebuild switch --flake .#<host>

Then use darwin-rebuild to rebuild and activate:

darwin-rebuild switch --flake .#<host>

Non-NixOS Linux

For first time:

nix build .#homeConfigurations.<host>.activationPackage
./result/activate

Then use home-manager to rebuild and activate:

home-manager switch --flake .#<host>

Tips

Enable color for pacman

Uncomment Color in /etc/pacman.conf.

No audio on thinkpad x1carbon

sudo pacman -S fwupd sof-firmware

Delete Nixos boot generations

Delete system-* in /nix/var/nix/profiles and rebuild the system.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published