feat: custom fish prompt and GDK scaling

This commit is contained in:
Zhongheng Liu 2024-08-12 09:31:10 +08:00
commit 956c555c6f
No known key found for this signature in database
2 changed files with 8 additions and 1 deletions

View file

@ -16,6 +16,10 @@ in
shellInit = ''
${builtins.readFile ./init/zoxide.fish}
${builtins.readFile ./init/nh.fish}
function fish_greeting
${pkgs.fortune}/bin/fortune -a
end
funcsave -q fish_greeting
'';
shellAliases = import ../aliases {inherit pkgs;};
plugins = [

View file

@ -8,13 +8,16 @@
...
}: {
imports = [
./variables.nix
../common/variables.nix
#./greetd-sway.nix
./nvidia.nix
./fonts.nix
./services/laptop.preset.nix
./hardware-configuration.nix
];
environment.variables = {
GDK_SCALE = config.displayScale;
};
security.pam.services.hyprlock = {};
i18n.inputMethod = {
enabled = "fcitx5";