theme - formating

This commit is contained in:
Don Harper 2024-09-01 10:30:16 -05:00
parent 8355c7ab83
commit f1c469c7fc
30 changed files with 287 additions and 105 deletions

View file

@ -18,10 +18,16 @@
in {
nix = {
settings = {
experimental-features = ["nix-command" "flakes"];
experimental-features = [
"nix-command"
"flakes"
];
warn-dirty = false;
auto-optimise-store = true;
trusted-users = ["root" "don"];
trusted-users = [
"root"
"don"
];
};
gc = {
automatic = true;
@ -76,7 +82,9 @@ in {
enable = true;
};
kernel = {
sysctl = {"vm.swappiness" = 10;};
sysctl = {
"vm.swappiness" = 10;
};
};
};
@ -145,7 +153,15 @@ in {
isNormalUser = true;
initialPassword = "changeme";
description = "Don Harper";
extraGroups = ["networkmanager" "wheel" "scanner" "lp" "video" "mlocate" "disk"];
extraGroups = [
"networkmanager"
"wheel"
"scanner"
"lp"
"video"
"mlocate"
"disk"
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINd8AdVbQQ/Fmw+b9mI8EMYqIoRkwmSwAOtmlte3incL don@loki"
];
@ -194,7 +210,11 @@ in {
};
nixpkgs.overlays = [
(final: super: {khal = super.khal.overridePythonAttrs (_: {doCheck = false;});})
(final: super: {
khal = super.khal.overridePythonAttrs (_: {
doCheck = false;
});
})
];
# Open ports in the firewall.
@ -223,7 +243,11 @@ in {
allowedTCPPorts = [22];
interfaces = {
"tailscale0" = {
allowedTCPPorts = [22 8080 8443];
allowedTCPPorts = [
22
8080
8443
];
allowedTCPPortRanges = [
{
from = 1714;