feat: modified configuration to introduce ags, with extras

Revert displayScale to 1

Create AGS bar component configuration

Removed declarations for waybar
This commit is contained in:
Zhongheng Liu 2024-08-19 17:33:37 +08:00
commit 101aee8193
No known key found for this signature in database
8 changed files with 58 additions and 36 deletions

5
nixos/ags.nix Normal file
View file

@ -0,0 +1,5 @@
{pkgs, ...}: {
environment.systemPackages = [
pkgs.ags
];
}

View file

@ -14,10 +14,9 @@
./fonts.nix
./services/laptop.preset.nix
./hardware-configuration.nix
./ags.nix
];
environment.variables = {
GDK_SCALE = config.displayScale;
};
environment.variables = {GDK_SCALE = config.displayScale;};
security.pam.services.hyprlock = {};
i18n.inputMethod = {
enabled = "fcitx5";
@ -100,7 +99,13 @@
#};
programs.hyprland.enable = true; # enables Hyprland DM.
nixpkgs = {
overlays = [];
overlays = [
(final: prev: {
ags = prev.ags.overrideAttrs (old: {
buildInputs = old.buildInputs ++ [pkgs.libdbusmenu-gtk3];
});
})
];
config = {allowUnfree = true;};
};