Update Hpyrland

This commit is contained in:
albert 2024-08-20 16:39:42 +09:00
parent 7172ac7754
commit aa924699ee
Signed by: albert
GPG key ID: 3895DD267CA11BA9
2 changed files with 10 additions and 4 deletions
flake.nix
home-manager/common/desktops/hyprland/components

View file

@ -35,13 +35,16 @@
# deploy-rs, declarative NixOS deployments # deploy-rs, declarative NixOS deployments
deploy-rs.url = "github:serokell/deploy-rs"; deploy-rs.url = "github:serokell/deploy-rs";
deploy-rs.inputs.nixpkgs.follows = "nixpkgs"; deploy-rs.inputs.nixpkgs.follows = "nixpkgs";
# Steam Deck configs for NixOS
jovian.url = "github:Jovian-Experiments/Jovian-NixOS";
# 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";
# Hyprland Flake # Hyprland Flake
hyprland.url = "github:hyprwm/Hyprland"; hyprland.url = "github:hyprwm/Hyprland";
# Steam Deck configs for NixOS # Hyprland plugins:
jovian.url = "github:Jovian-Experiments/Jovian-NixOS"; hyprland-plugins.url = "github:hyprwm/hyprland-plugins";
hyprland-plugins.inputs.hyprland-plugins.follows = "hyprland";
}; };
outputs = { self, nixpkgs, sops-nix, deploy-rs, ... } @inputs: outputs = { self, nixpkgs, sops-nix, deploy-rs, ... } @inputs:
let let

View file

@ -1,7 +1,10 @@
{ ... }: { { inputs, pkgs, ... }: {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
plugins = []; plugins = [
inputs.hyprland-plugins.packages.${pkgs.system}.hyprexpo
inputs.hyprland-plugins.packages.${pkgs.system}.hyprbars
];
extraConfig = '' extraConfig = ''
# Resize # Resize
bind = SUPER, R, exec, notify-send 'Entered resize mode. Press ESC to quit.' bind = SUPER, R, exec, notify-send 'Entered resize mode. Press ESC to quit.'