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:
parent
e4ec3df115
commit
fb7b45f98d
13 changed files with 81 additions and 83 deletions
7
machine.nix
Normal file
7
machine.nix
Normal 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" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue