mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-01 17:50:51 +02: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;
|
wireplumber.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
services.postgresql.enable = true;
|
services.postgresql.enable = true;
|
||||||
|
|
||||||
networking.hostName = "x2100";
|
networking.hostName = "x2100";
|
||||||
|
@ -50,13 +51,21 @@
|
||||||
# Select internationalisation properties.
|
# Select internationalisation properties.
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
console = {
|
console = {
|
||||||
font = "Lat2-Terminus16";
|
font = null;
|
||||||
useXkbConfig = true; # use xkbOptions in tty.
|
useXkbConfig = true; # use xkbOptions in tty.
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.opengl.enable = true;
|
hardware.opengl.enable = true;
|
||||||
hardware.opengl.driSupport = 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;
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
@ -69,6 +78,23 @@
|
||||||
users.users.julien.extraGroups = [ "tss" ]; # tss group has access to TPM devices
|
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; [
|
environment.systemPackages = with pkgs; [
|
||||||
tailscale
|
tailscale
|
||||||
brightnessctl
|
brightnessctl
|
||||||
|
@ -85,8 +111,11 @@
|
||||||
|
|
||||||
security.pam.services.swaylock = { };
|
security.pam.services.swaylock = { };
|
||||||
|
|
||||||
programs.sway.enable = true;
|
programs.sway = {
|
||||||
programs.sway.package = null;
|
enable = true;
|
||||||
|
wrapperFeatures.gtk = true;
|
||||||
|
};
|
||||||
|
# programs.sway.package = null;
|
||||||
programs.ssh.startAgent = true;
|
programs.ssh.startAgent = true;
|
||||||
|
|
||||||
services.gnome.gnome-keyring.enable = true;
|
services.gnome.gnome-keyring.enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue