Go to file
2023-11-21 18:24:59 -08:00
home-manager Created fireweed host configuration flake 2023-11-21 18:24:59 -08:00
hosts Created fireweed host configuration flake 2023-11-21 18:24:59 -08:00
nixos Created fireweed host configuration flake 2023-11-21 18:24:59 -08:00
build.log Committing changes to test build 2023-10-31 06:36:29 -07:00
flake.lock Committing changes to test build 2023-10-31 06:36:29 -07:00
flake.nix Switched to NixOS unstable branch 2023-08-02 07:10:29 -07:00
README.md Created fireweed host configuration flake 2023-11-21 18:24:59 -08:00

iiogama's Personal NixOS/Home-Manager Configuration

How to build existing system with flake

cd <build repo>
sudo nixos-rebuild switch --flake ".#<hostname>"

How to update existing system's packages

sudo nixos-rebuild switch --flake ".#<hostname>" --update-input nixpkgs --commit-lock-file

How to install new system with flake

  1. Boot into live NixOS disk and run the following commands:
sudo su
nix-env -iA nixos.git
git clone <repo url> /mnt/etc/nixos
nixos-install --flake ".#<host>"
  1. Reboot machine, log in, and run the following commands:
sudo rm -r /etc/nixos/configuration.nix
  1. Move build to desired location.

Nix commands to remember

nix flake update
nix run nixpkgs#<package>

Resources

Todo

  • Create additional host configurations
  • Implement the Impermanence module
  • Implement Agenix or Sopsnix
  • Implement Stylix
  • Implement MicroVM.nix
  • Figure out urlview and yank conflict with tmux plugins