wip: added packages, modified portals, configuration

This commit is contained in:
2024-09-14 15:30:50 -04:00
parent fc8c44c026
commit 929355fbca
5 changed files with 61 additions and 106 deletions
+17 -7
View File
@@ -72,6 +72,7 @@
firefox
wttrbar
cliphist
xivlauncher # run with this: gamescope -f -w 2560 -h 1440 -b -- gamemoderun %command%
];
# Install system-wide fonts
@@ -119,16 +120,22 @@
localNetworkGameTransfers.openFirewall = true;
};
# Enable gamemode (gamemode, gamemoded, gamemoderun) when needed
programs.gamemode.enable = true;
# Enable gamescope (compositor) when needed
programs.gamescope.enable = true;
# Add username to groups "wheel" and "video" - more may be added here later
users.users.${userName}.extraGroups = ["wheel" "video"];
users.users.${userName}.extraGroups = ["wheel" "video" "gamemode"];
# XDG stuff
xdg = {
portal = {
enable = true;
wlr.enable = true;
config = {};
xdgOpenUsePortal = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
@@ -145,14 +152,16 @@
# Enable Flatpak (app containerization)
# services.flatpak.enable = true;
services.flatpak = {
enable = true;
remotes = [{
name = "flathub"; location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
}];
enable = true;
remotes = [
{
name = "flathub";
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
}
];
packages = [
"com.github.tchx84.Flatseal"
"com.slack.Slack"
"dev.goats.xivlauncher"
"info.beyondallreason.bar"
"io.dbeaver.DBeaverCommunity"
"io.openrct2.OpenRCT2"
@@ -160,7 +169,6 @@
"org.prismlauncher.PrismLauncher"
"sh.cider.Cider"
];
update = {
auto = {
enable = true;
@@ -168,4 +176,6 @@
};
};
};
system.stateVersion = "24.05";
}