refactor: modulization
This commit is contained in:
parent
a29782681a
commit
f6acb92ad0
63 changed files with 680 additions and 1959 deletions
16
system/modules/auto-mount.nix
Normal file
16
system/modules/auto-mount.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
# USB auto mount
|
||||
usbutils
|
||||
udiskie
|
||||
udisks
|
||||
];
|
||||
|
||||
services = {
|
||||
# USB auto mount
|
||||
gvfs.enable = true;
|
||||
udisks2.enable = true;
|
||||
devmon.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue