Update flake, add flake registry, fix xhost, others

This commit is contained in:
2026-04-11 19:33:15 +02:00
parent 9292f61a3f
commit 8f3b2266d3
8 changed files with 705 additions and 77 deletions
+4 -2
View File
@@ -140,8 +140,8 @@ in
PATH = [ "\${XDG_BIN_HOME}" ];
};
environment.shellInit = ''
if ! [ -z "$DISPLAY" ]; then xhost +si:localuser:root &> /dev/null; fi;
if ! [ -z "$DISPLAY" ]; then xhost +si:localuser:$USER &> /dev/null; fi;
if ! [ -z "$DISPLAY" ]; then ${pkgs.xorg.xhost}/bin/xhost +si:localuser:root &> /dev/null; fi;
if ! [ -z "$DISPLAY" ]; then ${pkgs.xorg.xhost}/bin/xhost +si:localuser:$USER &> /dev/null; fi;
'';
i18n.inputMethod.enabled = "fcitx5";
i18n.inputMethod.fcitx5.addons = [
@@ -294,5 +294,7 @@ in
AllowSuspendThenHibernate=no
'';
system.stateVersion = "25.11";
}