feat: agenix
This commit is contained in:
parent
f00f6b55fc
commit
d952121242
5 changed files with 13 additions and 7 deletions
|
@ -17,7 +17,6 @@
|
|||
overlays = with inputs; [
|
||||
lix.overlays.default
|
||||
nur.overlays.default
|
||||
agenix.overlays.default
|
||||
niri-flake.overlays.niri
|
||||
|
||||
(import ./overlays/ddclient.nix)
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
{marleylib, ...}: let
|
||||
{
|
||||
marleylib,
|
||||
inputs',
|
||||
...
|
||||
}: let
|
||||
my = {
|
||||
name = "marley";
|
||||
fullName = "Marley Rae";
|
||||
|
@ -19,7 +23,7 @@ in {
|
|||
};
|
||||
|
||||
sharedModules = [../home];
|
||||
extraSpecialArgs = {inherit marleylib;};
|
||||
extraSpecialArgs = {inherit marleylib inputs';};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -12,6 +12,7 @@ in {
|
|||
# Universal - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
{
|
||||
programs = {
|
||||
agenix = enabled;
|
||||
nh = enabled;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs',
|
||||
...
|
||||
}: let
|
||||
cfg = config.marleyos.programs.agenix;
|
||||
|
@ -9,8 +9,9 @@ in {
|
|||
options.marleyos.programs.agenix.enable = lib.mkEnableOption "agenix";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
agenix
|
||||
home.packages = [
|
||||
# The overlay doesn't work for some reason...
|
||||
inputs'.agenix.packages.default
|
||||
];
|
||||
};
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./agenix.nix
|
||||
./fuzzel.nix
|
||||
./nemo.nix
|
||||
./nh.nix
|
||||
|
|
Loading…
Reference in a new issue