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
- Alacritty not working properly
Update using brew.
-
Get vaapi running on MacBookPro12,1 (chromium takes an incredible amount of cpu)
-
Get Cirrus CS4208 running on MacBookPro12,1 (no bass)
-
Add home-manager and nixos-options to nix-search
-
Ensure
nix shell
and setting up a flake initially uses the systems nixpkgs:nix-flake-lock-nixpkgs
-
Fix nix-search format for "nix search" instead of "nix-env -qaP"
-
macho
-
gsync
-
Clean up minimal / default includes
- Reenable newm, add newm-sidecar