pinwheel: Move installation of age to age module

This commit is contained in:
Alexander Heldt
2023-10-23 21:15:45 +02:00
parent ef407d62dc
commit 3dc2ced280
2 changed files with 9 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
{ inputs, system, pkgs, ... }: { system, pkgs, ... }:
{ {
imports = imports =
[ [
@@ -65,7 +65,6 @@
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
inputs.agenix.packages."${system}".default
coreutils coreutils
gnumake gnumake
bash bash

View File

@@ -1,3 +1,7 @@
{ inputs, config, ... }:
let
system = config.config-manager.system;
in
{ {
age = { age = {
identityPaths = [ identityPaths = [
@@ -5,4 +9,8 @@
"/home/alex/.ssh/alex.pinwheel" "/home/alex/.ssh/alex.pinwheel"
]; ];
}; };
environment.systemPackages = [
inputs.agenix.packages."${system}".default
];
} }