Add my username to trusted nix users
Add attic client Use BBR as TCP congestion control algorithm
This commit is contained in:
parent
2ac437d742
commit
07538a39d1
4 changed files with 8 additions and 1 deletions
|
@ -53,6 +53,7 @@
|
||||||
sops
|
sops
|
||||||
nmap
|
nmap
|
||||||
unstable.devenv
|
unstable.devenv
|
||||||
|
unstable.attic-client
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue