refactor(treewide)
This commit is contained in:
parent
25d48ac2ac
commit
c4fc882042
99 changed files with 634 additions and 477 deletions
12
nixos/modules/host/name.nix
Normal file
12
nixos/modules/host/name.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ config, ... }:
|
||||
|
||||
let
|
||||
cfg = config.ooknet.host;
|
||||
in
|
||||
|
||||
{
|
||||
config = {
|
||||
networking.hostName = cfg.name;
|
||||
environment.sessionVariables.HN = cfg.name;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue