[Nix-dev] Umask Setting in NixOS

Игорь Пашев pashev.igor at gmail.com
Sat Jun 25 18:23:17 CEST 2016


I would set in one of the shell initialization scripts, like

  programs.bash.interactiveShellInit = ''
    umask ...
  '';

Or, for services, in systemd service options / scripts

2016-06-22 17:21 GMT+03:00 Roger Qiu <roger.qiu at matrix.ai>:
> Hi,
>
> In a new installation of NixOS, the umask command gives me back `022`. I was
> wondering where is this being set? The `/etc/login.defs` say `UMASK 077` but
> that doesn't match what the command is giving.


More information about the nix-dev mailing list