16 lines
333 B
Nix
16 lines
333 B
Nix
{ user ? throw "user argument is required" }: { config, lib, pkgs, ... }:
|
|
|
|
let
|
|
agsConfig = (import ./src { inherit pkgs; });
|
|
in
|
|
{
|
|
home-manager.users."${user.name}" = {
|
|
home.packages = with pkgs; [ ags ];
|
|
|
|
xdg.configFile.ags = {
|
|
source = "${agsConfig}/share/config.js";
|
|
target = "ags/config.js";
|
|
};
|
|
};
|
|
}
|