ags flake
This commit is contained in:
parent
f2606ffc9c
commit
8128b0a488
2 changed files with 6 additions and 4 deletions
|
@ -25,6 +25,10 @@
|
|||
url = "github:nix-community/emacs-overlay";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
ags = {
|
||||
url = "github:Aylur/ags";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
|
@ -34,6 +38,7 @@
|
|||
NixOS-WSL,
|
||||
sops-nix,
|
||||
emacs-overlay,
|
||||
ags,
|
||||
...
|
||||
} @ inputs: let
|
||||
inherit (self) outputs;
|
||||
|
|
|
@ -121,10 +121,7 @@ in
|
|||
# thanks PartyWumpus
|
||||
# https://github.com/PartyWumpus/dotfiles/blob/277949d84d53a58a3f52be935cd3c581c89d5d7c/modules/hyprland/hyprland.nix#L492
|
||||
"/etc/nixos/config/ags/types" = {
|
||||
source = pkgs.runCommand "types" {} ''
|
||||
${pkgs.ags}/bin/ags --init
|
||||
mv types $out
|
||||
'';
|
||||
source = "${inputs.ags.packages.x86_64-linux.agsWithTypes.out}/share/com.github.Aylur.ags/types";
|
||||
};
|
||||
};
|
||||
xdg.configFile = {
|
||||
|
|
Loading…
Reference in a new issue