build(ags): add ags home-manager module
This commit is contained in:
parent
21a5daf9b6
commit
c0397cd4b8
4 changed files with 29 additions and 4 deletions
|
@ -15,9 +15,14 @@
|
||||||
"x86_64-darwin"
|
"x86_64-darwin"
|
||||||
"aarch64-darwin"
|
"aarch64-darwin"
|
||||||
];
|
];
|
||||||
forEachSupportedSystem = nixpkgs.lib.genAttrs supportedSystems (system: {
|
forEachSupportedSystem =
|
||||||
|
f:
|
||||||
|
nixpkgs.lib.genAttrs supportedSystems (
|
||||||
|
system:
|
||||||
|
f {
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
});
|
}
|
||||||
|
);
|
||||||
# args will later be used in outputs to inherit the flake and its inputs for use in modules.
|
# args will later be used in outputs to inherit the flake and its inputs for use in modules.
|
||||||
args = { inherit self inputs; };
|
args = { inherit self inputs; };
|
||||||
# mkSystem lets us repeat the same config for multiple systems, called later in outputs.
|
# mkSystem lets us repeat the same config for multiple systems, called later in outputs.
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
./programs/hyprland.nix
|
./programs/hyprland.nix
|
||||||
./programs/kitty.nix
|
./programs/kitty.nix
|
||||||
./programs/spicetify.nix
|
./programs/spicetify.nix
|
||||||
./programs/waybar.nix
|
|
||||||
./programs/hyprlock.nix
|
./programs/hyprlock.nix
|
||||||
./programs/fuzzel.nix
|
./programs/fuzzel.nix
|
||||||
./programs/hyprshade.nix
|
./programs/hyprshade.nix
|
||||||
|
./programs/ags.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
20
users/modules/programs/ags.nix
Normal file
20
users/modules/programs/ags.nix
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{ inputs, pkgs, ... }:
|
||||||
|
{
|
||||||
|
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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
0
users/modules/programs/ags/test
Normal file
0
users/modules/programs/ags/test
Normal file
Loading…
Add table
Add a link
Reference in a new issue