improve portal setup, start configuring waybar and some other stuff

This commit is contained in:
Markus Heurung 2024-06-05 15:31:44 +02:00
parent b367fb8472
commit 146aec7b82
2 changed files with 49 additions and 3 deletions

View file

@ -384,6 +384,37 @@
}; };
swaylock.enable = true; swaylock.enable = true;
waybar = { waybar = {
enable = true;
systemd.enable = true;
settings = {
mainBar = {
layer = "top";
position = "top";
height = 36;
spacing = 3;
output = [ "DP-1" ];
modules-left = [
"sway/workspaces"
"sway/mode"
"sway/scratchpad"
"sway/window"
"custom/media"
];
modules-center = [
"clock"
"idle_inhibitor"
];
modules-right = [
"pulseaudio"
"backlight"
"network"
"tray"
"custom/notification"
"custom/power"
];
};
};
};
zoxide = { zoxide = {
enable = true; enable = true;
}; };
@ -434,6 +465,9 @@
} }
]; ];
}; };
swayosd = {
enable = true;
};
syncthing = { syncthing = {
enable = true; enable = true;
# dataDir = "/home/muhh/Sync"; # dataDir = "/home/muhh/Sync";

View file

@ -52,8 +52,9 @@
}; };
security = { security = {
rtkit.enable = true;
pam.services.swaylock = {}; pam.services.swaylock = {};
polkit.enable = true;
rtkit.enable = true;
}; };
services.envfs.enable = true; services.envfs.enable = true;
services.flatpak.enable = true; services.flatpak.enable = true;
@ -127,7 +128,10 @@
enable = true; enable = true;
enableSSHSupport = true; enableSSHSupport = true;
}; };
light.enable = true; light = {
enable = true;
brightnessKeys.enable = true;
};
sway.enable = true; sway.enable = true;
}; };
virtualisation = { virtualisation = {
@ -140,7 +144,15 @@
}; };
}; };
xdg.portal.wlr.enable = true; xdg = {
portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
];
};
};
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
# services.openssh.enable = true; # services.openssh.enable = true;