add hyprland init

This commit is contained in:
2023-08-05 14:06:29 +02:00
parent a020c863f9
commit 4a62dec178
10 changed files with 142 additions and 8 deletions

View File

@ -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
View 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
View 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
View File

@ -0,0 +1,5 @@
{
programs.kitty = {
enable = true;
};
}