Gw6c now can be configured not to start automatically
svn path=/nixos/trunk/; revision=10116
This commit is contained in:
parent
8eeb6a0a91
commit
a11779f912
77
configuration/live-dvd-X.nix
Normal file
77
configuration/live-dvd-X.nix
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
{platform ? __currentSystem} :
|
||||||
|
let
|
||||||
|
isoFun = import ./rescue-cd-configurable.nix;
|
||||||
|
in
|
||||||
|
(isoFun {
|
||||||
|
inherit platform;
|
||||||
|
lib = (import ../pkgs/lib);
|
||||||
|
|
||||||
|
networkNixpkgs = "";
|
||||||
|
manualEnabled = true;
|
||||||
|
rogueEnabled = true;
|
||||||
|
sshdEnabled = true;
|
||||||
|
fontConfigEnabled = true;
|
||||||
|
sudoEnable = true;
|
||||||
|
includeMemtest = true;
|
||||||
|
includeStdenv = true;
|
||||||
|
includeBuildDeps = true;
|
||||||
|
|
||||||
|
kernel = pkgs: (
|
||||||
|
pkgs.module_aggregation
|
||||||
|
[pkgs.kernel]
|
||||||
|
);
|
||||||
|
|
||||||
|
packages = pkgs : [
|
||||||
|
pkgs.irssi
|
||||||
|
pkgs.elinks
|
||||||
|
pkgs.ltrace
|
||||||
|
pkgs.subversion
|
||||||
|
pkgs.which
|
||||||
|
pkgs.file
|
||||||
|
pkgs.zip
|
||||||
|
pkgs.unzip
|
||||||
|
pkgs.unrar
|
||||||
|
pkgs.usbutils
|
||||||
|
pkgs.bc
|
||||||
|
pkgs.cpio
|
||||||
|
pkgs.ncat
|
||||||
|
pkgs.patch
|
||||||
|
pkgs.fuse
|
||||||
|
pkgs.indent
|
||||||
|
pkgs.zsh
|
||||||
|
pkgs.hddtemp
|
||||||
|
pkgs.hdparm
|
||||||
|
pkgs.sdparm
|
||||||
|
pkgs.sqlite
|
||||||
|
pkgs.wpa_supplicant
|
||||||
|
pkgs.lynx
|
||||||
|
pkgs.db4
|
||||||
|
pkgs.rogue
|
||||||
|
pkgs.attr
|
||||||
|
pkgs.acl
|
||||||
|
pkgs.automake
|
||||||
|
pkgs.autoconf
|
||||||
|
pkgs.libtool
|
||||||
|
pkgs.gnupg
|
||||||
|
pkgs.openssl
|
||||||
|
pkgs.units
|
||||||
|
pkgs.gnumake
|
||||||
|
pkgs.manpages
|
||||||
|
pkgs.cabextract
|
||||||
|
pkgs.upstartJobControl
|
||||||
|
pkgs.fpc
|
||||||
|
pkgs.python
|
||||||
|
pkgs.perl
|
||||||
|
pkgs.lftp
|
||||||
|
pkgs.wget
|
||||||
|
pkgs.guile
|
||||||
|
pkgs.utillinuxCurses
|
||||||
|
pkgs.emacs
|
||||||
|
pkgs.iproute
|
||||||
|
pkgs.MPlayer
|
||||||
|
pkgs.diffutils
|
||||||
|
pkgs.pciutils
|
||||||
|
pkgs.lsof
|
||||||
|
pkgs.vimHugeX
|
||||||
|
];
|
||||||
|
}).rescueCD
|
@ -1280,6 +1280,14 @@
|
|||||||
";
|
";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
autorun = mkOption {
|
||||||
|
default = true;
|
||||||
|
description = "
|
||||||
|
Switch to false to create upstart-job and configuration,
|
||||||
|
but not run it automatically
|
||||||
|
";
|
||||||
|
};
|
||||||
|
|
||||||
username = mkOption {
|
username = mkOption {
|
||||||
default = "";
|
default = "";
|
||||||
description = "
|
description = "
|
||||||
|
@ -20,7 +20,7 @@ in
|
|||||||
job = "
|
job = "
|
||||||
description \"Gateway6 client\"
|
description \"Gateway6 client\"
|
||||||
|
|
||||||
start on network-interfaces/started
|
start on ${ if cfg.autorun then "network-interfaces/started" else "never" }
|
||||||
stop on network-interfaces/stop
|
stop on network-interfaces/stop
|
||||||
|
|
||||||
respawn ${gw6cService}/bin/control start
|
respawn ${gw6cService}/bin/control start
|
||||||
|
Loading…
Reference in New Issue
Block a user