ft: feh nix + catppuccin nix fix for home manager

This commit is contained in:
djaidjai committed 2026-09-30 17:53:42 +02:00
1 parent ff396fa991
commit 00f1ffed30
5 files changed
+57 -5

No files matched your search

-1
View File
@@ -32,7 +32,6 @@
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
inputs.nix-flatpak.nixosModules.nix-flatpak inputs.nix-flatpak.nixosModules.nix-flatpak
inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops
inputs.catppuccin.nixosModules.catppuccin
{ home-manager.sharedModules = [inputs.catppuccin.homeModules.catppuccin];} { home-manager.sharedModules = [inputs.catppuccin.homeModules.catppuccin];}
./hosts/${hostname} ./hosts/${hostname}
]; ];
@@ -1,7 +1,10 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
imports = [
./feh.nix
];
services.flatpak = { services.flatpak = {
enable = true; enable = true;
update.onActivation = false; update.onActivation = false;
@@ -14,7 +17,10 @@
}; };
# TODO: switch to home manager # 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; [ users.users.djai.packages = with pkgs; [
# chat # chat
+46
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"
];
};
};
}
+3 -2
View File
@@ -83,12 +83,13 @@
}; };
}; };
};
};
catppuccin = { catppuccin = {
accent = "mauve"; accent = "mauve";
autoEnable = true; autoEnable = true;
enable = true; enable = true;
flavor = "macchiato"; flavor = "macchiato";
}; };
};
};
} }
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
imports = [ imports = [
../secrets ../secrets
./apps.nix ./apps
./audio ./audio
./base.nix ./base.nix
./certificates ./certificates
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.