Follow NixOS manual, be sure to setup
- Networking / Wireless
- Hostname
- User and password
nix flake
(n)vim
git
on first setup. Then clone this repo and
- possibly add entry for hostname adding new folder under
system
, - possibly add entry for user adding new folder under
users
, - check / update
hardware-configuration.nix
.
Then apply.
See nixos-generators
nix build .#nixosConfigurations.jb-nixos-live.config.formats.[raw|raw-efi|install-iso]
./update.sh && ./apply-user.sh jonas-nixos [jonas-mbp / ...] && sudo ./apply-system.sh
-
nix flake show
-
nix repl
and:lf .
-
Debug derivations:
nix develop --ignore-environment .#derivation.system
-
nix-flake-lock-nixpkgs
-
nix-vim-nixpkgs
- macOS update breaks environment
Add
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
to /etc/zshrc
- macOS update breaks alacritty
Install using
brew install --cask alacritty --no-quarantine
to /etc/zshrc
- Alacritty not working properly
Update using brew.
-
Vim: Switch from FTerm to toggleterm
-
Manix
-
Get vaapi running on MacBookPro12,1 (chromium takes an incredible amount of cpu)
-
Get Cirrus CS4208 running on MacBookPro12,1 (no bass)
-
Clean up minimal / default includes
- Reenable newm, add newm-sidecar