Go to file
2024-05-28 10:33:36 +05:30
.github/workflows gh-actions: use my simple qemu-binfmt action for consistency 2024-05-02 00:05:26 +05:30
nixos-configuration add some useful KDE Plasma packages 2024-05-28 10:33:36 +05:30
scripts transition to flakes (squashed commit) 2024-04-07 16:38:52 +05:30
.envrc introduce a justfile to handle builds 2024-05-01 23:35:45 +05:30
.gitignore update .gitignore 2024-04-07 21:00:48 +05:30
flake.lock transition to flakes (squashed commit) 2024-04-07 16:38:52 +05:30
flake.nix fix networkingIface names 2024-05-27 19:47:17 +05:30
install.sh installer: idk why I removed the flake inputs upgrade command 2024-05-15 19:30:55 +05:30
justfile introduce a justfile to handle builds 2024-05-01 23:35:45 +05:30
README.md README: add badge for the Continuous Build GitHub action 2024-04-30 13:12:21 +05:30
tutorials.md add tutorials.md which includes materials to read about NixOS and related stuff 2023-09-02 08:17:43 +05:30

README

Continuous Build

  1. $hostName is the hostname of a host defined in the nixosHosts set, inside the flake.nix file
  2. $(whoami) should evaluate to the username of a valid user, as defined in the nixosHosts set, inside the flake.nix file

Install NixOS

sudo ./install.sh $targetDrive $hostName

Build a NixOS configuration

nix build .#machines."$hostName"

Standalone installation of home-manager

nix run home-manager/master -- switch --flake .

Build a standalone home-manager configuration

nix build .#homeOf."$(uname -m)-$(uname -s | awk '{print tolower($0)}')"."$(whoami)"

Create a NixOS ISO

nix build .#isos."$(uname -m)"