switch to new flatpak, make webapps

This commit is contained in:
atagen 2024-02-27 23:11:21 +11:00
parent deeda4b05a
commit f43572bc05
11 changed files with 1148 additions and 123 deletions

View file

@ -85,6 +85,7 @@
services.xserver.displayManager.defaultSession = "plasmawayland";
environment.plasma5.excludePackages = with pkgs.libsForQt5; [
konsole
gwenview
];
services.flatpak.enable = true;
@ -93,18 +94,6 @@
xdg.autostart.enable = true;
xdg.portal.enable = true;
# xdg.portal = {
# enable = true;
# extraPortals = with pkgs; [
# xdg-desktop-portal-gtk
# ];
# config = {
# common = {
# default = ["wlr" "gtk"];
# "org.freedesktop.impl.portal.FileChooser" = "gtk";
# };
# };
# };
services.resolved = {
enable = true;
@ -119,7 +108,6 @@
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
# jack.enable = true;
};
qt.enable = true;
@ -132,7 +120,6 @@
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
services.tumbler.enable = true; # thumbnailer for thunar
# services.tailscale.enable = true;
environment.systemPackages = with pkgs; [
@ -151,7 +138,6 @@
git
nix-index
starship
cachix
@ -159,7 +145,6 @@
alejandra
plasma5Packages.qtstyleplugin-kvantum
ayu-theme-gtk
];
documentation.dev.enable = true;
@ -179,19 +164,12 @@
package = pkgs.nix-ld-rs;
};
networking.firewall = {
checkReversePath = "loose";
};
networking.nftables.enable = true;
# networking.firewall = {
# checkReversePath = "loose";
# };
# give cpuset to user
systemd.services."user@".serviceConfig.Delegate = "memory pids cpu cpuset";
security.pam.services.gtklock = {
text = ''
auth include login
'';
};
system.stateVersion = "22.11"; # Did you read the comment?
}