add hyprland init
This commit is contained in:
@ -2,7 +2,10 @@
|
||||
home-manager.sharedModules = [
|
||||
./bash.nix
|
||||
./bat.nix
|
||||
./dunst.nix
|
||||
./git.nix
|
||||
./hyprland.nix
|
||||
./kitty.nix
|
||||
./neovim.nix
|
||||
];
|
||||
}
|
||||
|
10
home/dunst.nix
Normal file
10
home/dunst.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [ libnotify ];
|
||||
service.dunst = {
|
||||
enable = true;
|
||||
iconTheme = {
|
||||
package = pkgs.papirus-icon-theme;
|
||||
name = "Papirus";
|
||||
};
|
||||
};
|
||||
}
|
8
home/hyprland.nix
Normal file
8
home/hyprland.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ pkgs, config, lib, ... }: let
|
||||
modifier = "SUPER";
|
||||
in {
|
||||
xdg.configFile."hypr/hyprland.conf".text = ''
|
||||
$SUPER = ${modifier};
|
||||
bind = $SUPER, Q, exec, kitty
|
||||
'';
|
||||
}
|
5
home/kitty.nix
Normal file
5
home/kitty.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user