{ self, ... }:
{ config, lib, pkgs, flake-self, home-manager, ... }: {
  imports =
    [ ./hardware-configuration.nix home-manager.nixosModules.home-manager ];
  home-manager.users.l = flake-self.homeConfigurations.desktop;
  link.desktop.enable = true;
  link.syncthing.enable = true;
  link.plasma.enable = false;
  # xdg.portal.extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
  networking.hostName = "pppn";
  # Use Network Manager
  networking.wireless.enable = false;
  networking.networkmanager.enable = true;
  # Use PulseAudio
  # hardware.pulseaudio.enable = lib.mkForce true;
  # services.pipewire.enable =  lib.mkForce 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.enable = true;
  services.xserver.desktopManager.phosh = { user = "l"; };
  users.users."l" = {
    isNormalUser = true;
    description = "l";
    hashedPassword =
      "$6$.p.3CNgeNfys/lfs$C5ey0R0CMDlcebtek9bKoCfetajpwmvMG5LqRXzgFGOmLGqsvV.xTVcUtDKtj/c9WJRlv7WDyxIzU2BitOXIy1";
    extraGroups = [ "dialout" "feedbackd" "networkmanager" "video" "wheel" ];
  };
  nixpkgs.config.permittedInsecurePackages = [ "olm-3.2.16" ];
  hardware.enableAllFirmware = true;
  lollypops.deployment = {
    local-evaluation = true;
    ssh = { user = "l"; };
    sudo.enable = true;
  };
}
