diff --git a/profiles/work/configuration.nix b/profiles/work/configuration.nix index 9ef5cf4..376ef73 100644 --- a/profiles/work/configuration.nix +++ b/profiles/work/configuration.nix @@ -22,6 +22,7 @@ ../../system/security/firewall.nix ../../system/security/firejail.nix ../../system/security/openvpn.nix + ../../system/security/automount.nix ../../system/style/stylix.nix ]; diff --git a/system/security/automount.nix b/system/security/automount.nix new file mode 100644 index 0000000..25fcbc4 --- /dev/null +++ b/system/security/automount.nix @@ -0,0 +1,7 @@ +{ config, lib, pkgs, ... }: + +{ + services.devmon.enable = true; + services.gvfs.enable = true; + services.udisks2.enable = true; +} diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index 578d37e..9a84010 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -730,6 +730,8 @@ background-size: auto 100%; } ''; + services.udiskie.enable = true; + services.udiskie.tray = "always"; programs.swaylock = { enable = true; settings = {