Modular, context-aware and aspect-oriented dendritic Nix configurations. Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/ den.oeiuwq.com
configurations den dendritic nix aspect oriented
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: make home hostName nullable for standalone homes (#452)

Standalone home-manager configurations may not have a bound host. Change
hostName from strOpt to nullOr str so it defaults to null when no host
is associated.

authored by

Jason Bowman and committed by
GitHub
927f4d8e eb74bdaf

+5 -1
+5 -1
nix/lib/types.nix
··· 200 200 options = { 201 201 name = strOpt "home configuration name" userName; 202 202 userName = strOpt "user account name" userName; 203 - hostName = strOpt "host name" hostName; 203 + hostName = lib.mkOption { 204 + type = lib.types.nullOr lib.types.str; 205 + default = hostName; 206 + description = "host name (null for unbound standalone homes)"; 207 + }; 204 208 user = lib.mkOption { 205 209 default = userByName; 206 210 defaultText = lib.literalExpression "user";