mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 18:09:06 +02:00
x2100 changes
This commit is contained in:
parent
9847745e50
commit
97abc1c327
7 changed files with 461 additions and 27 deletions
|
@ -7,6 +7,7 @@
|
|||
./home-julien.nix
|
||||
../../users/julien.nix
|
||||
../../users/default.nix
|
||||
../../share.nix
|
||||
];
|
||||
|
||||
|
||||
|
@ -27,6 +28,7 @@
|
|||
wireplumber.enable = true;
|
||||
};
|
||||
|
||||
hardware.pulseaudio.enable = lib.mkForce false;
|
||||
|
||||
services.postgresql.enable = true;
|
||||
|
||||
|
@ -59,18 +61,12 @@
|
|||
hardware.opengl.driSupport = true;
|
||||
|
||||
services.dbus.enable = true;
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
wlr.enable = true;
|
||||
extraPortals = lib.mkForce [ pkgs.xdg-desktop-portal-wlr pkgs.xdg-desktop-portal-gtk ];
|
||||
|
||||
};
|
||||
|
||||
programs.dconf.enable = true;
|
||||
|
||||
security.polkit.enable = true;
|
||||
|
||||
services.tlp.enable = true;
|
||||
services.tlp.enable = false;
|
||||
|
||||
security.tpm2.enable = true;
|
||||
security.tpm2.pkcs11.enable = true; # expose /run/current-system/sw/lib/libtpm2_pkcs11.so
|
||||
|
@ -102,6 +98,28 @@
|
|||
wl-mirror
|
||||
];
|
||||
|
||||
|
||||
networking.wireguard.interfaces.rezo = {
|
||||
ips = [ "fd81:fb3a:50cc::200/128" ];
|
||||
privateKeyFile = "/root/wg-private";
|
||||
peers = [
|
||||
{
|
||||
publicKey = "srQPT9ZjXBKyJ7R1mvXYMZNy+NcnHMy5qE1WGZDfmnc=";
|
||||
allowedIPs = [ "fd81:fb3a:50cc::/48" ];
|
||||
endpoint = "129.199.146.230:25351";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
|
||||
services.hash-collection = {
|
||||
enable = true;
|
||||
retries = 1;
|
||||
collection-url = "http://localhost:8000";
|
||||
tokenFile = "/home/julien/token";
|
||||
};
|
||||
|
||||
services.printing.enable = true;
|
||||
services.avahi.enable = true;
|
||||
services.avahi.nssmdns = true;
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_testing_bcachefs;
|
||||
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_latest;
|
||||
|
||||
fileSystems."/" =
|
||||
{
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
gh
|
||||
gh-dash
|
||||
cvc5
|
||||
signal-desktop-beta
|
||||
signal-desktop
|
||||
scli
|
||||
texlive.combined.scheme-full
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue