mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-19 10:56:05 -07:00
Compare commits
2 Commits
1fd0e70ec0
...
c27ae47f11
Author | SHA1 | Date | |
---|---|---|---|
c27ae47f11 | |||
aaf12d0143 |
@ -30,6 +30,7 @@ in {
|
|||||||
gnome.dconf-editor
|
gnome.dconf-editor
|
||||||
gnome.gnome-tweaks
|
gnome.gnome-tweaks
|
||||||
gnomeExtensions.focus-changer
|
gnomeExtensions.focus-changer
|
||||||
|
evolution
|
||||||
# TODO: Add back when fixed upstream
|
# TODO: Add back when fixed upstream
|
||||||
#gnomeExtensions.fullscreen-avoider
|
#gnomeExtensions.fullscreen-avoider
|
||||||
];
|
];
|
||||||
@ -202,8 +203,11 @@ in {
|
|||||||
minimize = [];
|
minimize = [];
|
||||||
};
|
};
|
||||||
} // generate_custom_keybindings {
|
} // generate_custom_keybindings {
|
||||||
"terminal" = { binding = "<Super>Return"; command = "kgx"; name = "Open Terminal"; };
|
"terminal" = { binding = "<Super><Control>Return"; command = "kgx"; name = "Open Terminal"; };
|
||||||
"browser" = { binding = "<Super><Control>b"; command = "google-chrome-stable --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'"; name = "Open Browser"; };
|
"browser" = { binding = "<Super><Control>b"; command = "google-chrome-stable --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'"; name = "Open Browser"; };
|
||||||
|
"steam" = { binding = "<Super><Control>s"; command = "steam"; name = "Open Steam"; };
|
||||||
|
"discord" = { binding = "<Super><Control>d"; command = "discord"; name = "Open Discord"; };
|
||||||
|
"nautilus" = { binding = "<Super><Control>f"; command = "nautilus"; name = "Open File Manager"; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{ config, lib, pkgs, user, inputs, ... }:
|
{ config, lib, pkgs, user, inputs, ... }:
|
||||||
{
|
let
|
||||||
|
cfg = config.modules.desktop.gnome;
|
||||||
|
in {
|
||||||
|
# Only launch for Gnome
|
||||||
|
# TODO: if using with other WMs/DEs revise this.
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
services.keyd = {
|
services.keyd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
keyboards.true = {
|
keyboards.true = {
|
||||||
@ -8,6 +13,14 @@
|
|||||||
main = {
|
main = {
|
||||||
capslock = "overload(meta, esc)";
|
capslock = "overload(meta, esc)";
|
||||||
leftalt = "layer(alt)";
|
leftalt = "layer(alt)";
|
||||||
|
f1 = "oneshot(open)";
|
||||||
|
};
|
||||||
|
open = {
|
||||||
|
enter = "C-M-enter"; # terminal
|
||||||
|
b = "C-M-b"; # browser
|
||||||
|
s = "C-M-s"; # steam
|
||||||
|
d = "C-M-d"; # discord
|
||||||
|
f = "C-M-f"; # nautilus
|
||||||
};
|
};
|
||||||
alt = {
|
alt = {
|
||||||
h = "left";
|
h = "left";
|
||||||
@ -18,4 +31,5 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
10
resources/wireguard/kestrel.conf
Normal file
10
resources/wireguard/kestrel.conf
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Interface]
|
||||||
|
# your own IP on the wireguard network
|
||||||
|
Address = 192.168.3.3/24
|
||||||
|
PrivateKey = <replace with secret>
|
||||||
|
[Peer]
|
||||||
|
PublicKey = bd7bbZOngl/FTdBlnbIhgCLNf6yx5X8WjiRB7E1NEQQ=
|
||||||
|
# restrict this to the wireguard subnet if you don't want to route everything to the tunnel
|
||||||
|
AllowedIPs = 0.0.0.0/0, ::/0
|
||||||
|
# ip and port of the peer
|
||||||
|
Endpoint = 66.218.43.87:51820
|
Loading…
x
Reference in New Issue
Block a user