x2100: updates

This commit is contained in:
Julien Malka 2024-02-12 21:23:51 +01:00
parent 966d7f3c17
commit d1baa526b9
Signed by: Luj
GPG key ID: 6FC74C847011FD83

View file

@ -27,6 +27,7 @@
wireplumber.enable = true;
};
services.postgresql.enable = true;
networking.hostName = "x2100";
@ -50,13 +51,21 @@
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminus16";
font = null;
useXkbConfig = true; # use xkbOptions in tty.
};
hardware.opengl.enable = true;
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;
@ -69,6 +78,23 @@
users.users.julien.extraGroups = [ "tss" ]; # tss group has access to TPM devices
nix = {
distributedBuilds = true;
buildMachines = [
{
hostName = "epyc.infra.newtype.fr";
maxJobs = 100;
systems = [ "x86_64-linux" ];
sshUser = "root";
supportedFeatures = [ "kvm" "nixos-test" ];
sshKey = "/home/julien/.ssh/id_ed25519";
speedFactor = 2;
}
];
};
environment.systemPackages = with pkgs; [
tailscale
brightnessctl
@ -85,8 +111,11 @@
security.pam.services.swaylock = { };
programs.sway.enable = true;
programs.sway.package = null;
programs.sway = {
enable = true;
wrapperFeatures.gtk = true;
};
# programs.sway.package = null;
programs.ssh.startAgent = true;
services.gnome.gnome-keyring.enable = true;