Add agenix to all nodes

This commit is contained in:
Rodrigo Arias 2023-09-04 22:09:40 +02:00
parent 77d43b6da9
commit 02f40a8217
4 changed files with 12 additions and 9 deletions

9
m/common/agenix.nix Normal file
View File

@ -0,0 +1,9 @@
{ agenix, ... }:
{
imports = [ agenix.nixosModules.default ];
environment.systemPackages = [
agenix.packages.x86_64-linux.default
];
}

View File

@ -2,6 +2,7 @@
{
imports = [
./agenix.nix
./boot.nix
./fs.nix
./hw.nix

View File

@ -1,4 +1,4 @@
{ config, pkgs, agenix, ... }:
{ config, pkgs, ... }:
{
imports = [
@ -10,11 +10,6 @@
./nfs.nix
./slurm-daemon.nix
#./pxe.nix
agenix.nixosModules.default
];
environment.systemPackages = [
agenix.packages.x86_64-linux.default
];
boot.binfmt.emulatedSystems = [ "aarch64-linux" "powerpc64le-linux" "riscv64-linux" ];

View File

@ -1,9 +1,7 @@
{ config, pkgs, agenix, ... }:
{ config, pkgs, ... }:
# Mounts the /ceph filesystem at boot
{
imports = [ agenix.nixosModules.default ];
environment.systemPackages = with pkgs; [
ceph
ceph-client