mirror of
https://github.com/Ascyii/nixos.git
synced 2026-01-01 06:44:26 -05:00
88 lines
2.1 KiB
Nix
88 lines
2.1 KiB
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./packages.nix ];
|
|
|
|
services.gnome-keyring.enable = true;
|
|
|
|
xdg.mimeApps = {
|
|
enable = true;
|
|
defaultApplications = {
|
|
"text/html" = "firefox.desktop";
|
|
"x-scheme-handler/http" = "firefox.desktop";
|
|
"x-scheme-handler/https" = "firefox.desktop";
|
|
"x-scheme-handler/about" = "firefox.desktop";
|
|
"x-scheme-handler/unknown" = "firefox.desktop";
|
|
"application/pdf" = "sioyek.desktop";
|
|
"application/rnote" = "rnote.desktop";
|
|
"video/mp4" = "mpv.desktop";
|
|
"image/*" = "fehcustom.desktop";
|
|
};
|
|
};
|
|
|
|
xdg.desktopEntries.fehcustom = {
|
|
name = "FehCustom";
|
|
terminal = false;
|
|
exec = "${pkgs.feh}/bin/feh -d --keep-zoom-vp --draw-exif --start-at %u";
|
|
};
|
|
|
|
home = {
|
|
username = "jonas";
|
|
homeDirectory = "/home/jonas";
|
|
pointerCursor = {
|
|
gtk.enable = true;
|
|
name = "catppuccin-frappe-rosewater-cursors";
|
|
package = pkgs.catppuccin-cursors.frappeRosewater;
|
|
size = 18;
|
|
};
|
|
};
|
|
|
|
gtk = {
|
|
enable = true;
|
|
iconTheme = {
|
|
package = pkgs.papirus-icon-theme;
|
|
name = "Papirus-Dark";
|
|
};
|
|
theme = {
|
|
name = "Adwaita-dark";
|
|
package = pkgs.gnome-themes-extra;
|
|
};
|
|
};
|
|
|
|
qt = {
|
|
enable = true;
|
|
platformTheme.name = "qtct";
|
|
style.name = "Kvantum";
|
|
};
|
|
|
|
xdg.configFile."Kvantum/kvantum.kvconfig".source =
|
|
(pkgs.formats.ini { }).generate "kvantum.kvconfig" {
|
|
General.theme = "Catppuccin-Frappe-Rosewater";
|
|
};
|
|
xdg.configFile."qt6ct/qt6ct.conf".source = pkgs.writeTextFile {
|
|
name = "qt6ct.conf";
|
|
text =
|
|
" [Appearance]\n color_scheme_path=${pkgs.qt6ct}/share/qt6ct/colors/airy.conf\n custom_palette=false\n icon_theme=Papirus-Dark\n standard_dialogs=default\n style=kvantum\n";
|
|
};
|
|
|
|
programs.starship = {
|
|
enable = true;
|
|
settings = {
|
|
add_newline = false;
|
|
aws.disabled = true;
|
|
gcloud.disabled = true;
|
|
line_break.disabled = true;
|
|
sudo = {
|
|
disabled = false;
|
|
symbol = "SUDO ";
|
|
style = "bold red";
|
|
};
|
|
|
|
};
|
|
};
|
|
|
|
# Let Home Manager install and manage itself.
|
|
programs.home-manager.enable = true;
|
|
home.stateVersion = "24.11";
|
|
}
|