2024-08-01 18:27:47 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2023-06-28 20:48:01 +00:00
|
|
|
console.colors = [
|
|
|
|
"1e1e2e"
|
|
|
|
"585b70"
|
|
|
|
|
|
|
|
"bac2de"
|
|
|
|
"a6adc8"
|
|
|
|
|
|
|
|
"f38ba8"
|
|
|
|
"f38ba8"
|
|
|
|
|
|
|
|
"a6e3a1"
|
|
|
|
"a6e3a1"
|
|
|
|
|
|
|
|
"f9e2af"
|
|
|
|
"f9e2af"
|
|
|
|
|
|
|
|
"89b4fa"
|
|
|
|
"89b4fa"
|
|
|
|
|
|
|
|
"f5c2e7"
|
|
|
|
"f5c2e7"
|
|
|
|
|
|
|
|
"94e2d5"
|
|
|
|
"94e2d5"
|
|
|
|
];
|
|
|
|
|
|
|
|
time.timeZone = "America/Chicago";
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
i18n.extraLocaleSettings = {
|
|
|
|
LC_ADDRESS = "en_US.UTF-8";
|
|
|
|
LC_IDENTIFICATION = "en_US.UTF-8";
|
|
|
|
LC_MEASUREMENT = "en_US.UTF-8";
|
|
|
|
LC_MONETARY = "en_US.UTF-8";
|
|
|
|
LC_NAME = "en_US.UTF-8";
|
|
|
|
LC_NUMERIC = "en_US.UTF-8";
|
|
|
|
LC_PAPER = "en_US.UTF-8";
|
|
|
|
LC_TELEPHONE = "en_US.UTF-8";
|
|
|
|
LC_TIME = "en_US.UTF-8";
|
|
|
|
};
|
|
|
|
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
|
|
|
nix = {
|
|
|
|
gc.automatic = true;
|
2024-03-19 18:07:50 +00:00
|
|
|
package = pkgs.nixVersions.stable;
|
2023-06-28 20:48:01 +00:00
|
|
|
settings = {
|
2024-08-01 18:27:47 +00:00
|
|
|
trusted-users = [
|
|
|
|
"@sudo"
|
|
|
|
"@wheel"
|
|
|
|
"jolheiser"
|
|
|
|
];
|
|
|
|
experimental-features = [
|
|
|
|
"flakes"
|
|
|
|
"nix-command"
|
|
|
|
"repl-flake"
|
|
|
|
];
|
2023-06-28 20:48:01 +00:00
|
|
|
auto-optimise-store = true;
|
2023-07-14 16:55:09 +00:00
|
|
|
warn-dirty = false;
|
2024-08-01 18:27:47 +00:00
|
|
|
substituters = [ "https://jolheiser.cachix.org" ];
|
|
|
|
trusted-public-keys = [ "jolheiser.cachix.org-1:fiKkfTuHFqDK5ZOVxcqb4InUkKsrTvtMLISid7XvuVg=" ];
|
2023-06-28 20:48:01 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-07-06 16:07:17 +00:00
|
|
|
system.activationScripts.diff = {
|
|
|
|
supportsDryActivation = true;
|
|
|
|
text = ''
|
|
|
|
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff /run/current-system "$systemConfig"
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2023-09-06 17:18:30 +00:00
|
|
|
services.tailscale.enable = true;
|
|
|
|
|
2023-06-28 20:48:01 +00:00
|
|
|
environment = {
|
2024-08-01 18:27:47 +00:00
|
|
|
systemPackages = with pkgs; [
|
|
|
|
podman
|
|
|
|
podman-compose
|
|
|
|
podman-tui
|
|
|
|
];
|
2023-06-28 20:48:01 +00:00
|
|
|
};
|
|
|
|
}
|