49 lines
1.0 KiB
Nix
49 lines
1.0 KiB
Nix
{ pkgs, inputs, lib, system, ... }:
|
|
let isDarwin = builtins.match ".*-darwin" system != null;
|
|
in {
|
|
imports = [ inputs.catppuccin.homeModules.catppuccin ]
|
|
++ lib.optionals (!isDarwin) [
|
|
./hyprland
|
|
./rofi
|
|
./waybar
|
|
./gtk.nix
|
|
./qt.nix
|
|
] ++ lib.optionals isDarwin [ ./sketchybar.nix ];
|
|
|
|
_module.args.compositor = if isDarwin then "quartz" else "hyprland";
|
|
|
|
home = lib.mkIf (!isDarwin) {
|
|
packages = with pkgs; [ waypaper awww ];
|
|
file.".config/waypaper/config.ini".source = ./waypaper.ini;
|
|
};
|
|
|
|
# TODO: Qutebrowser install
|
|
programs = lib.mkIf (!isDarwin) {
|
|
mangohud = {
|
|
enable = true;
|
|
settings = {
|
|
position = "top-right";
|
|
|
|
offset_x = 20;
|
|
offset_y = 20;
|
|
|
|
fps = true;
|
|
cpu_stats = true;
|
|
gpu_stats = true;
|
|
cpu_temp = true;
|
|
gpu_temp = true;
|
|
ram = true;
|
|
vram = true;
|
|
|
|
background_alpha = 0.5;
|
|
};
|
|
};
|
|
|
|
# TODO: Needs config!
|
|
mpv = {
|
|
enable = true;
|
|
|
|
};
|
|
};
|
|
}
|