mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
Compare commits
No commits in common. "de8b2b6edbac9d6f08238c268acf423de68f3c66" and "32119f4a9d278134fb43122a10445ea8d2a4fe3b" have entirely different histories.
de8b2b6edb
...
32119f4a9d
5 changed files with 10 additions and 48 deletions
|
|
@ -3,7 +3,6 @@
|
||||||
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,8 +85,7 @@
|
||||||
"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 = {
|
||||||
|
|
@ -186,7 +185,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
animations = {
|
animations = {
|
||||||
enabled = true;
|
enabled = false;
|
||||||
|
|
||||||
bezier = [
|
bezier = [
|
||||||
"fluent_decel, 0, 0.2, 0.4, 1"
|
"fluent_decel, 0, 0.2, 0.4, 1"
|
||||||
|
|
@ -213,15 +212,10 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
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 --title 'float_foot'"
|
"$mainMod SHIFT, Return, exec, [float; center; size 950 650] footclient"
|
||||||
"$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,"
|
||||||
|
|
@ -237,9 +231,6 @@
|
||||||
"$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"
|
||||||
|
|
||||||
|
|
@ -249,9 +240,10 @@
|
||||||
"$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"
|
||||||
|
|
||||||
# screenshot
|
# screenshot
|
||||||
"SUPER SHIFT, S, exec, grimblast save area ~/Pictures/$(date +'%Y-%m-%d-At-%Ih%Mm%Ss').png"
|
"SUPER SHIFT, S, exec, grimblast save area ~/Pictures/$(date +'%Y-%m-%d-At-%Ih%Mm%Ss').png"
|
||||||
|
|
@ -346,7 +338,6 @@
|
||||||
"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)$"
|
||||||
|
|
@ -381,7 +372,6 @@
|
||||||
"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,7 +7,6 @@
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
swayfx
|
|
||||||
# Environment shit
|
# Environment shit
|
||||||
tesseract
|
tesseract
|
||||||
yubikey-touch-detector
|
yubikey-touch-detector
|
||||||
|
|
@ -32,7 +31,7 @@
|
||||||
python3
|
python3
|
||||||
|
|
||||||
# CLI shit
|
# CLI shit
|
||||||
bitwarden-cli
|
fff
|
||||||
imagemagick
|
imagemagick
|
||||||
foot
|
foot
|
||||||
termpdfpy
|
termpdfpy
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,9 @@
|
||||||
{ 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" = {
|
||||||
|
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
{ 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