mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
Compare commits
4 commits
32119f4a9d
...
de8b2b6edb
| Author | SHA1 | Date | |
|---|---|---|---|
| de8b2b6edb | |||
| b23995c0c0 | |||
| 414459ca83 | |||
| bffc69e246 |
5 changed files with 48 additions and 10 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
imports =
|
imports =
|
||||||
[ (import ./git.nix) ]
|
[ (import ./git.nix) ]
|
||||||
++ [ (import ./swaync/default.nix) ]
|
++ [ (import ./swaync/default.nix) ]
|
||||||
|
++ [ (import ./sway/default.nix) ]
|
||||||
++ [ (import ./fonts.nix) ]
|
++ [ (import ./fonts.nix) ]
|
||||||
++ [ (import ./hyprland) ]
|
++ [ (import ./hyprland) ]
|
||||||
++ [ (import ./hyprlock) ]
|
++ [ (import ./hyprlock) ]
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,8 @@
|
||||||
"wl-paste --watch cliphist store &"
|
"wl-paste --watch cliphist store &"
|
||||||
"yubikey-touch-detector --libnotify &"
|
"yubikey-touch-detector --libnotify &"
|
||||||
"mpDris2 &"
|
"mpDris2 &"
|
||||||
"foot --server"
|
"foot --server &"
|
||||||
|
"hyprfloat &"
|
||||||
];
|
];
|
||||||
|
|
||||||
input = {
|
input = {
|
||||||
|
|
@ -185,7 +186,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
animations = {
|
animations = {
|
||||||
enabled = false;
|
enabled = true;
|
||||||
|
|
||||||
bezier = [
|
bezier = [
|
||||||
"fluent_decel, 0, 0.2, 0.4, 1"
|
"fluent_decel, 0, 0.2, 0.4, 1"
|
||||||
|
|
@ -212,10 +213,15 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gesture = [
|
||||||
|
"3, horizontal, workspace"
|
||||||
|
# "4, horizontal, move"
|
||||||
|
];
|
||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
# keybindings
|
# keybindings
|
||||||
"$mainMod, Return, exec, footclient"
|
"$mainMod, Return, exec, footclient"
|
||||||
"$mainMod SHIFT, Return, exec, [float; center; size 950 650] footclient"
|
"$mainMod SHIFT, Return, exec, [float; center; size 950 650] footclient --title 'float_foot'"
|
||||||
"$mainMod, Q, killactive,"
|
"$mainMod, Q, killactive,"
|
||||||
"$mainMod, F, fullscreen, 0" # set 1 to 0 to set full screen without waybar
|
"$mainMod, F, fullscreen, 0" # set 1 to 0 to set full screen without waybar
|
||||||
"$mainMod, Space, togglefloating,"
|
"$mainMod, Space, togglefloating,"
|
||||||
|
|
@ -231,6 +237,9 @@
|
||||||
"$mainMod, Tab, changegroupactive, f"
|
"$mainMod, Tab, changegroupactive, f"
|
||||||
"$mainMod SHIFT, Tab, changegroupactive, b"
|
"$mainMod SHIFT, Tab, changegroupactive, b"
|
||||||
|
|
||||||
|
# password manager
|
||||||
|
"$mainMod SHIFT, X, exec, footclient --title 'float_foot' zsh -c 'bash ~/.local/src/bw-fzf/bw-fzf.sh"
|
||||||
|
|
||||||
# clipboard manager
|
# clipboard manager
|
||||||
"$mainMod SHIFT, V, exec, cliphist list | bemenu -l 5 --ignorecase | cliphist decode | wl-copy"
|
"$mainMod SHIFT, V, exec, cliphist list | bemenu -l 5 --ignorecase | cliphist decode | wl-copy"
|
||||||
|
|
||||||
|
|
@ -240,7 +249,6 @@
|
||||||
"$mainMod SHIFT, W, exec, wdisplays"
|
"$mainMod SHIFT, W, exec, wdisplays"
|
||||||
"$mainMod SHIFT, T, exec, thunderbird"
|
"$mainMod SHIFT, T, exec, thunderbird"
|
||||||
"$mainMod SHIFT, E, exec, element-desktop"
|
"$mainMod SHIFT, E, exec, element-desktop"
|
||||||
"$mainMod SHIFT, X, exec, gajim"
|
|
||||||
"$mainMod SHIFT, P, exec, pavucontrol-qt"
|
"$mainMod SHIFT, P, exec, pavucontrol-qt"
|
||||||
"$mainMod SHIFT, N, exec, notes"
|
"$mainMod SHIFT, N, exec, notes"
|
||||||
"$mainMod , N, exec, swaync-client -t"
|
"$mainMod , N, exec, swaync-client -t"
|
||||||
|
|
@ -338,6 +346,7 @@
|
||||||
"size 950 600,title:^(float_foot)$"
|
"size 950 600,title:^(float_foot)$"
|
||||||
"float,title:^(Volume Control)$"
|
"float,title:^(Volume Control)$"
|
||||||
"float,title:^(Librewolf — Sharing Indicator)$"
|
"float,title:^(Librewolf — Sharing Indicator)$"
|
||||||
|
"float,title:^(Export Image as PNG)$"
|
||||||
"move 0 0,title:^(Librewolf — Sharing Indicator)$"
|
"move 0 0,title:^(Librewolf — Sharing Indicator)$"
|
||||||
"size 700 450,title:^(Volume Control)$"
|
"size 700 450,title:^(Volume Control)$"
|
||||||
"move 40 55%,title:^(Volume Control)$"
|
"move 40 55%,title:^(Volume Control)$"
|
||||||
|
|
@ -372,6 +381,7 @@
|
||||||
"float,title:^(branchdialog)$"
|
"float,title:^(branchdialog)$"
|
||||||
"float,title:^(Confirm to replace files)$"
|
"float,title:^(Confirm to replace files)$"
|
||||||
"float,title:^(File Operation Progress)$"
|
"float,title:^(File Operation Progress)$"
|
||||||
|
"float,title:^(float_foot)$"
|
||||||
"nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0"
|
"nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
swayfx
|
||||||
# Environment shit
|
# Environment shit
|
||||||
tesseract
|
tesseract
|
||||||
yubikey-touch-detector
|
yubikey-touch-detector
|
||||||
|
|
@ -31,7 +32,7 @@
|
||||||
python3
|
python3
|
||||||
|
|
||||||
# CLI shit
|
# CLI shit
|
||||||
fff
|
bitwarden-cli
|
||||||
imagemagick
|
imagemagick
|
||||||
foot
|
foot
|
||||||
termpdfpy
|
termpdfpy
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
{ pkgs, username, ... }: {
|
{ pkgs, username, ... }:
|
||||||
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
swayfx
|
swayfx
|
||||||
autotiling
|
autotiling
|
||||||
# libinput-gestures
|
libinput-gestures
|
||||||
# wmctrl
|
wmctrl
|
||||||
];
|
];
|
||||||
#home.file = {
|
#home.file = {
|
||||||
# "/home/${username}/.config/libinput-gestures/sway.conf" = {
|
# "/home/${username}/.config/libinput-gestures/sway.conf" = {
|
||||||
|
|
|
||||||
25
modules/services/uptime-kuma.nix
Normal file
25
modules/services/uptime-kuma.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
services = {
|
||||||
|
uptime-kuma = {
|
||||||
|
enable = true;
|
||||||
|
settings.PORT = 4800;
|
||||||
|
};
|
||||||
|
anubis.instances.uptime-kuma = {
|
||||||
|
settings = {
|
||||||
|
TARGET = "http://localhost:4800";
|
||||||
|
BIND = ":4801";
|
||||||
|
BIND_NETWORK = "tcp";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
nginx.virtualHosts."uptime.liv.town" = {
|
||||||
|
forceSSL = true;
|
||||||
|
sslCertificate = "/var/lib/acme/liv.town/cert.pem";
|
||||||
|
sslCertificateKey = "/var/lib/acme/liv.town/key.pem";
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://localhost${toString config.services.anubis.instances.uptime-kuma.settings.BIND}";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue