[nixbox] Add tailscale.
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
# Screenshots.
|
# Screenshots.
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
wl-clipboard
|
||||||
hyprshot
|
hyprshot
|
||||||
];
|
];
|
||||||
# Notifications daemon.
|
# Notifications daemon.
|
||||||
@@ -34,6 +35,8 @@
|
|||||||
|
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"sway-audio-idle-inhibit" # TODO: Check if it can be conditional on the package existing.
|
"sway-audio-idle-inhibit" # TODO: Check if it can be conditional on the package existing.
|
||||||
|
# TODO: This should be hidden under an option.
|
||||||
|
"tailscale-systray"
|
||||||
];
|
];
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
@@ -100,6 +103,7 @@
|
|||||||
misc = {
|
misc = {
|
||||||
force_default_wallpaper = 1; # Set to 0 or 1 to disable the anime mascot wallpapers
|
force_default_wallpaper = 1; # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||||
disable_hyprland_logo = true; # If true disables the random hyprland logo / anime girl background. :(
|
disable_hyprland_logo = true; # If true disables the random hyprland logo / anime girl background. :(
|
||||||
|
allow_session_lock_restore = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#input
|
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||||
@@ -132,6 +136,7 @@
|
|||||||
"$mainMod, return, exec, $terminal"
|
"$mainMod, return, exec, $terminal"
|
||||||
"$mainMod, Q, killactive,"
|
"$mainMod, Q, killactive,"
|
||||||
"$mainMod SHIFT, Q, exit,"
|
"$mainMod SHIFT, Q, exit,"
|
||||||
|
"$mainMod, F, fullscreen, 0 toggle"
|
||||||
# "$mainMod, E, exec, $fileManager"
|
# "$mainMod, E, exec, $fileManager"
|
||||||
# "$mainMod, V, togglefloating,"
|
# "$mainMod, V, togglefloating,"
|
||||||
"$mainMod SHIFT, P, exec, hyprshot -m region"
|
"$mainMod SHIFT, P, exec, hyprshot -m region"
|
||||||
|
|||||||
@@ -105,6 +105,9 @@ in
|
|||||||
# Idling
|
# Idling
|
||||||
sway-audio-idle-inhibit
|
sway-audio-idle-inhibit
|
||||||
logiops
|
logiops
|
||||||
|
# networking.
|
||||||
|
tailscale
|
||||||
|
tailscale-systray
|
||||||
];
|
];
|
||||||
environment.pathsToLink = [ "/share/applications" "/share/xdg-desktop-portal" ];
|
environment.pathsToLink = [ "/share/applications" "/share/xdg-desktop-portal" ];
|
||||||
fonts = {
|
fonts = {
|
||||||
@@ -207,6 +210,8 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.tailscale.enable = true;
|
||||||
|
|
||||||
security.pam.services.hyprlock = {};
|
security.pam.services.hyprlock = {};
|
||||||
programs.hyprland = {
|
programs.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user