Go to file
2023-10-26 19:47:59 -07:00
home-manager Added ledger, discord, and other packages. 2023-10-26 19:45:03 -07:00
hosts Added the davfs2 service for buckwheat to mount remote webdav shares. Commit to test and build. 2023-10-07 07:48:50 -07:00
nixos Added ledger, discord, and other packages. 2023-10-26 19:45:03 -07:00
flake.lock testing the --commit-lock-file option while rebuilding 2023-10-26 19:47:59 -07:00
flake.nix Switched to NixOS unstable branch 2023-08-02 07:10:29 -07:00
README.md Added rss2email service to buckwheat configuration. 2023-09-28 18:28:33 -07: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
  • Create specific software installations (i.e. gui, gaming, kali-collection, etc)
  • Implement Agenix or Sopsnix
  • Implement Stylix
  • Implement MicroVM.nix