Accidentally updated from stable channel to unstable:
0546a4a -> 125ffff
new problems i managed to solve
Xorg does not accept connections from system users
not sure how long it didn't work but xhost fixes it.
services.xserver.displayManager.sessionCommands = ''
${pkgs.xorg.xhost}/bin/xhost +local:
'';
msmtp stopped working
trying to start up msmtp results in:
Jul 27 09:07:35 omo audit[5803]: ANOM_ABEND auid=9001 uid=9001 gid=100 ses=4 pid=5803 comm="msmtp" exe="/nix/store/ic79467gar4ard15z3xwknxwa772gy9q-msmtp-1.6.4/bin/msmtp" sig=4
Jul 27 09:07:35 omo kernel: traps: msmtp[5803] trap invalid opcode ip:7fc95490e18e sp:7ffcf59b2448 error:0 in libgmp.so.10.3.0[7fc9548d5000+8f000]
Jul 27 09:07:35 omo kernel: audit: type=1701 audit(1469603255.865:151): auid=9001 uid=9001 gid=100 ses=4 pid=5803 comm="msmtp" exe="/nix/store/ic79467gar4ard15z3xwknxwa772gy9q-msmtp-1.6.4/bin/msmtp" sig=4
Just to finish sending my mail I installed old msmtp into user env:
find /nix/store -name msmtpd -type f
nix-env -i /nix/store/pzfam2i2kpfdncz8yzyn5bkxq7fmin8z-msmtp-1.6.4/bin/msmtp
GPG agent stopped working
Seems like in gpg 2.1 write-env-file became obsolete:
gpg-agent[14303]: WARNING: "--write-env-file" is an obsolete option - it has no effect`
Solution
--- a/makefu/2configs/zsh-user.nix
+++ b/makefu/2configs/zsh-user.nix
@@ -22,15 +22,11 @@
- # load gpg-agent
- envfile="$HOME/.gnupg/gpg-agent.env"
- if [ -e "$envfile" ] && kill -0 $(grep GPG_AGENT_INFO "$envfile" | cut -d: -f 2) 2>/dev/null; then
- eval "$(cat "$envfile")"
- else
- eval "$(${pkgs.gnupg}/bin/gpg-agent --daemon --enable-ssh-support --write-env-file "$envfile")"
- fi
- export GPG_AGENT_INFO
- export SSH_AUTH_SOCK
+ ${pkgs.gnupg}/bin/gpg-connect-agent updatestartuptty /bye >/dev/null
+ GPG_TTY=$(tty)
+ export GPG_TTY
+ unset SSH_AGENT_PID
+ export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
'';
Touchpad enabled on X220 but in retard mode
I use the trackpoint instead, before it was disabled by default.
Solution
--- a/makefu/2configs/hw/tp-x2x0.nix
+++ b/makefu/2configs/hw/tp-x2x0.nix
@@ -12,6 +12,12 @@
+ # enable synaptics so we can easily disable the touchpad
+ # enable the touchpad with `synclient TouchpadOff=0`
+ services.xserver.synaptics = {
+ enable = true;
+ additionalOptions = ''Option "TouchpadOff" "1"'';
+ };
Devpi stopped building
Tests are activated by default for python packages. For some reason my devpi package contains failing tests, too lazy to investigate.
Workaround
--- a/makefu/5pkgs/devpi/default.nix
+++ b/makefu/5pkgs/devpi/default.nix
@@ -8,7 +8,7 @@ let
url = "https://pypi.python.org/packages/source/e/execnet/${name}.tar.gz";
sha256 = "1rpk1vyclhg911p3hql0m0nrpq7q7mysxnaaw6vs29cpa6kx8vgn";
};
-
+ doCheck = false;
Deprecated nixpkgs options
services.xserver.vaapiDrivers became hardware.opengl.extraPackages, nix.useChroot became nix.useSandbox, services.iodined.* became services.iodined.server.
--- a/makefu/2configs/default.nix
+++ b/makefu/2configs/default.nix
@@ -66,7 +66,7 @@
- nix.useChroot = true;
+ nix.useSandbox = true;
--- a/makefu/2configs/hw/tp-x220.nix
+++ b/makefu/2configs/hw/tp-x220.nix
@@ -8,10 +8,9 @@
-
+ hardware.opengl.extraPackages = [ pkgs.vaapiIntel pkgs.vaapiVdpau ];
services.xserver = {
videoDriver = "intel";
- vaapiDrivers = [ pkgs.vaapiIntel pkgs.vaapiVdpau ];
--- a/makefu/2configs/iodined.nix
+++ b/makefu/2configs/iodined.nix
@@ -8,9 +8,11 @@ in {
services.iodined = {
enable = true;
- domain = domain;
- ip = "172.16.10.1/24";
- extraConfig = "-P ${pw} -l ${config.krebs.build.host.nets.internet.ip4.addr}";
+ server = {
+ domain = domain;
+ ip = "172.16.10.1/24";
+ extraConfig = "-P ${pw} -l ${config.krebs.build.host.nets.internet.ip4.addr}";
+ };
broken stuff i will fix by waiting for a new release
- Xorg takes 10 seconds to boot - I do not boot too often, will have this solved via enterprise-waiting. UPDATE: i think this is related to vboxnet0 to time out after 1min 30sec
- Screen flickers when root user logs in - Redshift is now a systemd user service which results in redshift starting up at connect. Will not do anything.
- systemd --user fails - see https://github.com/NixOS/nixpkgs/issues/15653
- cannot print anymore on Samsung SCX-3200 Printer - overwriting cups and cups_filters results in mass rebuild for my unstable revision
solved with update
Some things actually get solved with the new rev:
- chromium does not use up all 4 CPUs when showing videos
- nixos module security.acme provides
preliminarySelfsignedfor automated ssl certificate creation
Comments