Regenerated
This commit is contained in:
+496
-354
File diff suppressed because it is too large
Load Diff
+131
-10
@@ -1613,6 +1613,109 @@ This sets the firewall.
|
|||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
** =generated/modules/traveldroid/system/hypridle.nix=
|
||||||
|
This installs hypridle
|
||||||
|
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/hypridle.nix :noweb yes :mkdirp yes :eval never
|
||||||
|
{ lib, config, pkgs, flakeRoot, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
username = config.defaultUser or "henrov";
|
||||||
|
basePath = "${flakeRoot}/generated/.config";
|
||||||
|
assetPath = "${flakeRoot}/generated/.config/hypr";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
#################################
|
||||||
|
# Install hypridle system-wide
|
||||||
|
#################################
|
||||||
|
environment.systemPackages = [ pkgs.hypridle ];
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Deploy config
|
||||||
|
#################################
|
||||||
|
home-manager.users = {
|
||||||
|
${username} = {
|
||||||
|
home.file = {
|
||||||
|
".config/hypr/hypridle.conf" = {
|
||||||
|
text = builtins.readFile "${assetPath}/hypridle.conf";
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Systemd user service
|
||||||
|
#################################
|
||||||
|
systemd.user.services.hypridle = {
|
||||||
|
description = "Hypridle (Hyprland idle daemon)";
|
||||||
|
after = [ "graphical-session.target" ];
|
||||||
|
|
||||||
|
serviceConfig = {
|
||||||
|
ExecStart = "${pkgs.hypridle}/bin/hypridle";
|
||||||
|
Restart = "always";
|
||||||
|
Environment = ''
|
||||||
|
WAYLAND_DISPLAY=${config.environment.sessionVariables.WAYLAND_DISPLAY or "wayland-0"}
|
||||||
|
XDG_CURRENT_DESKTOP=Hyprland
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
wantedBy = [ "default.target" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
** =generated/modules/traveldroid/system/hyprlock.nix=
|
||||||
|
This installs hyprlock
|
||||||
|
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/hyprlock.nix :noweb yes :mkdirp yes :eval never
|
||||||
|
{ lib, config, pkgs, flakeRoot, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
username = config.defaultUser or "henrov";
|
||||||
|
basePath = "${flakeRoot}/generated/.config";
|
||||||
|
assetPath = "${flakeRoot}/generated/.config/hypr";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
#################################
|
||||||
|
# Install hyprlock system-wide
|
||||||
|
#################################
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.hyprlock
|
||||||
|
];
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Deploy configuration file
|
||||||
|
#################################
|
||||||
|
home-manager.users = {
|
||||||
|
${username} = {
|
||||||
|
home.file = {
|
||||||
|
".config/hypr/hyprlock.conf" = {
|
||||||
|
text = builtins.readFile "${assetPath}/hyprlock.conf";
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Optional: helper systemd user service (manual start use)
|
||||||
|
#################################
|
||||||
|
systemd.user.services.hyprlock = {
|
||||||
|
description = "Hyprlock (manual lock session)";
|
||||||
|
after = [ "graphical-session.target" ];
|
||||||
|
|
||||||
|
serviceConfig = {
|
||||||
|
ExecStart = "${pkgs.hyprlock}/bin/hyprlock";
|
||||||
|
Restart = "no";
|
||||||
|
Environment = ''
|
||||||
|
WAYLAND_DISPLAY=${config.environment.sessionVariables.WAYLAND_DISPLAY or "wayland-0"}
|
||||||
|
XDG_CURRENT_DESKTOP=Hyprland
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
wantedBy = [ ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
** =generated/modules/traveldroid/system/gnome-keyring.nix=
|
** =generated/modules/traveldroid/system/gnome-keyring.nix=
|
||||||
This sets the dbus implementation
|
This sets the dbus implementation
|
||||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/gnome-keyring.nix :noweb yes :mkdirp yes :eval never
|
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/gnome-keyring.nix :noweb yes :mkdirp yes :eval never
|
||||||
@@ -2451,8 +2554,8 @@ bind = $mainMod, X , exec, qs -c powermenu
|
|||||||
# Switch windows
|
# Switch windows
|
||||||
bind = ALT, TAB, cyclenext, prev
|
bind = ALT, TAB, cyclenext, prev
|
||||||
bind = ALT SHIFT, TAB, cyclenext, prev
|
bind = ALT SHIFT, TAB, cyclenext, prev
|
||||||
bind = CTRL SHIFT, mouse_down, cyclenext, prev
|
bind = ALT, mouse_down, cyclenext, prev
|
||||||
bind = CTRL SHIFT, mouse_up, cyclenext, prev
|
bind = ALT , mouse_up, cyclenext, prev
|
||||||
|
|
||||||
bindel = CTRL ALT, mouse_up, layoutmsg, addmaster
|
bindel = CTRL ALT, mouse_up, layoutmsg, addmaster
|
||||||
bindel = CTRL ALT, mouse_down, layoutmsg, removemaster
|
bindel = CTRL ALT, mouse_down, layoutmsg, removemaster
|
||||||
@@ -2576,12 +2679,6 @@ bind = , XF86PowerOff, exec, systemctl poweroff
|
|||||||
bind = , XF86WakeUp, exec, systemctl suspend
|
bind = , XF86WakeUp, exec, systemctl suspend
|
||||||
bind = CTRL ALT, L, exec, loginctl lock-session
|
bind = CTRL ALT, L, exec, loginctl lock-session
|
||||||
|
|
||||||
#########################
|
|
||||||
# Laptop lid settings
|
|
||||||
#########################
|
|
||||||
bindl = , switch:on:Lid Switch, exec, ~/.config/scripts/lid-action.sh
|
|
||||||
bindl = , switch:off:Lid Switch, exec, ~/.config/scripts/lid-restore.sh
|
|
||||||
|
|
||||||
#########################
|
#########################
|
||||||
# Start apps
|
# Start apps
|
||||||
#########################
|
#########################
|
||||||
@@ -2626,12 +2723,10 @@ general {
|
|||||||
after_sleep_cmd = hyprctl dispatch dpms on
|
after_sleep_cmd = hyprctl dispatch dpms on
|
||||||
ignore_dbus_inhibit = false
|
ignore_dbus_inhibit = false
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 600
|
timeout = 600
|
||||||
on-timeout = hyprlock
|
on-timeout = hyprlock
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 900
|
timeout = 900
|
||||||
on-timeout = hyprctl dispatch dpms off
|
on-timeout = hyprctl dispatch dpms off
|
||||||
@@ -2639,6 +2734,32 @@ listener {
|
|||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
** =generated/.config/hypr/hyprlock.conf=
|
||||||
|
These are config files for .config/hypr
|
||||||
|
#+BEGIN_SRC conf :tangle generated/.config/hypr/hyprlock.conf :noweb yes :mkdirp yes :eval never
|
||||||
|
general {
|
||||||
|
grace = 2
|
||||||
|
hide_cursor = true
|
||||||
|
}
|
||||||
|
|
||||||
|
background {
|
||||||
|
monitor =
|
||||||
|
path = screenshot
|
||||||
|
blur_passes = 3
|
||||||
|
blur_size = 8
|
||||||
|
}
|
||||||
|
|
||||||
|
input-field {
|
||||||
|
monitor =
|
||||||
|
size = 250, 50
|
||||||
|
position = 0, -80
|
||||||
|
outline_thickness = 2
|
||||||
|
|
||||||
|
dots_center = true
|
||||||
|
fade_on_empty = false
|
||||||
|
}
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
** =generated/.config/hypr/hyprland.conf=
|
** =generated/.config/hypr/hyprland.conf=
|
||||||
These are config files for .config/hypr
|
These are config files for .config/hypr
|
||||||
#+BEGIN_SRC conf :tangle generated/.config/hypr/hyprland.conf :noweb yes :mkdirp yes :eval never
|
#+BEGIN_SRC conf :tangle generated/.config/hypr/hyprland.conf :noweb yes :mkdirp yes :eval never
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ bind = $mainMod, X , exec, qs -c powermenu
|
|||||||
# Switch windows
|
# Switch windows
|
||||||
bind = ALT, TAB, cyclenext, prev
|
bind = ALT, TAB, cyclenext, prev
|
||||||
bind = ALT SHIFT, TAB, cyclenext, prev
|
bind = ALT SHIFT, TAB, cyclenext, prev
|
||||||
bind = CTRL SHIFT, mouse_down, cyclenext, prev
|
bind = ALT, mouse_down, cyclenext, prev
|
||||||
bind = CTRL SHIFT, mouse_up, cyclenext, prev
|
bind = ALT , mouse_up, cyclenext, prev
|
||||||
|
|
||||||
bindel = CTRL ALT, mouse_up, layoutmsg, addmaster
|
bindel = CTRL ALT, mouse_up, layoutmsg, addmaster
|
||||||
bindel = CTRL ALT, mouse_down, layoutmsg, removemaster
|
bindel = CTRL ALT, mouse_down, layoutmsg, removemaster
|
||||||
@@ -138,12 +138,6 @@ bind = , XF86PowerOff, exec, systemctl poweroff
|
|||||||
bind = , XF86WakeUp, exec, systemctl suspend
|
bind = , XF86WakeUp, exec, systemctl suspend
|
||||||
bind = CTRL ALT, L, exec, loginctl lock-session
|
bind = CTRL ALT, L, exec, loginctl lock-session
|
||||||
|
|
||||||
#########################
|
|
||||||
# Laptop lid settings
|
|
||||||
#########################
|
|
||||||
bindl = , switch:on:Lid Switch, exec, ~/.config/scripts/lid-action.sh
|
|
||||||
bindl = , switch:off:Lid Switch, exec, ~/.config/scripts/lid-restore.sh
|
|
||||||
|
|
||||||
#########################
|
#########################
|
||||||
# Start apps
|
# Start apps
|
||||||
#########################
|
#########################
|
||||||
|
|||||||
@@ -4,12 +4,10 @@ general {
|
|||||||
after_sleep_cmd = hyprctl dispatch dpms on
|
after_sleep_cmd = hyprctl dispatch dpms on
|
||||||
ignore_dbus_inhibit = false
|
ignore_dbus_inhibit = false
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 600
|
timeout = 600
|
||||||
on-timeout = hyprlock
|
on-timeout = hyprlock
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 900
|
timeout = 900
|
||||||
on-timeout = hyprctl dispatch dpms off
|
on-timeout = hyprctl dispatch dpms off
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||||
|
general {
|
||||||
|
grace = 2
|
||||||
|
hide_cursor = true
|
||||||
|
}
|
||||||
|
|
||||||
|
background {
|
||||||
|
monitor =
|
||||||
|
path = screenshot
|
||||||
|
blur_passes = 3
|
||||||
|
blur_size = 8
|
||||||
|
}
|
||||||
|
|
||||||
|
input-field {
|
||||||
|
monitor =
|
||||||
|
size = 250, 50
|
||||||
|
position = 0, -80
|
||||||
|
outline_thickness = 2
|
||||||
|
|
||||||
|
dots_center = true
|
||||||
|
fade_on_empty = false
|
||||||
|
}
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||||
|
{ lib, config, pkgs, flakeRoot, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
username = config.defaultUser or "henrov";
|
||||||
|
basePath = "${flakeRoot}/generated/.config";
|
||||||
|
assetPath = "${flakeRoot}/generated/.config/hypr";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
#################################
|
||||||
|
# Install hypridle system-wide
|
||||||
|
#################################
|
||||||
|
environment.systemPackages = [ pkgs.hypridle ];
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Deploy config
|
||||||
|
#################################
|
||||||
|
home-manager.users = {
|
||||||
|
${username} = {
|
||||||
|
home.file = {
|
||||||
|
".config/hypr/hypridle.conf" = {
|
||||||
|
text = builtins.readFile "${assetPath}/hypridle.conf";
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Systemd user service
|
||||||
|
#################################
|
||||||
|
systemd.user.services.hypridle = {
|
||||||
|
description = "Hypridle (Hyprland idle daemon)";
|
||||||
|
after = [ "graphical-session.target" ];
|
||||||
|
|
||||||
|
serviceConfig = {
|
||||||
|
ExecStart = "${pkgs.hypridle}/bin/hypridle";
|
||||||
|
Restart = "always";
|
||||||
|
Environment = ''
|
||||||
|
WAYLAND_DISPLAY=${config.environment.sessionVariables.WAYLAND_DISPLAY or "wayland-0"}
|
||||||
|
XDG_CURRENT_DESKTOP=Hyprland
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
wantedBy = [ "default.target" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
|
||||||
|
{ lib, config, pkgs, flakeRoot, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
username = config.defaultUser or "henrov";
|
||||||
|
basePath = "${flakeRoot}/generated/.config";
|
||||||
|
assetPath = "${flakeRoot}/generated/.config/hypr";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
#################################
|
||||||
|
# Install hyprlock system-wide
|
||||||
|
#################################
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.hyprlock
|
||||||
|
];
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Deploy configuration file
|
||||||
|
#################################
|
||||||
|
home-manager.users = {
|
||||||
|
${username} = {
|
||||||
|
home.file = {
|
||||||
|
".config/hypr/hyprlock.conf" = {
|
||||||
|
text = builtins.readFile "${assetPath}/hyprlock.conf";
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Optional: helper systemd user service (manual start use)
|
||||||
|
#################################
|
||||||
|
systemd.user.services.hyprlock = {
|
||||||
|
description = "Hyprlock (manual lock session)";
|
||||||
|
after = [ "graphical-session.target" ];
|
||||||
|
|
||||||
|
serviceConfig = {
|
||||||
|
ExecStart = "${pkgs.hyprlock}/bin/hyprlock";
|
||||||
|
Restart = "no";
|
||||||
|
Environment = ''
|
||||||
|
WAYLAND_DISPLAY=${config.environment.sessionVariables.WAYLAND_DISPLAY or "wayland-0"}
|
||||||
|
XDG_CURRENT_DESKTOP=Hyprland
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
wantedBy = [ ];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user