rename flakearg into hostname #2

Closed
opened 2026-06-03 11:02:36 +00:00 by bahrom04 · 1 comment
Owner

This flakearg atribute used for system configuration rebuild proccess. Itʻs better to rename this into hostname

sudo nixos-rebuild switch --flake .#flakearg # this is literally hostname

Warning message

option `programs.nix-data.flakearg` is deprecated, please rename `programs.nix-data.hostname` instead

Example code, something like that

github.com/xinux-org/nixpkgs@1167ddc8c0/nixos/modules/installer/cd-dvd/iso-image.nix (L532-L543)

## This [flakearg atribute](https://git.oss.uzinfocom.uz/xinux/nix-data/src/branch/main/modules/nixos/nix-data/default.nix#L25) used for system configuration rebuild proccess. Itʻs better to rename this into hostname ```bash sudo nixos-rebuild switch --flake .#flakearg # this is literally hostname ``` ## Warning message ``` option `programs.nix-data.flakearg` is deprecated, please rename `programs.nix-data.hostname` instead ``` ## Example code, something like that https://github.com/xinux-org/nixpkgs/blob/1167ddc8c033d28b9d07afccba2708af1f73cfc1/nixos/modules/installer/cd-dvd/iso-image.nix#L532-L543
Owner

To be resolved within: #3

To be resolved within: https://git.oss.uzinfocom.uz/xinux/nix-data/pulls/3
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
xinux/nix-data#2
No description provided.