feat: add misc style changes

Steam: added gamescopeSession and gamemoderun support
Hyprland: added additional formatting options
This commit is contained in:
Zhongheng Liu 2024-09-07 23:38:54 +03:00
commit 466f0992f1
No known key found for this signature in database
3 changed files with 23 additions and 9 deletions

View file

@ -62,6 +62,8 @@
file = {"wallpaper.jpg".source = ./assets/nixos-wallpaper.jpg;};
};
home.packages = with pkgs; [
bottom
libnotify
prismlauncher
protonvpn-gui
devenv

View file

@ -21,11 +21,20 @@
#"eDP-1, 1920x1080@165,0x0,1"
",preferred, auto, ${builtins.toString config.displayScale}"
];
general = {
border_size = 3;
gaps_in = 2.5;
gaps_out = 5;
};
decoration = {
rounding = 5;
};
input = {
# xset rate 250 50 replacement on wayland...
# FAST MODE LET'S GOOO
repeat_rate = 50;
repeat_delay = 250;
accel_profile = "flat";
};
exec-once =
config.myAutostartCommands
@ -36,6 +45,7 @@
disable_hyprland_logo = true;
disable_splash_rendering = true;
font_family = "monospace";
focus_on_activate = true; # see if fixes mako daemon not focusing
};
"$mod" = "SUPER";
binde = [
@ -64,7 +74,7 @@
"$mod, Q, killactive"
"$mod, D, exec, ${pkgs.fuzzel}/bin/fuzzel"
# firefox quickstart
"$mod, F, exec, ${pkgs.firefox}/bin/firefox"
"$mod, F, fullscreen"
"$mod, E, exec, ${pkgs.pcmanfm}/bin/pcmanfm"
# foot terminal
"$mod, Return, exec, ${terminalCmd}"

View file

@ -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"];
};
};