!YllBCgVdcoakoavZvX:rycee.net

Home Manager

1587 Members
Support and discussion around the Home Manager project (https://github.com/nix-community/home-manager)296 Servers

Load older messages


SenderMessageTime
2 May 2025
@_oftc_bigrick:matrix.org@_oftc_bigrick:matrix.org left the room.19:00:12
3 May 2025
@_oftc_bigrick:matrix.org@_oftc_bigrick:matrix.org joined the room.00:31:39
@_oftc_bigrick:matrix.org@_oftc_bigrick:matrix.org left the room.00:32:53
@_oftc_bigrick:matrix.org@_oftc_bigrick:matrix.org joined the room.00:34:40
@sheeley:matrix.orgsheeley

I'm trying to do... something like this, but obviously this isn't the right way. Anyone have guidance on a better approach?

  home-manager.users.${user} = {lib, ...}: {
    imports = [
      ( import
      ./h1.nix
      {
      inherit config lib user inputs private pkgs;
        }
      );
    ];
  };

04:36:25
@k900:0upti.meK900 Just ./h1.nix 04:37:45
@k900:0upti.meK900 And if you want more arguments, pass then in via extraSpecialArgs 04:38:07
@sheeley:matrix.orgsheeley
imports = [ ./h1.nix ];
extraSpecialArgs = { ... };

?

04:40:29
@k900:0upti.meK900Yes 04:40:37
@sheeley:matrix.orgsheeleyHuh! Thanks, I'll try that now04:40:55
@sheeley:matrix.orgsheeley
 error: The option `home-manager.users.sheeley.extraSpecialArgs' does not exist
04:42:09
@sheeley:matrix.orgsheeleyWhen I fixed my syntax error with my other approach, it seems to have started working? shrug04:43:07
@k900:0upti.meK900 It's home-manager.extraSpecialArgs 04:48:15
@jaredmontoya:matrix.orgjaredmontoya

is there something like #review-requests:nixos.orgbut for home-manager?

I have a PR ready for merging: https://github.com/nix-community/home-manager/pull/6963

13:55:38
@seerlite:matrix.orgSeerLite joined the room.14:18:25
@_oftc___monty__:matrix.org__monty__ joined the room.16:36:30
@_oftc___monty__:matrix.org__monty__ left the room.21:28:07
@anton:gersthof.comAntonI'd appreciate if I could get some opinions on this: https://github.com/nix-community/home-manager/issues/6949 :)23:08:57
4 May 2025
@_oftc___monty__:matrix.org__monty__ joined the room.07:52:19
@gasu:matrix.orggasu joined the room.08:05:57
@_oftc___monty__:matrix.org__monty__ left the room.11:07:30
@oneeyed:matrix.orgSam changed their display name from Sam (away → 5/5) to Sam.15:41:28
@_oftc___monty__:matrix.org__monty__ joined the room.18:15:52
@_oftc___monty__:matrix.org__monty__ left the room.21:52:22
5 May 2025
@ianptkcs:matrix.orgianptkcs joined the room.04:30:01
@ianptkcs:matrix.orgianptkcsso, im trying to use home manager but it is being deactivated automatically when i rebuild04:31:04
@ianptkcs:matrix.orgianptkcswhen i run with systemctl, it is loaded, but inactive, it actiavtes, creates everything but then systemd is deactivating and finishing its environment04:33:02
@k900:0upti.meK900Uhh what 04:34:03
@k900:0upti.meK900Do you mean the systemd service status? 04:34:16
@k900:0upti.meK900That's normal, it is a oneshot service, so it is supposed to become inactive once it's finished doing things 04:34:36

Show newer messages


Back to Room ListRoom Version: 6