restructured flake

This commit is contained in:
willifan 2025-05-30 14:22:14 +02:00
parent 5c7ae091c1
commit bf3bb961f3
100 changed files with 76 additions and 78 deletions

View file

@ -0,0 +1,20 @@
{ lib, config, pkgs, ... }:
lib.mkIf config.desktop.enable {
environment.systemPackages = with pkgs; [
nfs-utils
];
services.autofs = {
enable = true;
autoMaster =
let
mapConf = pkgs.writeText "auto.nfs" ''
roms -fstype=nfs4 192.168.178.19:/roms
'';
in
''
/mnt/nfs ${mapConf}
'';
};
}