feat: mounts
This commit is contained in:
parent
809e11313a
commit
99623ce473
5 changed files with 14 additions and 17 deletions
|
@ -5,6 +5,7 @@
|
|||
./fonts.nix
|
||||
./home.nix
|
||||
./i18n.nix
|
||||
./mounts
|
||||
./networking.nix
|
||||
./nix.nix
|
||||
./stylix.nix
|
||||
|
|
7
modules/nixos/base/mounts/automounts.nix
Normal file
7
modules/nixos/base/mounts/automounts.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
boot.supportedFilesystems = {
|
||||
ntfs = true;
|
||||
};
|
||||
|
||||
services.udisks2.enable = true;
|
||||
}
|
6
modules/nixos/base/mounts/default.nix
Normal file
6
modules/nixos/base/mounts/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./automounts.nix
|
||||
./babeshare.nix
|
||||
];
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
cfg = config.marleyos.mounts.automounts;
|
||||
in {
|
||||
options.marleyos.mounts.automounts.enable = lib.mkEnableOption "automounts";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
boot.supportedFilesystems = {
|
||||
ntfs = true;
|
||||
};
|
||||
|
||||
services.udisks2.enable = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue