2024-05-07 03:23:55 -04:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}: {
|
2024-05-28 04:08:06 -04:00
|
|
|
colorScheme = inputs.nix-colors.colorSchemes.catppuccin-mocha;
|
|
|
|
|
2024-05-07 03:23:55 -04:00
|
|
|
home = {
|
|
|
|
packages = with pkgs;
|
|
|
|
[
|
2024-06-26 03:14:20 -04:00
|
|
|
beeper
|
2024-05-28 04:08:06 -04:00
|
|
|
duf
|
2024-05-16 02:40:39 -04:00
|
|
|
eternal-terminal
|
2024-06-13 23:47:00 -04:00
|
|
|
glow
|
2024-05-07 03:23:55 -04:00
|
|
|
grc
|
2024-05-16 02:40:39 -04:00
|
|
|
iamb
|
2024-05-07 03:23:55 -04:00
|
|
|
jamesdsp
|
2024-06-13 23:47:00 -04:00
|
|
|
jdk21
|
2024-05-16 02:40:39 -04:00
|
|
|
killall
|
2024-05-28 04:08:06 -04:00
|
|
|
libnotify
|
2024-05-16 02:40:39 -04:00
|
|
|
lm_sensors
|
2024-05-28 04:08:06 -04:00
|
|
|
loupe
|
2024-05-16 02:40:39 -04:00
|
|
|
mpv
|
2024-06-26 03:14:20 -04:00
|
|
|
neovide
|
2024-05-16 02:40:39 -04:00
|
|
|
playerctl
|
|
|
|
prismlauncher
|
2024-06-13 23:47:00 -04:00
|
|
|
slack
|
2024-05-16 02:40:39 -04:00
|
|
|
telegram-desktop
|
2024-05-28 04:08:06 -04:00
|
|
|
vesktop
|
2024-05-16 02:40:39 -04:00
|
|
|
youki
|
2024-05-07 03:23:55 -04:00
|
|
|
]
|
|
|
|
++ (with inputs; [
|
|
|
|
nixvim.packages.${pkgs.system}.default
|
|
|
|
])
|
|
|
|
++ (with inputs.chaotic.packages.${pkgs.system}; [
|
|
|
|
distrobox_git
|
2024-05-28 04:08:06 -04:00
|
|
|
firefox_nightly
|
2024-05-07 03:23:55 -04:00
|
|
|
]);
|
|
|
|
|
|
|
|
stateVersion = "24.05";
|
|
|
|
};
|
|
|
|
|
2024-05-16 02:40:39 -04:00
|
|
|
dconf.settings = {
|
|
|
|
"org/virt-manager/virt-manager/connections" = {
|
|
|
|
autoconnect = ["qemu:///system"];
|
|
|
|
uris = ["qemu:///system"];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
xdg.enable = true;
|
|
|
|
|
|
|
|
catppuccin = {
|
|
|
|
enable = true;
|
2024-05-28 04:08:06 -04:00
|
|
|
flavor = "mocha";
|
2024-05-16 02:40:39 -04:00
|
|
|
accent = "green";
|
2024-06-26 03:14:20 -04:00
|
|
|
pointerCursor.enable = true;
|
2024-05-16 02:40:39 -04:00
|
|
|
};
|
|
|
|
|
2024-06-26 03:14:20 -04:00
|
|
|
gtk = let
|
|
|
|
gradiencePreset = pkgs.fetchurl {
|
|
|
|
url = "https://raw.githubusercontent.com/GradienceTeam/Community/next/official/catppuccin-macchiato.json";
|
|
|
|
hash = "sha256-FgQvmK/Pjn980o+UVc2a70kGa6sGse045zPS9hzCs14=";
|
|
|
|
};
|
|
|
|
|
|
|
|
gradienceBuild = pkgs.stdenv.mkDerivation {
|
|
|
|
name = "gradience-build";
|
|
|
|
phases = ["buildPhase" "installPhase"];
|
|
|
|
nativeBuildInputs = [pkgs.gradience];
|
|
|
|
buildPhase = ''
|
|
|
|
shopt -s nullglob
|
|
|
|
export HOME=$TMPDIR
|
|
|
|
mkdir -p $HOME/.config/presets
|
|
|
|
gradience-cli apply -p ${gradiencePreset} --gtk both
|
|
|
|
'';
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cp -r .config/gtk-4.0 $out/
|
|
|
|
cp -r .config/gtk-3.0 $out/
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
in {
|
2024-05-16 02:40:39 -04:00
|
|
|
enable = true;
|
2024-06-26 03:14:20 -04:00
|
|
|
theme.name = "adw-gtk3-dark";
|
|
|
|
theme.package = pkgs.adw-gtk3;
|
2024-05-16 02:40:39 -04:00
|
|
|
|
2024-06-26 03:14:20 -04:00
|
|
|
gtk3 = {
|
|
|
|
extraCss = builtins.readFile "${gradienceBuild}/gtk-3.0/gtk.css";
|
|
|
|
extraConfig = {
|
|
|
|
gtk-application-prefer-dark-theme = 1;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gtk4 = {
|
|
|
|
extraCss = builtins.readFile "${gradienceBuild}/gtk-4.0/gtk.css";
|
|
|
|
extraConfig = {
|
|
|
|
gtk-application-prefer-dark-theme = 1;
|
|
|
|
};
|
2024-05-16 02:40:39 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-05-28 04:22:41 -04:00
|
|
|
qt = {
|
|
|
|
enable = true;
|
|
|
|
style.name = "kvantum";
|
|
|
|
style.catppuccin.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-05-07 03:23:55 -04:00
|
|
|
programs = {
|
|
|
|
nix-index-database.comma.enable = true;
|
|
|
|
nix-index.enable = true;
|
2024-05-16 02:40:39 -04:00
|
|
|
ripgrep.enable = true;
|
2024-05-28 04:08:06 -04:00
|
|
|
|
|
|
|
fzf = {
|
|
|
|
enable = true;
|
|
|
|
catppuccin.enable = true;
|
|
|
|
colors = with lib; {
|
|
|
|
bg = mkForce "-1";
|
|
|
|
"bg+" = mkForce "-1";
|
|
|
|
};
|
|
|
|
};
|
2024-05-16 02:40:39 -04:00
|
|
|
|
|
|
|
eza = {
|
|
|
|
enable = true;
|
|
|
|
git = true;
|
|
|
|
icons = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
btop = {
|
|
|
|
enable = true;
|
|
|
|
catppuccin.enable = true;
|
|
|
|
};
|
2024-05-07 03:23:55 -04:00
|
|
|
|
|
|
|
direnv = {
|
|
|
|
enable = true;
|
|
|
|
nix-direnv.enable = true;
|
|
|
|
};
|
2024-05-16 02:40:39 -04:00
|
|
|
};
|
|
|
|
|
2024-05-28 04:08:06 -04:00
|
|
|
systemd.user.startServices = "sd-switch";
|
2024-05-07 03:23:55 -04:00
|
|
|
|
2024-05-16 02:40:39 -04:00
|
|
|
nix.package = lib.mkForce pkgs.nixSuper;
|
2024-05-07 03:23:55 -04:00
|
|
|
}
|