mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-10-12 01:26:14 +02:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f2d3cd2ba | ||
|
|
b738cbb8ef |
No files matched your search
@@ -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" = {
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
Reference in new issue
Block a user