flake: create generator for aarch64 sdcard image

This commit is contained in:
LavaDesu 2022-08-08 18:18:18 +07:00
parent a4294aefbc
commit 2c733de3b3
Signed by: cilly
GPG key ID: 6500251E087653C9
6 changed files with 133 additions and 20 deletions

View file

@ -1,4 +1,4 @@
{ config, inputs, modules, overlays, pkgs, ... }: {
{ config, inputs, modules, modulesPath, overlays, pkgs, ... }: {
networking.hostName = "caramel";
system.stateVersion = "21.11";
time.timeZone = "Asia/Phnom_Penh";
@ -12,6 +12,7 @@
};
imports =
(with modules.system; [
"${builtins.toString modulesPath}/installer/sd-card/sd-image-aarch64.nix"
inputs.home-manager-porcupine.nixosModule
base
@ -23,15 +24,16 @@
./filesystem.nix
./kernel.nix
./image.nix
./networking.nix
./packages.nix
../../users/hana
]) ++
(with modules.services; [
nginx
postgres
synapse
# nginx
# postgres
# synapse
tmptsync
unbound
vaultwarden