ags flake

This commit is contained in:
Sakooooo 2024-08-05 17:33:42 +04:00
parent f2606ffc9c
commit 8128b0a488
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 6 additions and 4 deletions

View file

@ -25,6 +25,10 @@
url = "github:nix-community/emacs-overlay"; url = "github:nix-community/emacs-overlay";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
ags = {
url = "github:Aylur/ags";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { outputs = {
@ -34,6 +38,7 @@
NixOS-WSL, NixOS-WSL,
sops-nix, sops-nix,
emacs-overlay, emacs-overlay,
ags,
... ...
} @ inputs: let } @ inputs: let
inherit (self) outputs; inherit (self) outputs;

View file

@ -121,10 +121,7 @@ in
# thanks PartyWumpus # thanks PartyWumpus
# https://github.com/PartyWumpus/dotfiles/blob/277949d84d53a58a3f52be935cd3c581c89d5d7c/modules/hyprland/hyprland.nix#L492 # https://github.com/PartyWumpus/dotfiles/blob/277949d84d53a58a3f52be935cd3c581c89d5d7c/modules/hyprland/hyprland.nix#L492
"/etc/nixos/config/ags/types" = { "/etc/nixos/config/ags/types" = {
source = pkgs.runCommand "types" {} '' source = "${inputs.ags.packages.x86_64-linux.agsWithTypes.out}/share/com.github.Aylur.ags/types";
${pkgs.ags}/bin/ags --init
mv types $out
'';
}; };
}; };
xdg.configFile = { xdg.configFile = {