mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-27 06:10:53 +01:00
x2100: updates
This commit is contained in:
parent
966d7f3c17
commit
d1baa526b9
1 changed files with 32 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue