Adding support for automatically mounting USB drives with udisks2, as well as adding Dolphin file manager for GUI file management

This commit is contained in:
lulusilly 2025-12-06 00:07:29 -04:00
parent ba811dbc3c
commit f30609e1e4
21 changed files with 483 additions and 12 deletions

View file

@ -1,7 +1,6 @@
{ config, lib, pkgs, inputs, ... }:
{
imports = [
inputs.home-manager.nixosModules.default
];
@ -72,4 +71,17 @@
hardware.graphics.extraPackages = with pkgs; [
intel-media-driver
];
# Enable udisks2 for removable media support
services.udisks2.enable = true;
# Disable sudo
security.sudo.enable = false;
# Setup doas
security.doas = {
enable = true;
extraRules = [{
users = ["lunita"];
keepEnv = true;
noPass = true;
}];
};
}

View file

@ -74,13 +74,22 @@
enable = true;
settings = {
"webgl.disabled" = false;
"privacy.clearOnShutdown.history" = false;
"privacy.clearOnShutdown.cookies" = false;
# "privacy.clearOnShutdown.history" = false;
# "privacy.clearOnShutdown.cookies" = false;
"network.cookie.lifetimePolicy" = 0;
};
};
services.mpd = {
services.udiskie = {
enable = true;
settings = {
program_options = {
file_manager = "${pkgs.kdePackages.dolphin}/bin/dolphin";
};
};
};
/* services.mpd = {
enable = true;
musicDirectory = "/home/lunita/Music";
extraConfig = ''
@ -89,11 +98,12 @@
name "Pipewire Output"
}
'';
};
}; */
home.packages = with pkgs; [
tree # Nice file tree views w/ permissions
neofetch # Muh epic r1ce!!!
hyfetch # basically neofetch but with queer flags
btop # Resource manager
stow # For dotfiles deployment. May use home.file in future
imagemagick # For converting images into other fmts
@ -107,12 +117,14 @@
ghostty # Terminal emulator
irssi # Terminal IRC client
nyxt # Customizable browser
rmpc # Rusty Music Player Client
cmus # C Music Player (TUI)
deadbeef # Closest thing to foobar2000 native on Linux
nicotine-plus # FOSS client for SoulSeek
# Fonts
nerd-fonts.jetbrains-mono
miracode
monocraft
kdePackages.dolphin
];
fonts.fontconfig.enable = true;