default flake for nh
This commit is contained in:
parent
21fbfb82e4
commit
ec64b11b15
3 changed files with 17 additions and 10 deletions
|
@ -1,10 +1,18 @@
|
||||||
{ pkgs, lib, config, ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
programs.git.enable = true;
|
programs.git.enable = true;
|
||||||
programs.nh = {
|
programs.nh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
clean.enable = true;
|
clean = {
|
||||||
clean.extraArgs = "--keep-since 7d";
|
enable = true;
|
||||||
|
extraArgs = "--keep-since 7d";
|
||||||
|
};
|
||||||
|
flake = "git+https://git.icanttype.org/cdombroski/nix-configs.git";
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
|
@ -22,7 +30,10 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
flake = "git+https://git.icanttype.org/cdombroski/nix-configs.git";
|
flake = "git+https://git.icanttype.org/cdombroski/nix-configs.git";
|
||||||
allowReboot = true;
|
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 = {
|
rebootWindow = {
|
||||||
lower = "02:00";
|
lower = "02:00";
|
||||||
upper = "06:00";
|
upper = "06:00";
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
{
|
{ pkgs, config, ... }:
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
{
|
||||||
sops.secrets = {
|
sops.secrets = {
|
||||||
"root/password" = {
|
"root/password" = {
|
||||||
|
|
Loading…
Reference in a new issue