Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/nixos/modules/system/activation/no-clone.nix

12 lines
297 B
Nix
Raw Normal View History

Add extra module argument to provide a nesting.clone option. This option does the same as nesting.children except that each configuration inherits from the top-level configuration. svn path=/nixos/trunk/; revision=21663
2010-05-08 17:18:26 +00:00
# This configuration is not made to figure inside the module-list.nix to
# allow clone of the first level.
{pkgs, ...}:
with pkgs.lib;
{
better workaround for building nested child configurations svn path=/nixos/trunk/; revision=34164
2012-05-18 06:17:08 +00:00
boot.loader.grub.device = mkOverrideTemplate 0 {} "nodev";
Replace mkOverride by its alias mkOverrideTemplate to remove the unused template argument of mkOverride later. svn path=/nixos/trunk/; revision=23631
2010-09-03 19:10:59 +00:00
nesting.children = mkOverrideTemplate 0 {} [];
nesting.clone = mkOverrideTemplate 0 {} [];
Add extra module argument to provide a nesting.clone option. This option does the same as nesting.children except that each configuration inherits from the top-level configuration. svn path=/nixos/trunk/; revision=21663
2010-05-08 17:18:26 +00:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 113ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API