Added extraInitrdKernelModules option to CD
svn path=/nixos/trunk/; revision=10182
This commit is contained in:
parent
563a6240a3
commit
7749d93524
@ -24,6 +24,7 @@ let
|
||||
includeBuildDeps = arg "includeBuildDeps" false;
|
||||
kernel = arg "kernel" (pkgs : pkgs.kernel);
|
||||
addUsers = arg "addUsers" [];
|
||||
extraInitrdKernelModules = arg "extraInitrdKernelModules" [];
|
||||
|
||||
/* Should return list of {configuration, suffix} attrsets.
|
||||
{configuration=configuration; suffix=""} is always prepended.
|
||||
@ -107,6 +108,9 @@ rec {
|
||||
extraTTYs = [] ++ (lib.optional manualEnabled 7) ++
|
||||
(lib.optional rogueEnabled 8);
|
||||
inherit kernel;
|
||||
initrd = {
|
||||
extraKernelModules = extraInitrdKernelModules;
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
@ -237,6 +241,7 @@ rec {
|
||||
pkgs.subversion # for nixos-checkout
|
||||
pkgs.w3m # needed for the manual anyway
|
||||
] ++ (packages pkgs);
|
||||
checkConfigurationOptions = true;
|
||||
};
|
||||
|
||||
users = {
|
||||
|
@ -47,6 +47,8 @@ start script
|
||||
${samba}/sbin/smbd -D -s ${smbConfig} &
|
||||
${samba}/sbin/winbindd -B -s ${smbConfig} &
|
||||
|
||||
ln -fs ${smbConfig} /var/samba/config
|
||||
|
||||
end script
|
||||
|
||||
respawn ${samba}/sbin/nmbd -D -s ${smbConfig} &; ${samba}/sbin/smbd -D -s ${smbConfig} &; ${samba}/sbin/winbindd -B &
|
||||
|
Loading…
Reference in New Issue
Block a user