rename common module to nixos

This commit is contained in:
willifan 2025-02-09 16:49:24 +01:00
parent 68cc9cbc1d
commit f22fddbd3e
60 changed files with 1 additions and 1 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}
'';
};
}