feat(ags): add gtk4 version of ags astal
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-03-05 19:37:09 -05:00
parent 0c70dbd866
commit 06a8d50fb1
3 changed files with 42 additions and 0 deletions

View file

@ -43,6 +43,26 @@
"type": "github"
}
},
"astal": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1709473082,
"narHash": "sha256-8af1Ks+HrQO1/EvzZhpXdB4hrm0A85swHwYqPDUiNw8=",
"owner": "Aylur",
"repo": "Astal",
"rev": "5a192cce097189ef37b97e2d69fda37b4c51fd84",
"type": "github"
},
"original": {
"owner": "Aylur",
"repo": "Astal",
"type": "github"
}
},
"bat-theme-src": {
"flake": false,
"locked": {
@ -1359,6 +1379,7 @@
"inputs": {
"ags": "ags",
"arion": "arion",
"astal": "astal",
"bat-theme-src": "bat-theme-src",
"caddy-plugins": "caddy-plugins",
"coc-stylelintplus": "coc-stylelintplus",

View file

@ -249,6 +249,13 @@
inputs.nixpkgs.follows = "nixpkgs";
};
astal = {
type = "github";
owner = "Aylur";
repo = "Astal";
inputs.nixpkgs.follows = "nixpkgs";
};
coc-stylelintplus = {
type = "github";

View file

@ -1,5 +1,6 @@
{
ags,
astal,
config,
pkgs,
...
@ -8,10 +9,15 @@
isTouchscreen = config.hardware.sensor.iio.enable;
in {
# Enable pam for ags and astal
security.pam.services.ags = {};
security.pam.services.astal = {};
services.upower.enable = true;
home-manager.users.${mainUser}.imports = [
ags.homeManagerModules.default
astal.homeManagerModules.default
({
config,
@ -25,6 +31,14 @@ in {
agsTypes = config.home.file.".local//share/com.github.Aylur.ags/types";
agsConfigDir = ".nix/modules/ags/config";
in {
# Experimental Gtk4 ags
programs.astal = {
enable = true;
extraPackages = with pkgs; [
libadwaita
];
};
programs.ags.enable = true;
home = {