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 sops
nmap nmap
unstable.devenv unstable.devenv
unstable.attic-client
]; ];
}; };

View file

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

View file

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

View file

@ -25,6 +25,11 @@
boot.initrd.luks.devices."luks-cd1139a7-0c1b-4459-b586-29b577825ee9".device = boot.initrd.luks.devices."luks-cd1139a7-0c1b-4459-b586-29b577825ee9".device =
"/dev/disk/by-uuid/cd1139a7-0c1b-4459-b586-29b577825ee9"; "/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" = { fileSystems."/boot" = {
device = "/dev/disk/by-uuid/87DA-B083"; device = "/dev/disk/by-uuid/87DA-B083";
fsType = "vfat"; fsType = "vfat";