Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
agelix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xerz
agelix
Commits
3047d451
Verified
Commit
3047d451
authored
2 months ago
by
Xerz
Browse files
Options
Downloads
Patches
Plain Diff
Added basic feature parity with upstream flake
parent
1f44011a
Branches
main
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
flake.nix
+22
-3
22 additions, 3 deletions
flake.nix
with
22 additions
and
3 deletions
flake.nix
+
22
−
3
View file @
3047d451
...
...
@@ -5,7 +5,7 @@
sysrepo
.
url
=
"github:NixOS/nixpkgs/nixpkgs-unstable"
;
agenix
=
{
url
=
"github:ryantm/agenix"
;
inputs
.
nixpkgs
.
follows
=
"sysrepo"
;
inputs
.
nixpkgs
.
follows
=
"sysrepo"
;
};
lix-module
=
{
url
=
"https://git.lix.systems/lix-project/nixos-module/archive/main.tar.gz"
;
...
...
@@ -14,18 +14,37 @@
};
outputs
=
{
self
,
sysrepo
,
agenix
,
...
}
@
inputs
:
{
self
,
sysrepo
,
agenix
,
...
}
@
inputs
:
let
forAllSystems
=
with
sysrepo
.
lib
;
genAttrs
(
import
agenix
.
inputs
.
systems
);
in
{
nixosModules
=
agenix
.
nixosModules
;
darwinModules
=
agenix
.
darwinModules
;
homeManagerModules
=
agenix
.
homeManagerModules
;
overlays
.
default
=
final
:
prev
:
let
pkgs
=
prev
.
extend
inputs
.
lix-module
.
overlays
.
default
;
in
{
agenix
=
prev
.
callPackage
"
${
inputs
.
agenix
}
/pkgs/agenix.nix"
{
};
};
packages
=
forAllSystems
(
system
:
let
pkgs
=
sysrepo
.
legacyPackages
.
${
system
}
.
extend
inputs
.
lix-module
.
overlays
.
default
;
in
rec
{
agenix
=
pkgs
.
callPackage
"
${
inputs
.
agenix
}
/pkgs/agenix.nix"
{};
agenix
=
pkgs
.
callPackage
"
${
inputs
.
agenix
}
/pkgs/agenix.nix"
{
};
doc
=
pkgs
.
callPackage
"
${
inputs
.
agenix
}
/pkgs/doc.nix"
{
inherit
self
;
};
default
=
agenix
;
}
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment