Anthony Rodriguez
d0466f96da
commit75cf6a4d67
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Fri Oct 11 15:34:14 2024 +0200 home/programs/niri: use gtk portals for most things, and gnome for screencast commit5ccb424079
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Thu Oct 10 21:19:33 2024 +0200 home/programs/niri: add play/pause, add settings button on fn key f12 commit8b7164739d
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Thu Oct 10 00:32:40 2024 +0200 home/programs/niri: replace desktop-portal-gtk with gnome commitfe40c6c72c
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Thu Oct 10 00:21:31 2024 +0200 home/programs/niri: add xdg-desktop-portal-gtk commit74b7df1245
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Thu Oct 10 00:21:14 2024 +0200 home/programs: add fractal commit3773095069
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Thu Oct 10 00:21:05 2024 +0200 home/programs/gtk: use color-scheme for gtk4.0 commit8fef768f4f
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Wed Oct 9 19:22:43 2024 +0200 system/services/regreet: ensure that regreet starts dbus session commitfcd88bfa8e
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Wed Oct 9 19:22:20 2024 +0200 repo: implement ags Implement ags, a wayland bar / GTK shell. Also added a few dependencies required for it to work properly.
42 lines
804 B
Nix
42 lines
804 B
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: let
|
|
cfg = config.programs.ags;
|
|
in {
|
|
imports = [inputs.ags.homeManagerModules.default];
|
|
|
|
home.packages = with pkgs; [
|
|
libdbusmenu-gtk3
|
|
dart-sass
|
|
];
|
|
|
|
programs.ags = {
|
|
enable = true;
|
|
|
|
# null or path, leave as null if you don't want hm to manage the config
|
|
configDir = ./.;
|
|
|
|
# additional packages to add to gjs's runtime
|
|
extraPackages = with pkgs; [
|
|
gtksourceview
|
|
webkitgtk
|
|
accountsservice
|
|
];
|
|
};
|
|
systemd.user.services.ags = {
|
|
Unit = {
|
|
Description = "Aylur's Gtk Shell";
|
|
PartOf = [
|
|
"graphical-session.target"
|
|
];
|
|
};
|
|
Service = {
|
|
ExecStart = "${cfg.package}/bin/ags";
|
|
Restart = "on-failure";
|
|
};
|
|
Install.WantedBy = ["graphical-session.target"];
|
|
};
|
|
}
|