Move all of NixOS to nixos/ in preparation of the repository merge
This commit is contained in:
4
nixos/lib/from-env.nix
Normal file
4
nixos/lib/from-env.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
# TODO: remove this file. There is lib.maybeEnv now
|
||||
name: default:
|
||||
let value = builtins.getEnv name; in
|
||||
if value == "" then default else value
|
||||
Reference in New Issue
Block a user