pinwheel: Move installation of age to age module
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user