!OHimLTKAXNbFrEoogf:matrix.org

Nix Milan

123 Members
https://milano.nix.pizza/10 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
16 Jan 2026
@telegram_524811522:t2bot.ioTonio Gela * Sono ben descritti qui (e @icovada ci trovi la soluzione al problema). Pare che a partire da una certa version di nixpkgs e di pipewire, questo ucm (use case manager) selezioni di default un profilo in cui il microfono utilizzato e' quello dello chassis. Anche smanacciando pavucontrol non arrivavo da nessuna parte, ma disattivando ucm tutto funziona normalmente. 08:28:24
@telegram_165995843:t2bot.ioNonno FeliceDopo faccio qualche test perché a me non succede, se trovo qualcosa condivido08:44:40
@telegram_165995843:t2bot.ioNonno Felice
services = {
    kanata = {
      enable = true;
      keyboards = {
        laptop = {
          config =
            # lisp
            ''
              (defsrc caps esc)
              (deflayer base esc caps)
            '';
          devices = [
            "/dev/input/by-path/platform-i8042-serio-0-event-kbd" # framework-13-7040-amd
          ];
        };
      };
    };
    logind.settings.Login = {
      HandleLidSwitch = "suspend-then-hibernate";
      HandleLidSwitchExternalPower = "suspend-then-hibernate";
      # When the laptop is plugged to an external monitor
      HandleLidSwitchDocked = "suspend-then-hibernate";
    };
    thermald.enable = true;
    fwupd.enable = true;
    upower.enable = true;
  };

Io tengo questo

E su home-manager ho questo

services.swayidle = {
      enable = true;
      events = {
        "before-sleep" = "${pkgs.swaylock}/bin/swaylock -fF -i ~/Pictures/wallpaper.jpg";
        "lock" = "lock";
      };
    };

Per il resto ho praticamente il tuo setup e la sospensione mi funziona
08:49:01
@telegram_524811522:t2bot.ioTonio GelaPer ibernare usi una partizione di swap o uno swapfile?08:54:57
@telegram_165995843:t2bot.ioNonno FeliceSwap09:02:14
@telegram_165995843:t2bot.ioNonno FelicePerò l'ibernazione non so se abbia mai funzionato onestamente 😂09:02:33
@telegram_524811522:t2bot.ioTonio Gela @C3n21 posso chiederti l'output di `cat /sys/power/mem_sleep` sulla tua macchina? 09:27:12
@telegram_524811522:t2bot.ioTonio Gela * @C3n21 posso chiederti l'output di `
cat /sys/power/mem_sleep` 
sulla tua macchina?
09:27:20
@telegram_524811522:t2bot.ioTonio Gela * @C3n21 posso chiederti l'output di cat /sys/power/mem_sleep sulla tua macchina? 09:28:05
@telegram_165995843:t2bot.ioNonno Felice[s2idle]09:38:43
@telegram_524811522:t2bot.ioTonio GelaOk, ho capito, stavo diventando pazzo09:48:28
@telegram_524811522:t2bot.ioTonio Gela da man logind.conf:
```
HoldoffTimeoutSec=
Specifies a period of time after system startup or system
resume in which systemd will hold off on reacting to lid
events. This is required for the system to properly detect any
hotplugged devices so systemd can ignore lid events if
external monitors, or docks, are connected. If set to 0,
systemd will always react immediately, possibly before the
kernel fully probed all hotplugged devices. This is safe, as
long as you do not care for systemd to account for devices
that have been plugged or unplugged while the system was off.
           Defaults to 30s.

```
09:48:50
@telegram_524811522:t2bot.ioTonio Gela * da man logind.conf:
       HoldoffTimeoutSec=
           Specifies a period of time after system startup or system
           resume in which systemd will hold off on reacting to lid
           events. This is required for the system to properly detect any
           hotplugged devices so systemd can ignore lid events if
           external monitors, or docks, are connected. If set to 0,
           systemd will always react immediately, possibly before the
           kernel fully probed all hotplugged devices. This is safe, as
           long as you do not care for systemd to account for devices
           that have been plugged or unplugged while the system was off.
           Defaults to 30s.
09:49:08
@telegram_524811522:t2bot.ioTonio Gela * da man logind.conf:
HoldoffTimeoutSec=
Specifies a period of time after system startup resume in which systemd will hold off on reacting to lid
events. This is required for the system to properly detect any
hotplugged devices so systemd can ignore lid events if
external monitors, or docks, are connected. If set to 0,
systemd will always react immediately, possibly before the
kernel fully probed all hotplugged devices. This is safe, as
long as you do not care for systemd to account for devices
that have been plugged or unplugged while the system was off.
Defaults to 30s.
09:49:28
@telegram_524811522:t2bot.ioTonio Gela * da man logind.conf:
HoldoffTimeoutSec=
  Specifies a period of time after system startup
  resume in which systemd will hold off on reacting to lid
events. This is required for the system to properly detect any
hotplugged devices so systemd can ignore lid events if
external monitors, or docks, are connected. If set to 0,
systemd will always react immediately, possibly before the
kernel fully probed all hotplugged devices. This is safe, as
long as you do not care for systemd to account for devices
that have been plugged or unplugged while the system was off.
Defaults to 30s.
09:50:19
@telegram_524811522:t2bot.ioTonio GelaIo aprivo e chiudevo il lid ogni 5 secondi come un pazzo e lo riaprivo prima di questi canonici 30 secondi09:50:48
@telegram_524811522:t2bot.ioTonio GelaSe apri e chiudi il lid 2 volte entro 30 secondi la seconda apertura/chiusura finisce dentro questo grace period. Se aspetti i rimanenti 25 secondi il laptop va in sleep (letteralmente lo schermo si spegne). Mistero risolto.09:51:46
@telegram_524811522:t2bot.ioTonio Gela* Se apri e chiudi il lid 2 volte entro 30 secondi la seconda apertura/chiusura finisce dentro questo grace period. Se aspetti i rimanenti 25 secondi il laptop va in sleep (letteralmente lo schermo si spegne). Mistero risolto, scusate lo spam in chat.10:02:12
@telegram_165995843:t2bot.ioNonno FeliceAverage Linux desktop experience10:05:48
20 Jan 2026
@telegram_73824637:t2bot.ioAndrea Ciceri https://github.com/NixOS/nixpkgs/commit/0520de52437c276b304d622fbf5f4a421033c682 03:55:10
@telegram_165995843:t2bot.ioNonno FeliceNixGate06:42:33

Show newer messages


Back to Room ListRoom Version: 10