mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 01:44: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
|
@ -1,13 +0,0 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
davfs2
|
||||
exfat
|
||||
fuse3
|
||||
hfsprogs
|
||||
mtpfs
|
||||
nfs-utils
|
||||
ntfs3g
|
||||
sshfs
|
||||
];
|
||||
}
|
|
@ -11,7 +11,6 @@
|
|||
../../legacy/modules/desktop-default.nix
|
||||
../../legacy/modules/desktop-development.nix
|
||||
../../legacy/modules/development.nix
|
||||
../../legacy/modules/filesystem.nix
|
||||
];
|
||||
|
||||
networking.hostName = "thinkman";
|
||||
|
|
|
@ -8,6 +8,7 @@ in
|
|||
"3d-design".enable = true;
|
||||
android.enable = true;
|
||||
clean.enable = true;
|
||||
filesystem.enable = true;
|
||||
gaming.enable = true;
|
||||
latex.enable = true;
|
||||
media.enable = true;
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
./3d-design
|
||||
./android
|
||||
./clean
|
||||
./filesystem
|
||||
./gaming
|
||||
./latex
|
||||
./media
|
||||
|
|
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