mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 19:00:14 +00:00
continuing dev
This commit is contained in:
@ -0,0 +1,25 @@
|
||||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.nmasur.presets.programs.wine;
|
||||
in
|
||||
|
||||
{
|
||||
options.nmasur.presets.programs.wine.enable = lib.mkEnableOption "Wine settings";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
# Ignore wine directories in searches
|
||||
home.file =
|
||||
let
|
||||
ignorePatterns = ''
|
||||
.wine/
|
||||
drive_c/'';
|
||||
in
|
||||
{
|
||||
".rgignore".text = ignorePatterns;
|
||||
".fdignore".text = ignorePatterns;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user