feat: switched from sway to hyprland due to sway unsupported nvidia drivers
This commit is contained in:
parent
4dcde6a0d9
commit
902a18fec5
2 changed files with 30 additions and 3 deletions
|
@ -8,8 +8,8 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
myUserName = "stvnliu";
|
myUserName = "stvnliu";
|
||||||
myEmail = "z.liu@outlook.com.gr";
|
myEmail = "z.liu@outlook.com.gr";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# You can import other home-manager modules here
|
# You can import other home-manager modules here
|
||||||
|
@ -18,7 +18,8 @@ in
|
||||||
# inputs.nix-colors.homeManagerModule
|
# inputs.nix-colors.homeManagerModule
|
||||||
|
|
||||||
# You can also split up your configuration and import pieces of it here:
|
# You can also split up your configuration and import pieces of it here:
|
||||||
./swaywm.nix
|
#./swaywm.nix
|
||||||
|
./hyprland.nix
|
||||||
./shells
|
./shells
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
26
home-manager/stvnliu/hyprland.nix
Normal file
26
home-manager/stvnliu/hyprland.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
wayland.windowManager.hyprland = {
|
||||||
|
# Whether to enable Hyprland wayland compositor
|
||||||
|
enable = true;
|
||||||
|
# The hyprland package to use
|
||||||
|
package = pkgs.hyprland;
|
||||||
|
# Whether to enable XWayland
|
||||||
|
xwayland.enable = true;
|
||||||
|
settings = {
|
||||||
|
"$mod" = "SUPER";
|
||||||
|
bindm = [
|
||||||
|
# foot terminal
|
||||||
|
"$mod, ENTER, exec ${pkgs.foot}/bin/foot -f 'BlexMono Nerd Font:size=24' zsh"
|
||||||
|
# mouse movements
|
||||||
|
"$mod, mouse:272, movewindow"
|
||||||
|
"$mod, mouse:273, resizewindow"
|
||||||
|
"$mod ALT, mouse:272, resizewindow"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
# Optional
|
||||||
|
# Whether to enable hyprland-session.target on hyprland startup
|
||||||
|
systemd.enable = true;
|
||||||
|
};
|
||||||
|
# ...
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue