This commit is contained in:
2025-08-03 20:35:48 +02:00
parent ffc78043e6
commit 2ddffc74c9
17 changed files with 476 additions and 333 deletions

View File

@@ -1,6 +1,13 @@
{ agenix, config, pkgs, ... }:
{
agenix,
config,
pkgs,
...
}:
let user = "cschmatzler"; in
let
user = "cschmatzler";
in
{
imports = [
@@ -13,13 +20,23 @@ let user = "cschmatzler"; in
nix = {
package = pkgs.nix;
settings = {
trusted-users = [ "@admin" "${user}" ];
substituters = [ "https://nix-community.cachix.org" "https://cache.nixos.org" ];
trusted-users = [
"@admin"
"${user}"
];
substituters = [
"https://nix-community.cachix.org"
"https://cache.nixos.org"
];
trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ];
};
gc = {
automatic = true;
interval = { Weekday = 0; Hour = 2; Minute = 0; };
interval = {
Weekday = 0;
Hour = 2;
Minute = 0;
};
options = "--delete-older-than 30d";
};
extraOptions = ''
@@ -27,9 +44,12 @@ let user = "cschmatzler"; in
'';
};
environment.systemPackages = with pkgs; [
agenix.packages."${pkgs.system}".default
] ++ (import ../../modules/shared/packages.nix { inherit pkgs; });
environment.systemPackages =
with pkgs;
[
agenix.packages."${pkgs.system}".default
]
++ (import ../../modules/shared/packages.nix { inherit pkgs; });
system = {
checks.verifyNixPath = false;