Compare commits

...

4 Commits

Author SHA1 Message Date
Nina Chlóe Kassandra Reiß 8fe032b03a Fix path to hyprlock configuration 2026-07-26 20:12:39 +02:00
Nina Chlóe Kassandra Reiß 4d0693c47e Only provide config to home-manager 2026-07-26 19:54:47 +02:00
Nina Chlóe Kassandra Reiß 6ea27dedd6 Update packages in flake 2026-07-26 18:49:38 +02:00
Nina Chlóe Kassandra Reiß 789aedaf80 Add hyprlock as input to hyprflake 2026-07-26 18:42:41 +02:00
2 changed files with 10 additions and 27 deletions
+9 -26
View File
@@ -1,8 +1,9 @@
{ {
description = "Hyprland test wrapper from nixpkgs only"; description = "Hyprland test wrapper from nixpkgs only";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05"; inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
};
outputs = outputs =
{ self, nixpkgs, ... }: { self, nixpkgs, ... }:
let let
@@ -18,25 +19,23 @@
configFile = "${configDir}/hyprland.lua"; configFile = "${configDir}/hyprland.lua";
runtimePackages = with pkgs; [ runtimePackages = with pkgs; [
swaybg
quickshell
waybar
networkmanagerapplet
blueman
# aus deiner Home-Manager-Konfiguration
wofi wofi
grim grim
swaynotificationcenter swaynotificationcenter
swaylock
hyprpaper hyprpaper
lxsession lxsession
hyprlock
hyprshot hyprshot
wayvnc wayvnc
pamixer pamixer
pavucontrol pavucontrol
brightnessctl brightnessctl
python313Packages.requests python313Packages.requests
networkmanagerapplet
swaybg
quickshell
waybar
blueman
]; ];
runtimePath = pkgs.lib.makeBinPath runtimePackages; runtimePath = pkgs.lib.makeBinPath runtimePackages;
@@ -65,22 +64,6 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home.packages = with pkgs; [
wofi
grim
swaynotificationcenter
swaylock
hyprpaper
lxsession
hyprshot
wayvnc
pamixer
pavucontrol
brightnessctl
python313Packages.requests
networkmanagerapplet
];
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
xwayland.enable = true; xwayland.enable = true;
+1 -1
View File
@@ -60,7 +60,7 @@ hl.bind(mainMod .. " + XF86AudioLowerVolume", hl.dsp.exec_cmd("pamixer --default
hl.bind(mainMod .. " + XF86AudioRaiseVolume", hl.dsp.exec_cmd("pamixer --default-source -i 4")) hl.bind(mainMod .. " + XF86AudioRaiseVolume", hl.dsp.exec_cmd("pamixer --default-source -i 4"))
-- Lock -- Lock
hl.bind(mainMod .. " + N", hl.dsp.exec_cmd("hyprlock --config ~/.config/hypr/hyprlock.config")) hl.bind(mainMod .. " + N", hl.dsp.exec_cmd("hyprlock --config ~/.config/hypr/hyprlock.conf"))
-- Mouse -- Mouse
hl.bind(mainMod .. " + mouse:272", hl.dsp.window.drag(), { mouse = true }) hl.bind(mainMod .. " + mouse:272", hl.dsp.window.drag(), { mouse = true })