ece has quit [Read error: Connection reset by peer]
ece has joined #home-manager
stephank6 has joined #home-manager
stephank has quit [Ping timeout: 272 seconds]
stephank6 is now known as stephank
kalbasit has joined #home-manager
kalbasit has quit [Ping timeout: 256 seconds]
cole-h has quit [Ping timeout: 260 seconds]
patagonicus has joined #home-manager
<patagonicus>
Is there a good way of querying the system's hardware.hidpi.enable setting in a home-manager config? In particular I'd like to change the font size for urxvt based on that.
niacdoial has joined #home-manager
niacdoial has quit [Ping timeout: 260 seconds]
cyphase has quit [Ping timeout: 246 seconds]
cyphase has joined #home-manager
__monty__ has joined #home-manager
niacdoial has joined #home-manager
niacdoial has quit [Ping timeout: 260 seconds]
<stephank>
patagonicus: You can combine system and user config in a single evaluation using the NixOS module at `<home-manager/nixos>` (or nix-darwin). That should allow you to do it, I think? (But don't know a way if you want to keep them separate.)
niacdoial has joined #home-manager
<patagonicus>
stephank: I guess I can also just import the Nixos config in my home-manager config, but I somewhat expected it to be present. But thinking about it I don't actually see a reason why.
<patagonicus>
Maybe I'll just put a file somewhere that just sets that setting, then I can import it from both nixos and home-manager config, without having to evaluate everything.
<stephank>
Ah, that also works, of course. :)
<patagonicus>
Even better, there's builtins.pathExists. So I can just use an empty file. :D
strikerer has joined #home-manager
strikerer has quit [Remote host closed the connection]
Edward- has joined #home-manager
Jezhehim[m] is now known as cipherrot
<rogerr>
rycee how can i find what unit xrdp (rdp server) uses?
Edward- has quit [Ping timeout: 256 seconds]
nf has quit [Quit: Fairfarren.]
nf has joined #home-manager
nf has quit [Client Quit]
nf has joined #home-manager
Edward- has joined #home-manager
eyJhb has quit [Quit: Clever message]
eyJhb has joined #home-manager
eyJhb has joined #home-manager
Edward_ has joined #home-manager
cole-h has joined #home-manager
Edward_ has quit [Remote host closed the connection]
Edward- has quit [Remote host closed the connection]
<patagonicus>
Ok, found a better solution to my hidpi problem - I just switched to sway/wayland instead of i3/x11. :)
<rogerr>
nice
cole-h has quit [Ping timeout: 264 seconds]
Edward- has joined #home-manager
Edward_ has joined #home-manager
Edward_ has quit [Remote host closed the connection]
Edward- has quit [Remote host closed the connection]
<matthewcroughan[>
Are there any config options to append to sway config?
<rogerr>
rycee ok i watched the systemd log for xrdp but didn't see anything informative
<matthewcroughan[>
Found it. `wayland.windowManager.sway.extraConfig`
<rogerr>
why doesn't `home.sessionPath = ["~/.local/share/foo/"];` work (echo $PATH doesn't show it in list) when i rdp into the system but it does when i ssh in? my rdp startwm.sh https://termbin.com/i1gq and .xprofile https://termbin.com/mcxp
<matthewcroughan[>
in my sway.nix, I set home.sessionVariables to a bunch of things, but when sway is launched from gdm, it is somehow bypassed.
<matthewcroughan[>
anyone understand why this might happen?
<rogerr>
are you ssh into the system or?
<rogerr>
because i have related problem: why doesn't `home.sessionPath = ["~/.local/share/foo/"];` work (echo $PATH doesn't show it in list) when i rdp into the system but it does when i ssh in? my rdp startwm.sh https://termbin.com/i1gq and .xprofile https://termbin.com/mcxp
<matthewcroughan[>
no, exactly what I said
<matthewcroughan[>
if I launch it directly with `sway` in a tty, it's fine. But if I launch it with gdm, it will not have those vars set.
<rogerr>
k
<rogerr>
might be same solution
__monty__ has quit [Quit: leaving]
<matthewcroughan[>
I think this gets a bit complex
<matthewcroughan[>
rycee:
<matthewcroughan[>
any ideas?
<matthewcroughan[>
I see no options for gdm in home-manager, but I do see wayland stuff