Update Hyprland

This commit is contained in:
albert 2024-08-21 22:57:05 +09:00
parent 47578e5b60
commit 74f2d20733
Signed by: albert
GPG key ID: 3895DD267CA11BA9
2 changed files with 11 additions and 7 deletions

View file

@ -40,6 +40,9 @@
# Manage Plasma desktop with Nix # Manage Plasma desktop with Nix
plasma-manager.url = "github:pjones/plasma-manager"; plasma-manager.url = "github:pjones/plasma-manager";
plasma-manager.inputs.nixpkgs.follows = "nixpkgs"; plasma-manager.inputs.nixpkgs.follows = "nixpkgs";
# Gnome / KDE-like overview
Hyprspace.url = "github:KZDKM/Hyprspace";
Hyprspace.inputs.hyprland.follows = "nixpkgs";
}; };
outputs = { self, nixpkgs, sops-nix, deploy-rs, ... } @inputs: outputs = { self, nixpkgs, sops-nix, deploy-rs, ... } @inputs:
let let

View file

@ -1,10 +1,11 @@
{ config, pkgs, ... }: { { config, pkgs, inputs, ... }: {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
plugins = with pkgs.hyprlandPlugins; [ plugins = [
# hyprbars # pkgs.hyprlandPlugins.hyprbars
hyprexpo # pkgs.hyprlandPlugins.hyprexpo
hy3 # pkgs.hyprlandPlugins.hy3
inputs.Hyprspace.packages.${pkgs.system}.Hyprspace
]; ];
extraConfig = '' extraConfig = ''
# Resize # Resize
@ -56,7 +57,7 @@
border_size = "2"; border_size = "2";
resize_on_border = "true"; resize_on_border = "true";
extend_border_grab_area = "15"; extend_border_grab_area = "15";
layout = "hy3"; layout = "dwindle";
}; };
input = { input = {
kb_layout = "us"; kb_layout = "us";