refactor(gaming): move home-managed config into home manager module
check / lint (push) Successful in 14s
check / lint (push) Successful in 14s
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
options.gaming.enable = lib.mkEnableOption "gaming";
|
||||
|
||||
config = lib.mkIf config.gaming.enable {
|
||||
xdg.configFile."lutris/system.yml".text = lib.generators.toJSON { } {
|
||||
system.game_path = "${config.home.homeDirectory}/games";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user