ft: feh nix + catppuccin nix fix for home manager

This commit is contained in:
2026-09-30 17:53:42 +02:00
parent ff396fa991
commit 00f1ffed30
5 changed files with 61 additions and 9 deletions

View File

@@ -32,7 +32,6 @@
inputs.home-manager.nixosModules.home-manager
inputs.nix-flatpak.nixosModules.nix-flatpak
inputs.sops-nix.nixosModules.sops
inputs.catppuccin.nixosModules.catppuccin
{ home-manager.sharedModules = [inputs.catppuccin.homeModules.catppuccin];}
./hosts/${hostname}
];

View File

@@ -1,7 +1,10 @@
{ pkgs, ... }:
{
imports = [
./feh.nix
];
services.flatpak = {
enable = true;
update.onActivation = false;
@@ -14,7 +17,10 @@
};
# TODO: switch to home manager
# home-manager.users.djai.home.packages = with pkgs; [ ];
home-manager.users.djai.home.packages = with pkgs; [
# terminal
fzf
];
users.users.djai.packages = with pkgs; [
# chat

46
modules/apps/feh.nix Normal file
View File

@@ -0,0 +1,46 @@
{ ... }:
{
home-manager.users."djai".programs.feh = {
enable = true;
themes = {
feh = [
"-B" "#24273a"
"-d"
"-N"
"-e" "yudit/14"
"--title" "feh"
"--auto-zoom"
"--scale-down"
"--action3" ";[Copy]fish -c \"copy %F\""
"--action4" "[Move]/home/djai/Scripts/rename.sh %F"
"--action5" "[Delete]gio trash %F && echo deleted %F"
"--action9" ";[Gimp]gimp %F > /dev/null 2>&1 &"
];
notitle = [
"-B " "#24273a"
"-N"
"-e" "yudit/14"
"--title" "feh"
"--auto-zoom"
"--scale-dow"
];
nozoom = [
"-B" "#24273a"
"-d"
"-e" "yudit/14"
"--title" "feh"
];
nobg = [
"-d"
"-e" "yudit/14"
"--title" "feh"
"--auto-zoom"
"--scale-down"
];
};
};
}

View File

@@ -83,12 +83,13 @@
};
};
};
};
catppuccin = {
accent = "mauve";
autoEnable = true;
enable = true;
flavor = "macchiato";
};
};
};
}

View File

@@ -1,7 +1,7 @@
{
imports = [
../secrets
./apps.nix
./apps
./audio
./base.nix
./certificates