default flake for nh

This commit is contained in:
Chris Dombroski 2024-11-13 11:19:25 -05:00
parent 21fbfb82e4
commit ec64b11b15
3 changed files with 17 additions and 10 deletions

View file

@ -1,10 +1,18 @@
{ pkgs, lib, config, ... }:
{
pkgs,
lib,
config,
...
}:
{
programs.git.enable = true;
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 7d";
clean = {
enable = true;
extraArgs = "--keep-since 7d";
};
flake = "git+https://git.icanttype.org/cdombroski/nix-configs.git";
};
nix = {
@ -22,7 +30,10 @@
enable = true;
flake = "git+https://git.icanttype.org/cdombroski/nix-configs.git";
allowReboot = true;
flags = lib.lists.optionals config.nixpkgs.hostPlatform.isAarch64 [ "--build-host" "zeus" ];
flags = lib.lists.optionals config.nixpkgs.hostPlatform.isAarch64 [
"--build-host"
"zeus"
];
rebootWindow = {
lower = "02:00";
upper = "06:00";

View file

@ -1,8 +1,4 @@
{
pkgs,
config,
...
}:
{ pkgs, config, ... }:
{
sops.secrets = {
"root/password" = {

View file

@ -5,7 +5,7 @@
podman.enable = true;
oci-containers.containers = {
zwave-js-ui = {
# image = "zwavejs/zwave-js-ui:latest";
# image = "zwavejs/zwave-js-ui:latest";
image = "my-zwave-js-ui:latest";
imageFile = pkgs.dockerTools.buildLayeredImage {
name = "my-zwave-js-ui";