add dolphin.nix

This commit is contained in:
Asaki Yuki 2026-04-14 10:06:04 +07:00
parent f64e2d8fb1
commit 8910559700
6 changed files with 22 additions and 2 deletions

View file

@ -17,6 +17,7 @@
}; };
home-manager.users.asakiyuki.programs = { home-manager.users.asakiyuki.programs = {
dolphin.enable = true;
bluetuith.enable = true; bluetuith.enable = true;
lutris.enable = true; lutris.enable = true;
hyprshot.enable = true; hyprshot.enable = true;

View file

@ -11,7 +11,7 @@
settings = { settings = {
theme = "catppuccin-mocha"; theme = "catppuccin-mocha";
font-size = 10; font-size = 9;
font-family = "SauceCodePro NFP Bold"; font-family = "SauceCodePro NFP Bold";
window-width = 230; window-width = 230;

View file

@ -6,6 +6,7 @@
}: { }: {
home.packages = home.packages =
[ [
(lib.mkIf config.programs.dolphin.enable config.programs.dolphin.package)
(lib.mkIf config.programs.catppuccin.enable config.programs.catppuccin.package) (lib.mkIf config.programs.catppuccin.enable config.programs.catppuccin.package)
(lib.mkIf config.programs.antigravity.enable config.programs.antigravity.package) (lib.mkIf config.programs.antigravity.enable config.programs.antigravity.package)

View file

@ -4,6 +4,10 @@
inputs, inputs,
... ...
}: { }: {
imports = [
./programs/dolphin.nix
];
options.programs = { options.programs = {
catppuccin = { catppuccin = {
enable = lib.mkEnableOption "catppuccin"; enable = lib.mkEnableOption "catppuccin";

View file

@ -0,0 +1,15 @@
{
lib,
pkgs,
...
}: {
options.programs = {
dolphin = {
enable = lib.mkEnableOption "dolphin";
package = lib.mkOption {
type = lib.types.package;
default = pkgs.kdePackages.dolphin;
};
};
};
}

View file

@ -82,7 +82,6 @@
type = lib.types.listOf lib.types.package; type = lib.types.listOf lib.types.package;
default = with pkgs.kdePackages; [ default = with pkgs.kdePackages; [
kservice kservice
dolphin
kate kate
qt5compat qt5compat
qtdeclarative qtdeclarative