mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-10-02 06:54:49 +02:00
better ux for buldak
This commit is contained in:
parent
d10c731354
commit
a51a4b7d8c
6 changed files with 54 additions and 35 deletions
|
@ -571,6 +571,7 @@ binds {
|
||||||
|
|
||||||
// wayland support
|
// wayland support
|
||||||
spawn-at-startup "xwayland-satellite"
|
spawn-at-startup "xwayland-satellite"
|
||||||
|
spawn-at-startup "poweralertd"
|
||||||
spawn-at-startup "swww-daemon"
|
spawn-at-startup "swww-daemon"
|
||||||
spawn-at-startup "~/config/niri/start-bg.sh"
|
spawn-at-startup "~/config/niri/start-bg.sh"
|
||||||
|
|
||||||
|
@ -581,7 +582,7 @@ environment {
|
||||||
// apps to launch at startup
|
// apps to launch at startup
|
||||||
spawn-at-startup "discord"
|
spawn-at-startup "discord"
|
||||||
spawn-at-startup "footclient" "nvim" "~/Documents/Notes"
|
spawn-at-startup "footclient" "nvim" "~/Documents/Notes"
|
||||||
spawn-at-startup "cider"
|
spawn-at-startup "cider-2"
|
||||||
|
|
||||||
clipboard {
|
clipboard {
|
||||||
disable-primary
|
disable-primary
|
||||||
|
|
|
@ -23,8 +23,7 @@
|
||||||
"scroll-step": 0.2
|
"scroll-step": 0.2
|
||||||
},
|
},
|
||||||
"privacy": {
|
"privacy": {
|
||||||
"icon-spacing": 4,
|
"icon-spacing": 4, "icon-size": 18,
|
||||||
"icon-size": 18,
|
|
||||||
"transition-duration": 250,
|
"transition-duration": 250,
|
||||||
"modules": [
|
"modules": [
|
||||||
{
|
{
|
||||||
|
@ -43,7 +42,7 @@
|
||||||
"format": "{}% "
|
"format": "{}% "
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
"interface": "wlp3s0",
|
"interface": "wlo1",
|
||||||
"format": "{ifname}",
|
"format": "{ifname}",
|
||||||
"format-wifi": " ",
|
"format-wifi": " ",
|
||||||
"format-ethernet": "",
|
"format-ethernet": "",
|
||||||
|
@ -77,7 +76,7 @@
|
||||||
"exec-if": "which swaync-client",
|
"exec-if": "which swaync-client",
|
||||||
"exec": "swaync-client -swb",
|
"exec": "swaync-client -swb",
|
||||||
"on-click": "swaync-client -t -sw",
|
"on-click": "swaync-client -t -sw",
|
||||||
"on-click-right": "swaync-client -d -sw",
|
|
||||||
"escape": true
|
"escape": true
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
|
@ -89,7 +88,7 @@
|
||||||
"warning": 20,
|
"warning": 20,
|
||||||
"critical": 10
|
"critical": 10
|
||||||
},
|
},
|
||||||
"format": "{capacity}% {icon}"
|
"format": "{capacity}% {icon}",
|
||||||
"format-icons": ["", "", "", "", ""],
|
"format-icons": ["", "", "", "", ""]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,8 +56,8 @@
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
padding-left: 3px;
|
padding-left: 8px;
|
||||||
padding-right: 3px;
|
padding-right: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#bluetooth {
|
#bluetooth {
|
||||||
|
@ -109,6 +109,11 @@
|
||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#battery {
|
||||||
|
border-radius: 12px;
|
||||||
|
margin-right: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
#window {
|
#window {
|
||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
background-color: @surface0;
|
background-color: @surface0;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
inputs,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
|
@ -23,6 +24,7 @@
|
||||||
home.packages =
|
home.packages =
|
||||||
with pkgs;
|
with pkgs;
|
||||||
[
|
[
|
||||||
|
forgejo-cli
|
||||||
yt-dlp
|
yt-dlp
|
||||||
nerd-fonts.code-new-roman
|
nerd-fonts.code-new-roman
|
||||||
ffmpegthumbnailer
|
ffmpegthumbnailer
|
||||||
|
@ -88,6 +90,8 @@
|
||||||
nvimpager
|
nvimpager
|
||||||
mpc
|
mpc
|
||||||
fastfetch
|
fastfetch
|
||||||
|
matugen
|
||||||
|
|
||||||
# # You can also create simple shell scripts directly inside your
|
# # You can also create simple shell scripts directly inside your
|
||||||
# # configuration. For example, this adds a command 'my-hello' to your
|
# # configuration. For example, this adds a command 'my-hello' to your
|
||||||
# # environment:
|
# # environment:
|
||||||
|
@ -114,31 +118,31 @@
|
||||||
".config/mako".source = dotfiles/mako;
|
".config/mako".source = dotfiles/mako;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.matugen = {
|
# programs.matugen = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
variant = "dark";
|
# variant = "dark";
|
||||||
|
#
|
||||||
config = {
|
# config = {
|
||||||
wallpaper = {
|
# wallpaper = {
|
||||||
command = "swww";
|
# command = "swww";
|
||||||
arguments = [
|
# arguments = [
|
||||||
"img"
|
# "img"
|
||||||
"--transition-type"
|
# "--transition-type"
|
||||||
"center"
|
# "center"
|
||||||
];
|
# ];
|
||||||
set = true;
|
# set = true;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
templates = {
|
# templates = {
|
||||||
waybar = {
|
# waybar = {
|
||||||
input_path = "./templates/colors.css";
|
# input_path = "./templates/colors.css";
|
||||||
output_path = "~/.config/waybar/colors.css";
|
# output_path = "~/.config/waybar/colors.css";
|
||||||
post_hook = "pkill -SIGUSR2 waybar";
|
# post_hook = "pkill -SIGUSR2 waybar";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
programs.direnv = {
|
programs.direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = true; # see note on other shells below
|
enableBashIntegration = true; # see note on other shells below
|
||||||
|
@ -332,6 +336,7 @@
|
||||||
gpsh = "git push";
|
gpsh = "git push";
|
||||||
flake = "nix flake";
|
flake = "nix flake";
|
||||||
develop = "nix develop";
|
develop = "nix develop";
|
||||||
|
fj = "fj --host git.rougebordeaux.xyz";
|
||||||
};
|
};
|
||||||
|
|
||||||
history.size = 10000;
|
history.size = 10000;
|
||||||
|
|
|
@ -111,9 +111,17 @@
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
poweralertd
|
poweralertd
|
||||||
|
upower
|
||||||
matugen
|
matugen
|
||||||
|
networkmanagerapplet
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.upower = {
|
||||||
|
enable = true;
|
||||||
|
percentageLow = 20;
|
||||||
|
percentageCritical = 10;
|
||||||
|
percentageAction = 5;
|
||||||
|
};
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
"libsoup-2.74.3"
|
"libsoup-2.74.3"
|
||||||
];
|
];
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
cider-2
|
cider-2
|
||||||
iamb
|
iamb
|
||||||
qutebrowser
|
qutebrowser
|
||||||
|
ente-desktop
|
||||||
];
|
];
|
||||||
|
|
||||||
virtualisation.containers.enable = true;
|
virtualisation.containers.enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue