mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51:34 +01:00
Improve the formatting
This commit is contained in:
parent
62f4103c7a
commit
692ef91ba9
14 changed files with 107 additions and 40 deletions
|
|
@ -2,7 +2,6 @@
|
|||
imports = [
|
||||
./qtile.nix
|
||||
./hyprland
|
||||
|
||||
./theming.nix
|
||||
./rofi
|
||||
./tray.nix
|
||||
|
|
|
|||
|
|
@ -22,15 +22,14 @@ in {
|
|||
Unit = {
|
||||
Description = "Syncthingtray";
|
||||
Requires = ["tray.target"];
|
||||
After = ["graphical-session-pre.target" "tray.target"];
|
||||
After = [
|
||||
"graphical-session-pre.target"
|
||||
"tray.target"
|
||||
];
|
||||
PartOf = ["graphical-session.target"];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${lib.getExe' pkgs.syncthingtray-minimal "syncthingtray"} --wait";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = ["graphical-session.target"];
|
||||
};
|
||||
Service.ExecStart = "${lib.getExe' pkgs.syncthingtray-minimal "syncthingtray"} --wait";
|
||||
Install.WantedBy = ["graphical-session.target"];
|
||||
};
|
||||
};
|
||||
})
|
||||
|
|
@ -43,15 +42,14 @@ in {
|
|||
Unit = {
|
||||
Description = "Networkmanager-applet";
|
||||
Requires = ["tray.target"];
|
||||
After = ["graphical-session-pre.target" "tray.target"];
|
||||
After = [
|
||||
"graphical-session-pre.target"
|
||||
"tray.target"
|
||||
];
|
||||
PartOf = ["graphical-session.target"];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${lib.getExe pkgs.networkmanagerapplet}";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = ["graphical-session.target"];
|
||||
};
|
||||
Service.ExecStart = "${lib.getExe pkgs.networkmanagerapplet}";
|
||||
Install.WantedBy = ["graphical-session.target"];
|
||||
};
|
||||
};
|
||||
})
|
||||
|
|
|
|||
|
|
@ -19,7 +19,13 @@
|
|||
|
||||
modules-left = ["clock"];
|
||||
modules-center = ["hyprland/workspaces"];
|
||||
modules-right = ["tray" "network" "wireplumber" "backlight" "battery"];
|
||||
modules-right = [
|
||||
"tray"
|
||||
"network"
|
||||
"wireplumber"
|
||||
"backlight"
|
||||
"battery"
|
||||
];
|
||||
|
||||
"hyprland/workspaces" = {
|
||||
active-only = false;
|
||||
|
|
@ -36,7 +42,12 @@
|
|||
format = "";
|
||||
|
||||
format-wifi = "{icon}";
|
||||
format-icons = ["" "" "" ""];
|
||||
format-icons = [
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
];
|
||||
tooltip-format-wifi = "{essid} {bandwidthDownBits} {bandwidthUpBits}";
|
||||
|
||||
format-ethernet = "";
|
||||
|
|
@ -49,7 +60,11 @@
|
|||
wireplumber = {
|
||||
format = "{icon} {volume}%";
|
||||
format-muted = "";
|
||||
format-icons = ["" "" ""];
|
||||
format-icons = [
|
||||
""
|
||||
""
|
||||
""
|
||||
];
|
||||
scroll-step = "5";
|
||||
};
|
||||
|
||||
|
|
@ -61,7 +76,11 @@
|
|||
backlight = {
|
||||
device = "amdgpu_bl1";
|
||||
format = "{icon} {percent}%";
|
||||
format-icons = ["" "" ""];
|
||||
format-icons = [
|
||||
""
|
||||
""
|
||||
""
|
||||
];
|
||||
};
|
||||
|
||||
battery = {
|
||||
|
|
@ -70,7 +89,19 @@
|
|||
critical = 5;
|
||||
};
|
||||
format = "{icon} {capacity}%";
|
||||
format-icons = ["" "" "" "" "" "" "" "" "" "" ""];
|
||||
format-icons = [
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -12,9 +12,7 @@
|
|||
userName = "SebastianStork";
|
||||
userEmail = "sebastian.stork@pm.me";
|
||||
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
extraConfig.init.defaultBranch = "main";
|
||||
};
|
||||
|
||||
programs.lazygit.enable = true;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ in {
|
|||
|
||||
config = {
|
||||
programs.bash.enable = cfg.bash.enable;
|
||||
|
||||
programs.zsh.enable = cfg.zsh.enable;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
identityFile = ["~/.ssh/kluebero/id_ed25519"];
|
||||
};
|
||||
};
|
||||
|
||||
services.ssh-agent.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue