aboutsummaryrefslogtreecommitdiff
path: root/nixos/configuration.nix
diff options
context:
space:
mode:
authorZhongheng Liu <z.liu@outlook.com.gr>2024-09-07 23:38:54 +0300
committerZhongheng Liu <z.liu@outlook.com.gr>2024-09-07 23:38:54 +0300
commit466f0992f1f65113e1ebfdd6a9df18de666a7ae3 (patch)
tree2e538103a0d558f5a88b02bfbda4ed015da87ad8 /nixos/configuration.nix
parentd125eca445e658289494d885713b3d388410ac49 (diff)
downloadnixos-configuration-466f0992f1f65113e1ebfdd6a9df18de666a7ae3.tar.gz
nixos-configuration-466f0992f1f65113e1ebfdd6a9df18de666a7ae3.tar.bz2
nixos-configuration-466f0992f1f65113e1ebfdd6a9df18de666a7ae3.zip
feat: add misc style changes
Steam: added gamescopeSession and gamemoderun support Hyprland: added additional formatting options
Diffstat (limited to 'nixos/configuration.nix')
-rw-r--r--nixos/configuration.nix18
1 files changed, 10 insertions, 8 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
index 23387c9..a53fabd 100644
--- a/nixos/configuration.nix
+++ b/nixos/configuration.nix
@@ -48,12 +48,8 @@
};
xdg.portal = {
enable = true;
- extraPortals = with pkgs; [
- xdg-desktop-portal-gtk
- ];
- config = {
- common.default = ["gtk"];
- };
+ extraPortals = with pkgs; [xdg-desktop-portal-gtk];
+ config = {common.default = ["gtk"];};
};
systemd.user.services.mpris-proxy = {
description = "Mpris proxy";
@@ -69,8 +65,11 @@
true; # Open ports in the firewall for Source Dedicated Server
localNetworkGameTransfers.openFirewall =
true; # Open ports in the firewall for Steam Local Network Game Transfers
+ gamescopeSession = {
+ enable = true;
+ };
};
-
+ programs.gamemode.enable = true;
boot = {
kernelPackages = pkgs.linuxPackages_zen;
supportedFilesystems = ["ntfs"];
@@ -131,7 +130,10 @@
initialPassword = "stevenpassword";
isNormalUser = true;
openssh.authorizedKeys.keys = [];
- packages = with pkgs; [nh gparted];
+ packages = with pkgs; [
+ nh
+ gparted
+ ];
extraGroups = ["wheel" "input" "networkmanager"];
};
};