No description
Find a file
aciceri 317e50ef9f
Emacs and inputs updated
- Added org-roam in Emacs
- Flake inputs updated
- Other little modifications
2021-10-14 01:26:52 +02:00
.github/workflows Now only commit tagged prefixed by release will trigger the release process 2021-09-29 21:47:29 +02:00
bud A new start 2021-09-29 21:37:59 +02:00
hosts Now Emacs works on the Macbook 2021-10-11 23:59:13 +02:00
lib A new start 2021-09-29 21:37:59 +02:00
modules A new start 2021-09-29 21:37:59 +02:00
overlays A new start 2021-09-29 21:37:59 +02:00
pkgs Emacs and inputs updated 2021-10-14 01:26:52 +02:00
profiles Emacs and inputs updated 2021-10-14 01:26:52 +02:00
shell A new start 2021-09-29 21:37:59 +02:00
users Emacs and inputs updated 2021-10-14 01:26:52 +02:00
.editorconfig A new start 2021-09-29 21:37:59 +02:00
.envrc A new start 2021-09-29 21:37:59 +02:00
.gitignore A new start 2021-09-29 21:37:59 +02:00
bors.toml A new start 2021-09-29 21:37:59 +02:00
default.nix A new start 2021-09-29 21:37:59 +02:00
flake.lock Emacs and inputs updated 2021-10-14 01:26:52 +02:00
flake.nix Emacs and inputs updated 2021-10-14 01:26:52 +02:00
README.org Working on Emacs 2021-10-11 13:55:12 +02:00
shell.nix A new start 2021-09-29 21:37:59 +02:00

NixFleet

A complete, declarative and reproducible configuration of my entire Nix fleet, this includes the following machines:

  • my main home workstation pc
  • homeserver (mainly a nas) hs
  • my arm based PineBook Pro pbp, almost completely open hardware
  • MacBook PRO that I use for work, for this I'll use nix-darwin keeping macOs 11 Big Sur

The different confgurations share many profiles, in fact my original goal was to avoid to rewrite the same Nix derivations for my different machines.

Commands

Here I describe my most used commands. All the commands are executed inside the Flake's development shell. To enter in this shell is sufficent to cd in the folder (if you use direnv) or run nix develop.

Checking

To check that the Nix Flake is well defined:

  nix flake check

Building

nix -Lv build
".#nixosConfigurations.<host>.config.system.build.toplevel"

Where <host> is the hostname e.g. pc.

Testing new config

  bud rebuild <host> test

Where <host> is the hostname e.g. pc.

Switching

  bud rebuild <host> switch

Where <host> is the hostname e.g. pc.

Remote deploy

Using deploy-rs I guess, still finding out how to do.

Github Actions

Check and build

At every commit pushed on master a Github actions which nix flake check the flake is executed and then every system is build. Currently this workflow will skip aarch64 hosts since the runner is x86_64 and I didn't find a way to make it cross compile.

Release

At every tagged commit whose tag name starts with release- a process that release all the bootstrap ISOs for the systems is started. Here I've the same problem with aarch64 hosts so the runner will skip them.