replace variant argument with modules
All checks were successful
/ build-all (push) Successful in 1m18s
All checks were successful
/ build-all (push) Successful in 1m18s
This commit is contained in:
parent
f2608d0a82
commit
1a0086f941
13 changed files with 586 additions and 577 deletions
47
home/basado.nix
Normal file
47
home/basado.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
{ config, lib, pkgs, ... }: {
|
||||
wayland.windowManager.hyprland = {
|
||||
extraConfig = ''
|
||||
monitor=,highrr,auto,1
|
||||
'';
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
qbittorrent
|
||||
pipewire
|
||||
discord
|
||||
feather # monero wallet
|
||||
# litecoin
|
||||
librewolf
|
||||
spotify
|
||||
ungoogled-chromium
|
||||
immich-cli
|
||||
vesktop
|
||||
];
|
||||
|
||||
programs.waybar.settings.bar = {
|
||||
"group/disks".modules = [
|
||||
"disk#2"
|
||||
"disk#3"
|
||||
];
|
||||
|
||||
"disk#2" = {
|
||||
interval = 1;
|
||||
format = " {free}";
|
||||
path = "/home/${config.home.username}/disk1";
|
||||
"on-click" = "$TERMINAL -c floating -e ${pkgs.ncdu}/bin/ncdu -x /home/${config.home.username}/disk1";
|
||||
};
|
||||
|
||||
"disk#3" = {
|
||||
interval = 1;
|
||||
format = " {free}";
|
||||
path = "/home/${config.home.username}/disk2";
|
||||
"on-click" = "$TERMINAL -c floating -e ${pkgs.ncdu}/bin/ncdu -x /home/${config.home.username}/disk2";
|
||||
};
|
||||
|
||||
"custom/loopback" = {
|
||||
exec = "journalctl --user -f -u loopback | exec_on_stdin_newline 'if systemctl --user is-active --quiet loopback; then echo loopback ON; else echo loopback; fi'";
|
||||
on-click = "if systemctl --user is-active --quiet loopback; then systemctl --user stop loopback; else systemctl --user start loopback; fi";
|
||||
format = "{}";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue