diff --git a/profiles/work/configuration.nix b/profiles/work/configuration.nix index 8c80d80..9ef5cf4 100644 --- a/profiles/work/configuration.nix +++ b/profiles/work/configuration.nix @@ -9,6 +9,7 @@ ../../system/hardware/systemd.nix # systemd config ../../system/hardware/kernel.nix # Kernel config ../../system/hardware/power.nix # Power management + ../../system/hardware/time.nix # Network time sync ../../system/hardware/opengl.nix ../../system/hardware/printing.nix ../../system/hardware/bluetooth.nix diff --git a/system/hardware/time.nix b/system/hardware/time.nix new file mode 100644 index 0000000..22b0738 --- /dev/null +++ b/system/hardware/time.nix @@ -0,0 +1,5 @@ +{ config, lib, pkgs, ... }: + +{ + services.ntp.enable = true; +} diff --git a/user/app/doom-emacs/doom.org b/user/app/doom-emacs/doom.org index a5296a3..7411cb4 100644 --- a/user/app/doom-emacs/doom.org +++ b/user/app/doom-emacs/doom.org @@ -1645,6 +1645,7 @@ EAF doesn't work on Wayland :( (map! :leader :desc "Projectile grep" "/" #'projectile-grep) + #+END_SRC ** sudo-edit #+BEGIN_SRC emacs-lisp :tangle config.el diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index 5a6a176..faab936 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -40,7 +40,7 @@ exec-once = emacs --daemon #exec-once = swayidle -w timeout 90 '${pkgs.gtklock}/bin/gtklock -d' timeout 210 'suspend-unless-render' resume '${pkgs.hyprland}/bin/hyprctl dispatch dpms on' before-sleep "${pkgs.gtklock}/bin/gtklock -d" - exec-once = swayidle -w timeout 90 '${pkgs.swaylock}/bin/swaylock' timeout 210 'suspend-unless-render' resume '${pkgs.hyprland}/bin/hyprctl dispatch dpms on' before-sleep "${pkgs.swaylock}/bin/swaylock" + exec-once = swayidle -w timeout 90 '${pkgs.swaylock}/bin/swaylock -f' timeout 210 'suspend-unless-render' resume '${pkgs.hyprland}/bin/hyprctl dispatch dpms on' before-sleep "${pkgs.swaylock}/bin/swaylock -f" exec-once = obs-notification-mute-daemon exec = ~/.swaybg-stylix