refactor: centralise home-manager configs in system configs

This commit is contained in:
Mohammad Rafiq 2025-03-27 04:02:14 +08:00
parent bb6da9ccb0
commit 3d04d338d1
No known key found for this signature in database
54 changed files with 667 additions and 628 deletions

22
configs/programs/ags.nix Normal file
View file

@ -0,0 +1,22 @@
{ inputs, pkgs, ... }:
{
home-manager.users.rafiq = {
imports = [ inputs.ags.homeManagerModules.default ];
# Expose the cli tools to the home environment
home.packages = [ inputs.ags.packages.${pkgs.stdenv.hostPlatform.system}.io ];
programs.ags = {
enable = true;
configDir = ./ags; # ~/.config/ags
systemd.enable = false;
# The module only includes the core astal3, astal4 and astal-io libraries
extraPackages = with pkgs; [
# add packages to runtime
# inputs.ags.packages.${pkgs.system}.battery
# fzf
];
};
};
}