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