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";
|
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;
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue