mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
tree-wide: fix more warning related to loaOf deprecation
This commit is contained in:
parent
5961f211f3
commit
e85b34c484
3 changed files with 13 additions and 16 deletions
|
@ -612,10 +612,7 @@ in
|
||||||
{
|
{
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
etc = singleton
|
etc.postfix.source = "/var/lib/postfix/conf";
|
||||||
{ source = "/var/lib/postfix/conf";
|
|
||||||
target = "postfix";
|
|
||||||
};
|
|
||||||
|
|
||||||
# This makes it comfortable to run 'postqueue/postdrop' for example.
|
# This makes it comfortable to run 'postqueue/postdrop' for example.
|
||||||
systemPackages = [ pkgs.postfix ];
|
systemPackages = [ pkgs.postfix ];
|
||||||
|
|
|
@ -124,7 +124,7 @@ in
|
||||||
# Allow users to run 'spamc'.
|
# Allow users to run 'spamc'.
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
etc = singleton { source = spamdEnv; target = "spamassassin"; };
|
etc.spamassassin.source = spamdEnv;
|
||||||
systemPackages = [ pkgs.spamassassin ];
|
systemPackages = [ pkgs.spamassassin ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -8,18 +8,18 @@
|
||||||
# udev.packages = [ pkgs.rfkill_udev ];
|
# udev.packages = [ pkgs.rfkill_udev ];
|
||||||
#
|
#
|
||||||
# Add a hook script in the managed etc directory, e.g.:
|
# Add a hook script in the managed etc directory, e.g.:
|
||||||
# etc = [
|
# etc."rfkill.hook" = {
|
||||||
# { source = pkgs.writeScript "rtfkill.hook" ''
|
# mode = "0755";
|
||||||
# #!${pkgs.runtimeShell}
|
# text = ''
|
||||||
|
# #!${pkgs.runtimeShell}
|
||||||
#
|
#
|
||||||
# if [ "$RFKILL_STATE" -eq "1" ]; then
|
# if [ "$RFKILL_STATE" -eq "1" ]; then
|
||||||
# exec ${config.system.build.upstart}/sbin/initctl emit -n antenna-on
|
# exec ${config.system.build.upstart}/sbin/initctl emit -n antenna-on
|
||||||
# else
|
# else
|
||||||
# exec ${config.system.build.upstart}/sbin/initctl emit -n antenna-off
|
# exec ${config.system.build.upstart}/sbin/initctl emit -n antenna-off
|
||||||
# fi
|
# fi
|
||||||
# '';
|
# '';
|
||||||
# target = "rfkill.hook";
|
# }
|
||||||
# }
|
|
||||||
|
|
||||||
# Note: this package does not need the binaries
|
# Note: this package does not need the binaries
|
||||||
# in the rfkill package.
|
# in the rfkill package.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue