This commit is contained in:
cnst
2024-07-01 19:11:37 +02:00
parent e0e77ed9b0
commit ffb53bf615
6 changed files with 22 additions and 8 deletions

View File

@@ -12,7 +12,7 @@
};
imports = [
./git
./hypr
./gui
./shell/cnst.nix
./appearance
];

View File

@@ -4,7 +4,10 @@
pkgs,
...
}: {
imports = [../../extra/mako];
imports = [
../../extra/mako
./rofi.nix
];
xdg.portal = let
hyprland = config.wayland.windowManager.hyprland.package;
@@ -23,6 +26,8 @@
];
wayland.windowManager.hyprland = {
enable = true;
package = pkgs.hyprland;
xwayland.enable = true;
extraConfig = ''
${builtins.readFile ./hyprland.conf}
'';

8
home/core/gui/rofi.nix Normal file
View File

@@ -0,0 +1,8 @@
{pkgs, ...}: {
programs.rofi = {
enable = true;
package = pkgs.rofi-wayland-unwrapped;
configPath = "$XDG_CONFIG_HOME/rofi/config.rasi";
font = "Rec Mono Linear 11";
};
}