2023-11-06 19:14:02 +00:00
|
|
|
# This is your system's configuration file.
|
|
|
|
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
|
|
|
|
{ outputs, lib, config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
# Set hostname
|
|
|
|
networking.hostName = "puter";
|
2023-11-20 16:26:58 +00:00
|
|
|
security.polkit.enable = true;
|
|
|
|
services.xserver.displayManager.sessionPackages = [ pkgs.sway ];
|
2023-11-21 22:14:09 +00:00
|
|
|
boot.kernelParams = [ "i915.force_probe=9a49" ];
|
|
|
|
hardware = {
|
|
|
|
opengl = {
|
|
|
|
enable = true;
|
|
|
|
driSupport32Bit = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-11-06 19:14:02 +00:00
|
|
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
|
|
|
system.stateVersion = "23.05";
|
|
|
|
}
|