formattug

This commit is contained in:
Olaf 2025-05-08 18:35:06 +02:00
parent 5a9d8a6533
commit 9b76322178

View File

@ -1,6 +1,13 @@
{ agenix, config, pkgs, ... }:
{
agenix,
config,
pkgs,
...
}:
let user = "olaf"; in
let
user = "olaf";
in
{
@ -26,14 +33,24 @@ security = {
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";
};
@ -46,11 +63,15 @@ security = {
system.checks.verifyNixPath = false;
# Load configuration that is shared across systems
environment.systemPackages = with pkgs; [
environment.systemPackages =
with pkgs;
[
emacs-unstable
agenix.packages."${pkgs.system}".default
nixd
] ++ (import ../../modules/shared/packages.nix { inherit pkgs; });
]
++ (import ../../modules/shared/packages.nix { inherit pkgs; })
;
launchd.user.agents.emacs.path = [ config.environment.systemPath ];
launchd.user.agents.emacs.serviceConfig = {