automount that works

This commit is contained in:
2025-12-15 19:46:13 +01:00
parent 06b3aae374
commit 216f457e09
6 changed files with 48 additions and 33 deletions
-18
View File
@@ -1,18 +0,0 @@
[core]
editor = "nvim"
pager = "/nix/store/hfsr8bqqa9gaqwcsq5sjdfiqix7m8kqh-delta-0.18.2/bin/delta"
[credential "https://gist.github.com"]
helper = ""
helper = "/nix/store/y12yx7z4g4a3jbzh28h6yrpvcf6px5kl-gh-2.83.1/bin/gh auth git-credential"
[credential "https://github.com"]
helper = ""
helper = "/nix/store/y12yx7z4g4a3jbzh28h6yrpvcf6px5kl-gh-2.83.1/bin/gh auth git-credential"
[interactive]
diffFilter = "/nix/store/hfsr8bqqa9gaqwcsq5sjdfiqix7m8kqh-delta-0.18.2/bin/delta --color-only"
[user]
mail = "marc@marcpartensky.com"
name = "marc"
+4
View File
@@ -19,6 +19,10 @@
hardware.enableAllFirmware = true;
services.xserver.videoDrivers = [ "intel" ];
boot.supportedFilesystems = [ "exfat" ];
services.udisks2.enable = true;
services.gvfs.enable = true;
hardware.graphics = {
enable = true;
# driSupport = true;
+17
View File
@@ -0,0 +1,17 @@
{ pkgs, ... }:
{
dconf.enable = true;
dconf.settings = {
"org/gnome/desktop/media-handling" = {
automount = true;
automount-open = true;
};
"org/gnome/nautilus/preferences" = {
default-folder-viewer = "'list-view'";
};
"org/gnome/nautilus/list-view" = {
sort-column = "'modified'";
sort-order = "'descending'";
};
};
}
+10
View File
@@ -0,0 +1,10 @@
{ pkgs, ... }:
{
services.udiskie = {
enable = true;
automount = true;
notify = true;
# settings = {};
tray = "always";
};
}
+3
View File
@@ -98,6 +98,9 @@ let
nautilus
less
yq
gsettings-desktop-schemas
glib
exfatprogs
];
unfree = with pkgs; [
+14 -15
View File
@@ -51,6 +51,9 @@ let
dconf
playerctl
nushell
# glib
# gsettings-desktop-schemas
udiskie
];
# -------------------------------
@@ -143,10 +146,12 @@ in
../../modules/home/pgcli
../../modules/home/gpg
../../modules/home/wofi
# ../../modules/home/waybar
# ../../modules/home/mako
../../modules/home/dconf
# ../../modules/home/waybar (incompatible hyprpanel)
# ../../modules/home/mako (incompatible hyprpanel)
../../modules/home/hyprpanel
../../modules/home/gammastep
../../modules/home/udiskie
# ../../modules/home/virt-manager
# ../../modules/home/polkit
# ../../modules/home/ipython
@@ -160,6 +165,13 @@ in
# ../../modules/home/tor
];
home.sessionVariables = {
GSETTINGS_SCHEMA_DIR =
"${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}";
DBUS_SESSION_BUS_ADDRESS = "${builtins.getEnv "DBUS_SESSION_BUS_ADDRESS"}";
};
home = {
username = "marc";
homeDirectory = "/home/marc";
@@ -187,19 +199,6 @@ in
programs.topgrade.enable = true;
# Configuration DConf pour Nautilus
dconf.settings = {
"org/gnome/nautilus/preferences" = {
default-folder-viewer = "'list-view'";
};
"org/gnome/nautilus/list-view" = {
sort-column = "'modified'";
sort-order = "'descending'";
};
};
# programs.dconf.enable = true;
# systemd.user.services = {
# evolution-data-server = {
# Unit.Description = "Evolution Data Server";