Add hyprlua configuration
This commit is contained in:
@@ -0,0 +1,73 @@
|
||||
{ pkgs, lib, ... }:
|
||||
let
|
||||
dotfiles_hypr = pkgs.fetchgit {
|
||||
url = "https://git.nichkara.eu/system/hyprlua";
|
||||
rev = "42cda0ea4707535ec21512543e4a147ef971be2d";
|
||||
sha256 = "sha256-l08epLZKCXaJ3N6MU25/FfuzEuiXjOn10tWYPBLNOsI=";
|
||||
};
|
||||
|
||||
dotfiles_waybar = pkgs.fetchgit {
|
||||
url = "https://git.nichkara.eu/dotfiles/waybar";
|
||||
rev = "cd3d5d8a97f9fbc1cc8a69fc9e570dfcf669dce7";
|
||||
sha256 = "sha256-FTpGumhxY6ChUXqnykO+aSJiFD4A80W0eqx7hXS9Iwc=";
|
||||
};
|
||||
|
||||
dotfiles_wofi = pkgs.fetchgit {
|
||||
url = "https://git.nichkara.eu/dotfiles/wofi.git";
|
||||
rev = "47bbe8a40de55871ad6106b2fa5df18d6ec77e39";
|
||||
sha256 = "sha256-lrQfc9nQinbd1hbf1WmLm8NMRqQKb1ti3v+074+Oo5Y=";
|
||||
};
|
||||
|
||||
profile = import ../../profile.nix;
|
||||
in
|
||||
{
|
||||
|
||||
home.packages = with pkgs; [
|
||||
wofi
|
||||
grim
|
||||
swaynotificationcenter
|
||||
swaylock
|
||||
hyprpaper
|
||||
lxsession
|
||||
hyprshot
|
||||
wayvnc
|
||||
pamixer
|
||||
pavucontrol
|
||||
brightnessctl
|
||||
python313Packages.requests
|
||||
networkmanagerapplet
|
||||
];
|
||||
|
||||
wayland = {
|
||||
windowManager = {
|
||||
hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
configType = "hyprlang";
|
||||
extraConfig = ''
|
||||
exec-once = sleep 2 && nextcloud
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
xdg.configFile."hypr" = {
|
||||
source = dotfiles_hypr;
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
xdg.configFile."waybar" = {
|
||||
source = dotfiles_waybar;
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
xdg.configFile."wofi" = {
|
||||
source = dotfiles_wofi;
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user