2022-05-19 15:03:13 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [ ./users ];
|
|
|
|
|
|
|
|
security.sudo.wheelNeedsPassword = false;
|
|
|
|
|
|
|
|
services.journald.extraConfig = ''
|
|
|
|
SystemMaxUse=100M
|
|
|
|
MaxFileSec=7day
|
|
|
|
'';
|
|
|
|
|
|
|
|
# Clean /tmp on boot.
|
|
|
|
boot.cleanTmpDir = true;
|
|
|
|
|
|
|
|
# Set your time zone.
|
|
|
|
time.timeZone = "Europe/Amsterdam";
|
|
|
|
|
|
|
|
programs.fish.enable = true;
|
|
|
|
|
|
|
|
# Optimize nix store by hardlinking identitical files.
|
|
|
|
nix = {
|
|
|
|
package = pkgs.nixUnstable;
|
|
|
|
autoOptimiseStore = true;
|
|
|
|
binaryCaches = [
|
|
|
|
"https://cachix.cachix.org"
|
|
|
|
"https://nix-community.cachix.org"
|
|
|
|
"https://nixpkgs-review-bot.cachix.org"
|
|
|
|
];
|
|
|
|
binaryCachePublicKeys = [
|
|
|
|
"cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM="
|
|
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
|
|
"nixpkgs-review-bot.cachix.org-1:eppgiDjPk7Hkzzz7XlUesk3rcEHqNDozGOrcLc8IqwE="
|
|
|
|
];
|
|
|
|
trustedUsers = [ "root" "jdejeu" ];
|
|
|
|
extraOptions = ''
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
2022-05-26 16:40:49 +02:00
|
|
|
nixpkgs.overlays = [ (import ../pkgs) ];
|
2022-05-19 15:03:13 +02:00
|
|
|
}
|