!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

328 Members
https://github.com/nix-community/NixOS-WSL54 Servers

Load older messages


SenderMessageTime
18 Aug 2024
@k900:0upti.meK900But in general20:02:27
@whovian9369:matrix.orgWhovian9369 Loaded as an h-m module via nixosConfigurations.hostname.modules = [ { home-manager.user.whovian.imports = [ agenix.homeManagerModules.default ]; }; ];
Then gets run through cat as part of my h-m config itself
20:03:49
@whovian9369:matrix.orgWhovian9369I can link my config (with specific line numbers) in case you think that may help.20:04:11
@k900:0upti.meK900Hmm20:05:11
@k900:0upti.meK900I wonder if it's just agenix that's wrong then20:05:30
@k900:0upti.meK900OK no it's not20:06:19
@k900:0upti.meK900They're doing things correctly20:06:23
@k900:0upti.meK900 Check journalctl --user -u agenix 20:06:28
@whovian9369:matrix.orgWhovian9369
$  journalctl --user -u agenix
-- No entries --

This feels... Suspiciously empty :P

20:06:50
@k900:0upti.meK900 What does systemctl --user status agenix say? 20:07:58
@whovian9369:matrix.orgWhovian9369
$  systemctl --user status agenix
Failed to connect to bus: No such file or directory

... Lemme try a couple other tabs quickly.

20:08:35
@whovian9369:matrix.orgWhovian9369 Same error on all of my tabs, that's very weird. 20:08:59
@k900:0upti.meK900Yeah, your user services are failing20:09:21
@k900:0upti.meK900Most likely20:09:23
@k900:0upti.meK900 What does systemctl status user@1000 say? 20:09:30
@whovian9369:matrix.orgWhovian9369
$  systemctl status user@1000
○ user@1000.service - User Manager for UID 1000
     Loaded: loaded (/etc/systemd/system/user@.service; static)
    Drop-In: /nix/store/wckbdxx34b886d1rrgf2qx8wh97ngkpb-system-units/user@.service.d
             └─overrides.conf
     Active: inactive (dead)
       Docs: man:user@.service(5)
20:10:24
@whovian9369:matrix.orgWhovian9369I can try to go back a few revisions of my config to possibly see where it breaks20:11:12
@k900:0upti.meK900OK that sounds wrong20:11:24
@k900:0upti.meK900 What if you systemctl start user@1000? 20:11:30
@whovian9369:matrix.orgWhovian9369 With or without sudo? 20:13:30
@k900:0upti.meK900With20:14:12
@k900:0upti.meK900It should elevate without20:14:18
@whovian9369:matrix.orgWhovian9369
$  systemctl start user@1000
Failed to execute /run/current-system/sw/bin/pkttyagent: No such file or directory
Failed to start user@1000.service: Access denied
See system logs and 'systemctl status user@1000.service' for details.

$  sudo systemctl start user@1000

Tried with both, so I'm guessing-- Yeah lol

20:14:18
@k900:0upti.meK900If you have polkit20:14:20
@k900:0upti.meK900Oh, you don't have polkit20:14:26
@k900:0upti.meK900OK20:14:26
@k900:0upti.meK900Is it running now?20:14:29
@whovian9369:matrix.orgWhovian9369

Yep.

$  systemctl status user@1000
● user@1000.service - User Manager for UID 1000
     Loaded: loaded (/etc/systemd/system/user@.service; static)
    Drop-In: /nix/store/wckbdxx34b886d1rrgf2qx8wh97ngkpb-system-units/user@.service.d
             └─overrides.conf
     Active: active (running) since Sun 2024-08-18 16:13:35 EDT; 49s ago
 Invocation: 11780767dd7d44a899fef51313dd74a3
...
20:14:54
@k900:0upti.meK900I guess the next question then is, why is it not starting automatically20:15:07
@k900:0upti.meK900What WSL version are you on?20:15:13

Show newer messages


Back to Room ListRoom Version: 9