How do you install this by declaring it in your nixos config? #138
Closed
sebbelindholm
started this conversation in
General
Replies: 1 comment
-
you can use the flake # in your flake
inputs.ags.url = "github:Aylur/ags";
outputs = { nixpkgs, ... }@inputs:
{
nixosConfigurations."hostname" = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; }; # pass inputs as specialArg
modules = [ /path-to/configuration.nix ]; # your config
};
} # in configuration.nix
{ pkgs, inputs, ... }:
{
environment.systemPackages = [
inputs.ags.packages.${pkgs.system}.default # add it to your environment
];
} you can also checkout my config to see how I have set it up on home-manager |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Might be a stupid question but I want to try this out but wants to have a 100% reproducible setup.
Beta Was this translation helpful? Give feedback.
All reactions