mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 22:29:06 +01:00
Fix hostnames by removing string context
This commit is contained in:
parent
41ed609dc0
commit
ae5e7e8040
1 changed files with 3 additions and 1 deletions
|
|
@ -10,7 +10,9 @@ let
|
|||
inputs.nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs self; };
|
||||
modules =
|
||||
(lib.singleton { networking.hostName = lib.baseNameOf hostDir; })
|
||||
(lib.singleton {
|
||||
networking.hostName = hostDir |> lib.baseNameOf |> lib.unsafeDiscardStringContext;
|
||||
})
|
||||
++ (
|
||||
hostDir
|
||||
|> builtins.readDir
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue