Compare commits

2 Commits
Author SHA1 Message Date
tomasr 2f2d3cd2ba remove duplciate exec nixpkgs-notifier 2026-08-30 21:07:33 +02:00
tomasr b738cbb8ef ös alias 2026-08-30 19:33:11 +02:00
2 changed files with 23 additions and 17 deletions

No files matched your search

+15 -16
View File
@@ -35,23 +35,22 @@ _: {
services.xserver.enable = true; services.xserver.enable = true;
}; };
flake.homeModules.hyprland-laptop = { flake.homeModules.hyprland-laptop = {
home.file.".config/hypr/host.lua" = { home.file.".config/hypr/host.lua" = {
text = '' text = ''
hl.on("hyprland.start", function() hl.on("hyprland.start", function()
hl.exec_cmd("qtbatticon") hl.exec_cmd("qtbatticon")
hl.exec_cmd("source /run/agenix/ntfy && nixpkgs-notifier listen") end)
end)
hl.monitor({ hl.monitor({
output = "eDP-1", output = "eDP-1",
mode = "highres@highrr", mode = "highres@highrr",
position = "0x0", position = "0x0",
scale = 1, scale = 1,
}) })
''; '';
enable = true; enable = true;
force = true; force = true;
}; };
}; };
flake.homeModules.hyprland-desktop = { flake.homeModules.hyprland-desktop = {
home.file.".config/hypr/host.lua" = { home.file.".config/hypr/host.lua" = {
+8 -1
View File
@@ -43,6 +43,11 @@ _: {
enable = true; enable = true;
autosuggestion.enable = false; # zsh-autocomplete is replaced by deja autosuggestion.enable = false; # zsh-autocomplete is replaced by deja
initContent = '' initContent = ''
# those aliases can't be written in nix, because of ö
# l and ö are very close
alias -- ös=ls
alias -- öös=ls
# Safe cat that uses colorize plugin ccat # Safe cat that uses colorize plugin ccat
custom-cat() { custom-cat() {
if [[ -t 1 ]]; then if [[ -t 1 ]]; then
@@ -61,7 +66,9 @@ _: {
} }
eval "$(direnv hook zsh)" eval "$(direnv hook zsh)"
eval "$(deja init zsh)" eval "$(deja init zsh)"
fastfetch''\n''; fastfetch''\n
'';
shellAliases = { shellAliases = {
".." = "z .."; ".." = "z ..";
grep = "rg"; grep = "rg";