format
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user