| 28 Nov 2022 |
@linus:schreibt.jetzt | not always | 13:57:33 |
@linus:schreibt.jetzt | you generally have to check the module implementation | 13:57:43 |
@linus:schreibt.jetzt | often services will use systemd's DynamicUser feature to avoid actually creating a "permanent" user, in which case you have to set serviceConfig.SupplementaryGroups = ["keys"] on the systemd service in question | 13:58:37 |
roshan | byteio.in 🌷 |  Download image.png | 14:02:21 |
roshan | byteio.in 🌷 | Finally its working after 6 hours of trying | 14:02:48 |
roshan | byteio.in 🌷 | thank you Linux Hackerman 🥰 | 14:03:12 |
| 29 Nov 2022 |
@ask-yourself:matrix.org | I'm not sure if this is gonna turn out being about Colmena or KMonad so forgive me if this turns out being the wrong place to ask. I think it's most likely to do with Colmena though.
So I have a KMonad config in the works here: https://gitlab.com/IsaacBrown92/dotfiles/-/blob/main/modules/services/kmonad/kmonad.kbd
Here is the behaviour:
- When I modify that config then run
sudo colmena apply-local, the new keymaps are not in place.
- If I re-run
sudo colmena apply-local, the new keymaps are not in place.
- If I reboot, the new keymaps are in place.
- If instead of rebooting, I make another change to my kmonad.kbd, then run
sudo colmena apply-local, then the keymaps will be in place.
It seems very weird that the change dosn't take effect after multiple sudo colmena apply-local but does take effect if I add an arbitrary change to the file then run sudo colmena apply-local. Anybody know what is going on here?
| 16:28:51 |
@ask-yourself:matrix.org | * I'm not sure if this is gonna turn out being about Colmena or KMonad so forgive me if this turns out being the wrong place to ask. I think it's most likely to do with Colmena though.
So I have a KMonad config in the works here: https://gitlab.com/IsaacBrown92/dotfiles/-/blob/main/modules/services/kmonad/kmonad.kbd
Here is the behaviour:
- When I modify that config then run
sudo colmena apply-local, the new keymaps are not in place.
- If I re-run
sudo colmena apply-local n times, the new keymaps are not in place.
- If I reboot, the new keymaps are in place.
- If instead of rebooting, I make another change to my kmonad.kbd, then run
sudo colmena apply-local, then the keymaps will be in place.
It seems very weird that the change dosn't take effect after multiple sudo colmena apply-local but does take effect if I add an arbitrary change to the file then run sudo colmena apply-local. Anybody know what is going on here?
| 16:29:26 |
@ask-yourself:matrix.org | * I'm not sure if this is gonna turn out being about Colmena or KMonad so forgive me if this turns out being the wrong place to ask. I think it's most likely to do with Colmena though.
So I have a KMonad config in the works here: https://gitlab.com/IsaacBrown92/dotfiles/-/blob/main/modules/services/kmonad/kmonad.kbd
Here is the behaviour:
- When I modify that config then run
sudo colmena apply-local, the new keymaps are not in place.
- If I re-run
sudo colmena apply-local n times, the new keymaps are not in place.
- If I reboot, the new keymaps are in place.
- If instead of rebooting, I make another change to my kmonad.kbd, then run
sudo colmena apply-local, then the keymaps will be in place.
It seems very weird that the change dosn't take effect after multiple sudo colmena apply-local but does take effect if I add an arbitrary change to the file then run sudo colmena apply-local again. Anybody know what is going on here?
| 16:29:54 |
@ask-yourself:matrix.org | (Also worth noting, the arbitrary change itself will NOT take effect, the prior change that failed to take effect will take effect, if I repeat again with a second arbitrary change, then the prior arbitrary change will take effect.) | 16:32:05 |
@NobbZ:matrix.org | As you didn't answer the question in the discord, does it work if you restart the relevant service manually? | 16:33:15 |
Wanja Hentze | it could also be a nixos switch-to-configuration issue, or even a systemd issue | 16:34:27 |
@ask-yourself:matrix.org | Oh sorry I missed this message, and I took this to be a fresh thread given now I've found some specifics about the bug. Sorry that was not an intentional double post. | 16:34:49 |
@ask-yourself:matrix.org | To answer, I am not sure how to restart it manually. | 16:35:09 |
@ask-yourself:matrix.org | I don't actually see it running.. | 16:35:14 |
@ask-yourself:matrix.org | I'll show you the output. | 16:35:19 |
@NobbZ:matrix.org | Thats fine, I didn't actually spell out the question, it was implied through a comment I did this morning | 16:35:40 |
@ask-yourself:matrix.org | Ok, no worries. I just don't want you to think I'm breaking decorum. | 16:36:02 |
@ask-yourself:matrix.org | This is the output: | 16:36:07 |
@ask-yourself:matrix.org | .dotfiles on î‚ main [!] λ systemctl --user status
â—Ź desktop
State: running
Units: 136 loaded (incl. loaded aliases)
Jobs: 0 queued
Failed: 0 units
Since: Tue 2022-11-29 10:18:20 EST; 1h 17min ago
systemd: 251.7
CGroup: /user.slice/user-1000.slice/user@1000.service
├─app.slice
│ ├─flameshot.service
│ │ └─1994 /nix/store/3rwv7m4ipigij9qph7cq0bkx8108mi7l-flameshot-12.1.0/bin/flameshot
│ ├─picom.service
│ │ └─1996 /nix/store/ddvkdffcgb1j17j47b5v645jrqwdkxdw-picom-10/bin/picom --config /nix/st>
│ └─syncthing.service
│ ├─1958 /nix/store/7shs7nyr1gpr8gyfxxn4g2dbw8ggbdf3-syncthing-1.22.1/bin/syncthing -no->
│ └─1971 /nix/store/7shs7nyr1gpr8gyfxxn4g2dbw8ggbdf3-syncthing-1.22.1/bin/syncthing -no->
├─init.scope
│ ├─1950 /run/current-system/systemd/lib/systemd/systemd --user --deserialize 21
│ └─1951 "(sd-pam)"
└─session.slice
├─dbus.service
│ └─2000 /nix/store/78pyly6806z9r9ppmwi35yr0gp5441rp-dbus-1.14.4/bin/dbus-daemon --sessi>
├─pipewire-pulse.service
│ └─3207 /nix/store/ahzfcy3v4rcvj3f963zgpr0m27vkzcy6-pipewire-0.3.60-pulse/bin/pipewire->
├─pipewire.service
│ └─3206 /nix/store/1s40qd5g7iza473iqq7vx2c8s3bdlgmy-pipewire-0.3.60/bin/pipewire
└─wireplumber.service
└─3208 /nix/store/x5l1pnffwxnsczmgc567ric37fjp5naz-wireplumber-0.4.12/bin/wireplumber
| 16:36:11 |
@ask-yourself:matrix.org | So I don't actually see KMonad running as a service there. | 16:36:22 |
@NobbZ:matrix.org | That are system services | 16:36:25 |
@ask-yourself:matrix.org | Ok, I don't think I know what you mean by "service" then, could you clarify? | 16:36:50 |
Wanja Hentze | In reply to @NobbZ:matrix.org That are system services They did pass --user to systemctl | 16:37:37 |
@NobbZ:matrix.org | Exactly. | 16:37:55 |
@NobbZ:matrix.org | Kmonad runs as a system service | 16:38:01 |
@NobbZ:matrix.org | Not as a user service | 16:38:12 |
@NobbZ:matrix.org | At least if they are still using the nixos module as provided by the kmonad repo | 16:38:30 |
@ask-yourself:matrix.org | (I am. I import it to the flake.) | 16:39:04 |
@NobbZ:matrix.org | So check your system services | 16:39:16 |