feat!: change machine hostnames

Instead of merely naming my systems "laptop", "desktop", etc. (boring),
I now have them named after Aristotelian elements (cool).

This also gives me an excuse to refactor my flake file.
This commit is contained in:
Kiana Sheibani 2024-10-15 03:25:56 -04:00
parent e4ec3df115
commit fb7b45f98d
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
13 changed files with 81 additions and 83 deletions

7
machine.nix Normal file
View file

@ -0,0 +1,7 @@
{ lib, ... }:
{
options.machine = lib.mkOption {
description = "The machine hostname to configure for";
type = lib.types.enum [ "earth" "fire" "air" "water" ];
};
}