2023-10-03 12:21:09 +00:00
|
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
...
|
|
|
|
|
}: {
|
2023-09-12 18:11:29 +00:00
|
|
|
|
# Use Network Manager
|
2023-10-03 12:55:54 +00:00
|
|
|
|
networking.hostName = "maoam";
|
2023-09-12 18:11:29 +00:00
|
|
|
|
networking.wireless.enable = false;
|
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
|
|
|
|
|
|
# Use PulseAudio
|
|
|
|
|
hardware.pulseaudio.enable = true;
|
|
|
|
|
|
|
|
|
|
# Enable Bluetooth
|
|
|
|
|
hardware.bluetooth.enable = true;
|
|
|
|
|
|
|
|
|
|
# Bluetooth audio
|
|
|
|
|
hardware.pulseaudio.package = pkgs.pulseaudioFull;
|
|
|
|
|
|
|
|
|
|
# Enable power management options
|
|
|
|
|
powerManagement.enable = true;
|
|
|
|
|
|
|
|
|
|
# It's recommended to keep enabled on these constrained devices
|
|
|
|
|
zramSwap.enable = true;
|
|
|
|
|
|
|
|
|
|
# Auto-login for phosh
|
|
|
|
|
services.xserver.desktopManager.phosh = {
|
|
|
|
|
user = "b12f";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
mobile.boot.stage-1.firmware = [
|
|
|
|
|
config.mobile.device.firmware
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
services.openssh.enable = true;
|
|
|
|
|
|
|
|
|
|
# This value determines the NixOS release from which the default
|
|
|
|
|
# settings for stateful data, like file locations and database versions
|
|
|
|
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
|
|
|
|
# this value at the release version of the first install of this system.
|
|
|
|
|
# Before changing this value read the documentation for this option
|
|
|
|
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
|
|
|
|
system.stateVersion = "23.11"; # Did you read the comment?
|
|
|
|
|
}
|