Small changes

This commit is contained in:
Zuckerberg 2022-04-06 19:38:19 -04:00
parent 4d4b0b8240
commit c8bf265f83
6 changed files with 12 additions and 16 deletions

View File

@ -15,6 +15,9 @@
networking.useDHCP = false;
networking.firewall.enable = true;
networking.firewall.allowPing = true;
time.timeZone = "America/New_York";
i18n.defaultLocale = "en_US.UTF-8";
@ -34,6 +37,8 @@
usbutils
killall
screen
micro
helix
];
nixpkgs.config.allowUnfree = true;
@ -43,12 +48,15 @@
isNormalUser = true;
extraGroups = [
"wheel"
"dialout"
"dialout" # serial
];
shell = pkgs.fish;
openssh.authorizedKeys.keys = (import ./ssh.nix).users;
hashedPassword = "$6$TuDO46rILr$gkPUuLKZe3psexhs8WFZMpzgEBGksE.c3Tjh1f8sD0KMC4oV89K2pqAABfl.Lpxu2jVdr5bgvR5cWnZRnji/r/";
};
nix.trustedUsers = [ "root" "googlebot" ];
nix.gc.automatic = true;
programs.fish.enable = true;
}

View File

@ -83,6 +83,7 @@ in {
enableWideVine = true;
# ungoogled = true;
# --enable-native-gpu-memory-buffers # fails on AMD APU
# --enable-webrtc-vp9-support
commandLineArgs = "--use-vulkan --use-gl=desktop --enable-zero-copy --enable-hardware-overlays --enable-features=VaapiVideoDecoder,CanvasOopRasterization --ignore-gpu-blocklist --enable-accelerated-mjpeg-decode --enable-accelerated-video --enable-gpu-rasterization";
};
};

View File

@ -47,6 +47,7 @@ in {
lm_sensors
libreoffice-fresh
thunderbird
spotifyd
spotify-qt
arduino
yt-dlp

View File

@ -264,6 +264,7 @@ in {
"george@runyan.org"
"joslyn@runyan.org"
"damon@runyan.org"
"jonas@runyan.org"
];
certificateScheme = 3; # use let's encrypt for certs
};

View File

@ -47,12 +47,6 @@
};
services.archivebox = {
enable = false;
hostname = "localhost";
publicCreateSnapshots = true;
};
virtualisation.docker.enable = true;
services.zerotierone.enable = true;

View File

@ -12,16 +12,9 @@
networking.hostName = "s0";
boot.initrd.luks.devices."enc-pv" = {
device = "/dev/disk/by-uuid/96b216e1-071b-4c02-899e-29e2eeced7a8";
allowDiscards = true;
};
boot.loader.grub.enable = false;
boot.loader.generic-extlinux-compatible.enable = true;
networking.interfaces.eth0.useDHCP = true;
system.autoUpgrade.enable = true;
boot.supportedFilesystems = [ "bcachefs" ];
@ -33,6 +26,4 @@
users.users.googlebot.packages = with pkgs; [
bcachefs-tools
];
zramSwap.enable = true;
}