automount that works
This commit is contained in:
@@ -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"
|
||||
@@ -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;
|
||||
|
||||
@@ -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'";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services.udiskie = {
|
||||
enable = true;
|
||||
automount = true;
|
||||
notify = true;
|
||||
# settings = {};
|
||||
tray = "always";
|
||||
};
|
||||
}
|
||||
@@ -98,6 +98,9 @@ let
|
||||
nautilus
|
||||
less
|
||||
yq
|
||||
gsettings-desktop-schemas
|
||||
glib
|
||||
exfatprogs
|
||||
];
|
||||
|
||||
unfree = with pkgs; [
|
||||
|
||||
+14
-15
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user