Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixos
  Commit: 73152e1702ee3f32e9811ca4bfa57ccf0c46a48e
      
https://github.com/NixOS/nixos/commit/73152e1702ee3f32e9811ca4bfa57ccf0c46a48e
  Author: Eelco Dolstra <[email protected]>
  Date:   2013-02-03 (Sun, 03 Feb 2013)

  Changed paths:
    M modules/system/etc/etc.nix

  Log Message:
  -----------
  etc.nix: Fix style


  Commit: ab238804b8db746783253162dad56df997c5c728
      
https://github.com/NixOS/nixos/commit/ab238804b8db746783253162dad56df997c5c728
  Author: Eelco Dolstra <[email protected]>
  Date:   2013-02-03 (Sun, 03 Feb 2013)

  Changed paths:
    M modules/config/networking.nix
    M modules/system/etc/etc.nix
    M modules/tasks/kbd.nix

  Log Message:
  -----------
  Turn environment.etc into an attribute set

This provides a more convenient syntax and allows easier overriding.

For example,

  environment.etc = singleton
    { target = "vconsole.conf";
      source = vconsoleConf;
    };

can now be written as

  environment.etc."vconsole.conf".source = vconsoleConf;


  Commit: 1daab1ebf5fdcc89030d0216dc3918b7f87f3ac5
      
https://github.com/NixOS/nixos/commit/1daab1ebf5fdcc89030d0216dc3918b7f87f3ac5
  Author: Eelco Dolstra <[email protected]>
  Date:   2013-02-03 (Sun, 03 Feb 2013)

  Changed paths:
    M modules/config/networking.nix
    M modules/system/etc/etc.nix
    M modules/tasks/filesystems.nix

  Log Message:
  -----------
  environment.etc: Add convenience option 'text'

This allows writing

  environment.etc.hosts.text = "127.0.0.1 localhost";

instead of

  environment.etc.hosts.source = pkgs.writeText "hosts" "127.0.0.1 localhost";


  Commit: 979117b6b8fb1e630d4a56c040fd8749d2d07b18
      
https://github.com/NixOS/nixos/commit/979117b6b8fb1e630d4a56c040fd8749d2d07b18
  Author: Eelco Dolstra <[email protected]>
  Date:   2013-02-03 (Sun, 03 Feb 2013)

  Changed paths:
    M modules/system/etc/etc.nix

  Log Message:
  -----------
  Selectively allow /etc files to be disabled

For instance, if you don't want NixOS to emit /etc/hosts, you
can say:

  environment.etc.hosts.enable = false;


Compare: https://github.com/NixOS/nixos/compare/36088abb396a...979117b6b8fb
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to