From 114a1085a6e26449715649e5961408c5a748c134 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Sun, 3 May 2026 11:15:36 +0200 Subject: [PATCH 1/2] feat: setup automounting usb devices --- hosts/skadi/configuration.nix | 3 +++ modules/linux/home-manager/desktop.nix | 13 +++++++++++++ 2 files changed, 16 insertions(+) diff --git a/hosts/skadi/configuration.nix b/hosts/skadi/configuration.nix index 1d8c3c6..4eb69a1 100644 --- a/hosts/skadi/configuration.nix +++ b/hosts/skadi/configuration.nix @@ -67,6 +67,9 @@ # Setup profiles sync daemon services.psd.enable = true; + # Setup automatic usb device mounting + services.udisks2.enable = true; + # Get nicer hostname networking.hostName = "skadi"; # Define your hostname. diff --git a/modules/linux/home-manager/desktop.nix b/modules/linux/home-manager/desktop.nix index d04d1ff..f796ea0 100644 --- a/modules/linux/home-manager/desktop.nix +++ b/modules/linux/home-manager/desktop.nix @@ -36,5 +36,18 @@ # Install imv programs.imv.enable = true; + + # Setup udisk for automatic mounting of usb devices + services.udiskie = { + enable = true; + settings = { + # workaround for + # https://github.com/nix-community/home-manager/issues/632 + program_options = { + # replace with your favorite file manager + file_manager = "${pkgs.kitty}/bin/kitty -e yazi"; + }; + }; + }; }; } From 3e4e8a59a47689b8a915ebaa12b518ed31991353 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Sun, 3 May 2026 11:15:56 +0200 Subject: [PATCH 2/2] feat: use hr layour but us layout. --- modules/linux/home-manager/hyprland.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/linux/home-manager/hyprland.nix b/modules/linux/home-manager/hyprland.nix index f81348c..db97a57 100644 --- a/modules/linux/home-manager/hyprland.nix +++ b/modules/linux/home-manager/hyprland.nix @@ -175,8 +175,9 @@ in { }; input = { - kb_layout = "us,hr"; - kb_options = "grp:alt_space_toggle"; + kb_layout = "hr"; + kb_variant = "us"; + # kb_options = ""; accel_profile = "flat"; };