Add my username to trusted nix users

Add attic client
Use BBR as TCP congestion control algorithm
This commit is contained in:
Pim Kunis 2024-04-29 15:19:17 +02:00
parent 2ac437d742
commit 07538a39d1
4 changed files with 8 additions and 1 deletions

View file

@ -53,6 +53,7 @@
sops
nmap
unstable.devenv
unstable.attic-client
];
};

View file

@ -1,7 +1,6 @@
{ config, ... }: {
config = {
services.syncthing.enable = true;
xdg.userDirs.music = "${config.home.homeDirectory}/sync/Music";
homeage.file."syncthing-key.pem" = {
source = ../../secrets/syncthing-key.pem.age;

View file

@ -76,6 +76,8 @@
nix = {
package = pkgs.nixFlakes;
settings.trusted-users = [ "root" "pim" ];
extraOptions = ''
experimental-features = nix-command flakes
'';

View file

@ -25,6 +25,11 @@
boot.initrd.luks.devices."luks-cd1139a7-0c1b-4459-b586-29b577825ee9".device =
"/dev/disk/by-uuid/cd1139a7-0c1b-4459-b586-29b577825ee9";
boot.kernel.sysctl = {
"net.core.default_qdisc" = "fq";
"net.ipv4.tcp_congestion_control" = "bbr";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/87DA-B083";
fsType = "vfat";