mirror of
https://github.com/zephrynis/nix-flake.git
synced 2026-02-18 20:21:53 +00:00
Fix: add Vicinae application launcher to NixOS configuration and update keybindings for Hyprland
This commit is contained in:
@@ -13,11 +13,14 @@
|
|||||||
# Hyprland - Tiling Wayland compositor
|
# Hyprland - Tiling Wayland compositor
|
||||||
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||||
|
|
||||||
|
# Vicinae - Application launcher
|
||||||
|
vicinae.url = "github:vicinaehq/vicinae";
|
||||||
|
|
||||||
# Optional: Other useful inputs
|
# Optional: Other useful inputs
|
||||||
# nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
# nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, hyprland, ... }@inputs: {
|
outputs = { self, nixpkgs, home-manager, hyprland, vicinae, ... }@inputs: {
|
||||||
# NixOS configuration for your hostname(s)
|
# NixOS configuration for your hostname(s)
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
# Desktop PC configuration
|
# Desktop PC configuration
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
@@ -12,6 +12,9 @@
|
|||||||
|
|
||||||
# Packages to install for this user
|
# Packages to install for this user
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
# Launcher
|
||||||
|
inputs.vicinae.packages.${pkgs.system}.default # Vicinae launcher
|
||||||
|
|
||||||
# Development tools
|
# Development tools
|
||||||
vscode
|
vscode
|
||||||
# neovim
|
# neovim
|
||||||
|
|||||||
@@ -167,7 +167,7 @@
|
|||||||
|
|
||||||
# Release keybinds - Super key alone opens app launcher
|
# Release keybinds - Super key alone opens app launcher
|
||||||
bindr = [
|
bindr = [
|
||||||
"SUPER, SUPER_L, exec, pkill wofi || wofi --show drun"
|
"SUPER, SUPER_L, exec, pkill vicinae || vicinae"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Mouse bindings
|
# Mouse bindings
|
||||||
|
|||||||
Reference in New Issue
Block a user