aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home-manager/stvnliu/home.nix2
-rw-r--r--home-manager/stvnliu/hypr/hyprland.nix12
-rw-r--r--nixos/configuration.nix18
3 files changed, 23 insertions, 9 deletions
diff --git a/home-manager/stvnliu/home.nix b/home-manager/stvnliu/home.nix
index 6149715..e861232 100644
--- a/home-manager/stvnliu/home.nix
+++ b/home-manager/stvnliu/home.nix
@@ -62,6 +62,8 @@
file = {"wallpaper.jpg".source = ./assets/nixos-wallpaper.jpg;};
};
home.packages = with pkgs; [
+ bottom
+ libnotify
prismlauncher
protonvpn-gui
devenv
diff --git a/home-manager/stvnliu/hypr/hyprland.nix b/home-manager/stvnliu/hypr/hyprland.nix
index 52132a7..bf84f5d 100644
--- a/home-manager/stvnliu/hypr/hyprland.nix
+++ b/home-manager/stvnliu/hypr/hyprland.nix
@@ -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}"
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"];
};
};