- In Principle, Manage With Nix
- NixOS(x86_64-linux)
- MacOS(x86_64-darwin)
dotfiles/
flake.nix #Entry Point
nix/
nixos/
configuration.nix #System Settings
hardware-configuration.nix #Hardware Settings
nix-darwin/
home-manager/
common/ #Common Settings for NixOS and Darwin
nixos/ #Configuration for NixOS
darwin/ #Configuration for DarwinVimBind
- starting point : Mod
- focus : -
- move : Shift
- starting point : Mod + Ctrl
- focus : -
- move : Shift
- starting point : Mod + Alt
- focus : -
- move : Shift
# Nix Install
curl -L https://nixos.org/nix/install | sh
source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
echo "experimental-features = nix-command flakes" | sudo tee -a /etc/nix/nix.conf
# Make Directory
mkdir -p ~/src/github.com/myuron
cd ~/src/github.com/myuron
# Clone dotfiles
nix nixpkgs#git clone https://github.com/myuron/dotfiles.git
# Build System
nix run .#darwin
nix run .#home-darwinmkdir -p ~/src/github.com/myuron
cd ~/src/github.com/myuron
# Clone dotfiles
nix --extra-experimental-features 'nix-command flakes' run nixpkgs#git clone https://github.com/myuron/dotfiles.git
cd dotfiles
cp /etc/nixos/hardware-configuration.nix ./nixos/
# in devShell
nix --extra-experimental-features 'nix-command flakes' develop
git add .
# Build System
nix --extra-experimental-features 'nix-command flakes' run .#nixos
nix --extra-experimental-features 'nix-command flakes' run .#home-nixosmkdir ~/wallpaper- settings github ssh-key