adding patches for all config changes in unstable

This commit is contained in:
alisceon 2026-04-09 11:40:36 +02:00
parent abe8ff6eff
commit b35d6bbc34
6 changed files with 14 additions and 21 deletions

View file

@ -2,6 +2,7 @@
{ {
programs.git = { programs.git = {
enable = true; enable = true;
signing.format = "openpgp";
settings = { settings = {
user = { user = {
name = "alisceon"; name = "alisceon";

View file

@ -9,7 +9,7 @@ in
enable = true; enable = true;
systemd = { systemd = {
enable = true; enable = true;
target = "graphical-session.target"; targets = [ "graphical-session.target" ];
}; };
settings.mainBar = { settings.mainBar = {
layer = "bottom"; layer = "bottom";

View file

@ -25,23 +25,11 @@ in
command = "${pkgs.systemd}/bin/systemctl suspend"; command = "${pkgs.systemd}/bin/systemctl suspend";
} }
]; ];
events = [ events = {
{ before-sleep = "display off; systemctl --user stop libinput-gestures; ${lock}";
event = "before-sleep"; after-resume = "display on; systemctl --user start libinput-gestures";
command = "display off; systemctl --user stop libinput-gestures; ${lock}"; lock = (display "off") + "; " + lock;
} unlock = display "on";
{ };
event = "after-resume";
command = "display on; systemctl --user start libinput-gestures";
}
{
event = "lock";
command = (display "off") + "; " + lock;
}
{
event = "unlock";
command = display "on";
}
];
}; };
} }

View file

@ -13,7 +13,10 @@
xdg = { xdg = {
enable = true; enable = true;
userDirs.enable = true; userDirs = {
enable = true;
setSessionVariables = true;
};
mime.enable = true; mime.enable = true;
autostart = { autostart = {
enable = true; enable = true;

View file

@ -6,6 +6,7 @@
programs.git = { programs.git = {
enable = true; enable = true;
signing.format = "openpgp";
settings.safe.directory = repoLocalPath; settings.safe.directory = repoLocalPath;
}; };
} }

View file

@ -64,7 +64,7 @@
pkgs.vlc pkgs.vlc
pkgs.via pkgs.via
pkgs.plymouth pkgs.plymouth
pkgs.xorg.xhost pkgs.xhost
(pkgs.bottles.override { removeWarningPopup = true; }) (pkgs.bottles.override { removeWarningPopup = true; })
]; ];
sessionVariables.NIXOS_OZONE_WL = "1"; sessionVariables.NIXOS_OZONE_WL = "1";