mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
profiles/filesystem: init from legacy
This commit is contained in:
parent
de4a821508
commit
dfc6eaebc4
5 changed files with 24 additions and 14 deletions
22
profiles/filesystem/default.nix
Normal file
22
profiles/filesystem/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.my.profiles.filesystem;
|
||||
in
|
||||
{
|
||||
options.my.profiles.filesystem = with lib; {
|
||||
enable = mkEnableOption "filesystem profile";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
davfs2
|
||||
exfat
|
||||
fuse3
|
||||
hfsprogs
|
||||
mtpfs
|
||||
nfs-utils
|
||||
ntfs3g
|
||||
sshfs
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue