2023-09-11 08:28:50 +01:00
|
|
|
{ config, lib, pkgs, hyprland, wallpapers, catppuccin-themes, ... }:
|
2023-09-07 09:36:42 +01:00
|
|
|
|
|
|
|
{
|
2023-07-11 09:11:48 +01:00
|
|
|
imports = [
|
2023-07-24 13:27:05 +01:00
|
|
|
hyprland.homeManagerModules.default
|
2023-08-09 10:27:10 +01:00
|
|
|
../alacritty/tiling.nix
|
|
|
|
./waybar/default.nix
|
2023-09-06 16:58:19 +01:00
|
|
|
./swaync/default.nix
|
2023-08-09 10:27:10 +01:00
|
|
|
./rofi/default.nix
|
2023-07-16 17:35:36 +01:00
|
|
|
./swaylock.nix
|
|
|
|
./gtk.nix
|
2023-07-11 09:11:48 +01:00
|
|
|
];
|
2023-09-10 17:07:11 +01:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
libsForQt5.polkit-kde-agent
|
|
|
|
signal-desktop
|
|
|
|
libreoffice
|
|
|
|
zotero
|
|
|
|
];
|
2023-07-11 09:11:48 +01:00
|
|
|
programs = {
|
2023-08-28 12:48:56 +01:00
|
|
|
emacs.package = pkgs.emacs29-pgtk;
|
2023-07-11 09:11:48 +01:00
|
|
|
firefox.package = pkgs.firefox-wayland;
|
2023-08-09 10:27:10 +01:00
|
|
|
rofi = {
|
|
|
|
package = pkgs.rofi-wayland;
|
|
|
|
terminal = "${pkgs.alacritty}/bin/alacritty";
|
2023-09-05 18:44:29 +01:00
|
|
|
pass.extraConfig = ''
|
|
|
|
backend=wtype
|
|
|
|
clibpoard_backend=wl-clipboard
|
|
|
|
'';
|
2023-08-09 10:27:10 +01:00
|
|
|
};
|
2023-07-11 09:11:48 +01:00
|
|
|
};
|
2023-08-08 08:21:51 +01:00
|
|
|
services.kanshi = {
|
|
|
|
enable = true;
|
|
|
|
systemdTarget = "hyprland-session.target";
|
|
|
|
};
|
2023-07-11 09:11:48 +01:00
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
enable = true;
|
|
|
|
package = null; # Use package from nixpkgs
|
|
|
|
xwayland = {
|
|
|
|
enable = true;
|
|
|
|
hidpi = true;
|
|
|
|
};
|
2023-08-22 09:44:40 +01:00
|
|
|
extraConfig = import ./config.nix {
|
2023-09-11 08:28:50 +01:00
|
|
|
inherit config pkgs;
|
2023-09-07 09:26:16 +01:00
|
|
|
theme = catppuccin-themes.hyprland;
|
2023-08-22 09:44:40 +01:00
|
|
|
};
|
2023-07-17 06:58:10 +01:00
|
|
|
};
|
2023-08-21 11:01:19 +01:00
|
|
|
xdg.configFile = {
|
|
|
|
"hypr/hyprpaper.conf".text = ''
|
|
|
|
preload = ${wallpapers.outputs.default}
|
|
|
|
wallpaper = ,${wallpapers.outputs.default}
|
|
|
|
'';
|
|
|
|
"hypr/macchiato.conf".source = ./macchiato.conf;
|
2023-09-04 09:13:06 +01:00
|
|
|
"hypr/extra.conf" = lib.mkDefault { text = ""; };
|
2023-08-21 11:01:19 +01:00
|
|
|
};
|
2023-07-11 09:11:48 +01:00
|
|
|
}
|