ChanServ changed the topic of #home-manager to: Support and discussion around the Home Manager project (https://github.com/nix-community/home-manager) | Logs: https://logs.nix.samueldr.com/home-manager
mcornick has quit [Quit: brb]
mcornick has joined #home-manager
rajivr has joined #home-manager
mcornick has quit [Quit: zzz]
justanotheruser has quit [Ping timeout: 240 seconds]
justanotheruser has joined #home-manager
justanotheruser has quit [Ping timeout: 260 seconds]
justanotheruser has joined #home-manager
AlpineLlama has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
AlpineLlama has joined #home-manager
romanofski has quit [Ping timeout: 256 seconds]
ronthecookie has quit [Excess Flood]
ronthecookie has joined #home-manager
romanofski has joined #home-manager
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #home-manager
cole-h has quit [Ping timeout: 245 seconds]
patagonicus has quit [Quit: The Lounge - https://thelounge.chat]
patagonicus has joined #home-manager
__monty__ has joined #home-manager
ronthecookie has quit [Excess Flood]
ronthecookie has joined #home-manager
<infinisil> siraben: the lists length is evaluated when accessing any element
heywoodlh has quit [Quit: ZNC 1.8.2 - https://znc.in]
heywoodlh has joined #home-manager
cole-h has joined #home-manager
pinage404[m]1 has quit [Quit: Idle for 30+ days]
<madonius[m]> is there any way to tell the home-manager to automatically update?
<SumnerEvans[m]> I don't see any such options, but you could just create your own systemd service for that.
<madonius[m]> well nixos itself has such a functionality
<madonius[m]> but yeah, I will have a look into it
<madonius[m]> cause it bugs me :/
heywoodlh has left #home-manager [#home-manager]
AlpineLlama has quit [Ping timeout: 256 seconds]
ardumont has quit [Ping timeout: 264 seconds]
theduke1 has joined #home-manager
<patagonicus> madonius[m]: The NixOS functionality is just a simple systemd unit that calls nixos-rebuild (with a tiny bit of logic to figure out if a reboot is needed) + a timer. You can use systemd.user.services and systemd.user.timers to build that in home-manager for calling `home-manager switch`.
alienpirate51 has joined #home-manager
immae1 has joined #home-manager
theduke has quit [Ping timeout: 265 seconds]
tristan[m] has quit [Ping timeout: 265 seconds]
alienpirate5 has quit [Ping timeout: 265 seconds]
justanotheruser has quit [Ping timeout: 265 seconds]
immae has quit [Ping timeout: 265 seconds]
<__monty__> You'd also have to update the channels.
<__monty__> Though I guess the NixOS service may take care of that if it's enabled?
tristan[m] has joined #home-manager
ardumont has joined #home-manager
<patagonicus> It uses `--upgrade` for `nixos-rebuild`. I don't think that one updates user channels, so, yeah, you'll want to do a `nix-channel --update`, optionally with the channel name you use for home-manager.
Lord_Devi has joined #home-manager
<Lord_Devi> Hello excellent ppl. New NixOS user here with a question about home-manager's NixOS module installation method. I have my configuration.nix installing home-manager as a NixOS module just great now. Working fine. But the next peice of the puzzle for me I'm having a tough time with. I want configuration.nix to not just install 'home-manager' for my user, but to also pull down my users
<Lord_Devi> 'home-manager' configuration when building a new system. Can anyone give me pointers about what the best approach for achieving this might be?
<Lord_Devi> I've spent quite a bit of time going through other people's .nix configurations to try and figure that part out, but can't find any examples of anyone else doing that. Seems like most people want to do the NixOS install in 2 parts. 1. Install the OS, 2. Install home-manager and setup a user profile. Would be so much cooler to just have configuration.nix chain off to home-manager to do its
<Lord_Devi> thing I'm thinking.
<ScottHDev5> Nixos os system configuration shouldn't touch anything in /home
<ScottHDev5> but you could configure a startup script to do so
<Lord_Devi> So that's why I am not finding examples of other people doing that. It's part of the Nix way of doing things. Not letting configuration.nix do /home stuff... Ok ok. I was wondering about that.
<nicolas[m]> When using Home Manager as a NixOS/Darwin module, you can set a user's configuration with `home-manager.users.<name>`
<Lord_Devi> Thanks Scott.
<Lord_Devi> Yeah I have the NixOS module JUST installing pkgs.home-manager through the use of home-manager.use* declarations.
<Lord_Devi> So really, the best approach IS to keep this a 2 step process? (Setting up a new nix machine.)
<Lord_Devi> 1. Install the OS. 2. Login as a user, and load up home-manager to pull down the user config?
<__monty__> I don't think you have to. Though, why not include your HM configuration in the repo with your NixOS configuration at that point?
<Lord_Devi> nicolas: Yeah thanks. I managed to get that part working, but I wasn't trying to handle ALL of my users config from the NixOS home-manager module. I just wanted NixOS to install home-manager FOR me, and then to have home-manager 'instantiate' my custom user environment on build through the use of the actual home-manager command. So I have access to all its features and such.
justanotheruser has joined #home-manager
<Lord_Devi> Yeah ok. Alright monty.
<Lord_Devi> I think you guys are right, I should just drop this idea of chaining the two. I've seen plenty of examples with neat little scripts they've dumped into a remote URL they can call with something like "sh https://mydom.com/installhome.sh" kind of stuff. I think maybe I'll take that approach instead.
rajivr has quit [Quit: Connection closed for inactivity]
heywoodlh has joined #home-manager
justanotheruser has quit [*.net *.split]
ardumont has quit [*.net *.split]
khassanov has quit [*.net *.split]
siraben has quit [*.net *.split]
NobbZ[m] has quit [*.net *.split]
ardumont has joined #home-manager
NobbZ[m] has joined #home-manager
siraben has joined #home-manager
khassanov has joined #home-manager
siraben has quit [Max SendQ exceeded]
justanotheruser has joined #home-manager
stites[m] has quit [Ping timeout: 240 seconds]
rycee has quit [Ping timeout: 240 seconds]
kalbasit[m] has quit [Ping timeout: 240 seconds]
slby[m] has quit [Ping timeout: 240 seconds]
snbbuny[m] has quit [Ping timeout: 244 seconds]
pisquo[m] has quit [Ping timeout: 244 seconds]
ollijh[m] has quit [Ping timeout: 244 seconds]
aaronjanse has quit [Ping timeout: 244 seconds]
matthewcroughan[ has quit [Ping timeout: 244 seconds]
Asbjrn[m] has quit [Ping timeout: 244 seconds]
DamienCassou has quit [Ping timeout: 244 seconds]
Guest68587 has quit [Ping timeout: 244 seconds]
bbigras has quit [Ping timeout: 244 seconds]
mjlbach has quit [Ping timeout: 241 seconds]
philipp[m]1 has quit [Ping timeout: 241 seconds]
freeman42x[m] has quit [Ping timeout: 241 seconds]
tcakoi has quit [Ping timeout: 241 seconds]
aharris[m] has quit [Ping timeout: 241 seconds]
chvp has quit [Ping timeout: 241 seconds]
Dandellion has quit [Ping timeout: 241 seconds]
yisraeldov has quit [Ping timeout: 249 seconds]
Ke has quit [Ping timeout: 249 seconds]
Ox4A6F has quit [Ping timeout: 249 seconds]
Ericson2314 has quit [Ping timeout: 249 seconds]
hpfr has quit [Ping timeout: 249 seconds]
jschievink has quit [Ping timeout: 249 seconds]
SumnerEvans[m] has quit [Ping timeout: 247 seconds]
emily has quit [Ping timeout: 247 seconds]
colemickens has quit [Ping timeout: 247 seconds]
maralorn has quit [Ping timeout: 247 seconds]
tristan[m] has quit [Ping timeout: 264 seconds]
theduke1 has quit [Ping timeout: 268 seconds]
humancalico[m] has quit [Ping timeout: 268 seconds]
petrichor has quit [Ping timeout: 268 seconds]
jonge[m] has quit [Ping timeout: 268 seconds]
dash has quit [Ping timeout: 246 seconds]
madonius[m] has quit [Ping timeout: 246 seconds]
immae1 has quit [Ping timeout: 258 seconds]
nicolas[m] has quit [Ping timeout: 244 seconds]
danielrf[m] has quit [Ping timeout: 258 seconds]
NobbZ[m] has quit [Ping timeout: 265 seconds]
khassanov has quit [Ping timeout: 265 seconds]
alienpirate51 has quit [Ping timeout: 240 seconds]
mjlbach has joined #home-manager
<__monty__> Lord_Devi: I'd simply try out the idea. If it doesn't work we'll all have a good reason to tell people why not in the future. If it does work maybe others will adopt it. Though I still think maintaining two repos in sync is probably more trouble for no benefit.
<Lord_Devi> I love 'fire and forget' technologies for sure. :P
Dandellion has joined #home-manager
kalbasit[m] has joined #home-manager
emily has joined #home-manager
rycee has joined #home-manager
Ericson2314 has joined #home-manager
slby[m] has joined #home-manager
Asbjrn[m] has joined #home-manager
humancalico[m] has joined #home-manager
siraben has joined #home-manager
philipp[m]1 has joined #home-manager
alienpirate5 has joined #home-manager
jonge[m] has joined #home-manager
bbigras has joined #home-manager
colemickens has joined #home-manager
tristan[m] has joined #home-manager
madonius[m] has joined #home-manager
immae has joined #home-manager
maralorn has joined #home-manager
stites[m] has joined #home-manager
nicolas[m] has joined #home-manager
Ke has joined #home-manager
tcakoi has joined #home-manager
danielrf[m] has joined #home-manager
chvp has joined #home-manager
NobbZ[m] has joined #home-manager
hpfr has joined #home-manager
Guest57260 has joined #home-manager
jschievink has joined #home-manager
dash has joined #home-manager
Ox4A6F has joined #home-manager
aharris[m] has joined #home-manager
petrichor has joined #home-manager
DamienCassou has joined #home-manager
pisquo[m] has joined #home-manager
yisraeldov has joined #home-manager
SumnerEvans[m] has joined #home-manager
theduke has joined #home-manager
matthewcroughan[ has joined #home-manager
freeman42x[m] has joined #home-manager
ollijh[m] has joined #home-manager
aaronjanse has joined #home-manager
snbbuny[m] has joined #home-manager
khassanov has joined #home-manager
aforemny_ has joined #home-manager
drakonis- has joined #home-manager
drakonis has quit [Ping timeout: 256 seconds]
aforemny has quit [Ping timeout: 256 seconds]
madonius has quit [Ping timeout: 256 seconds]
drakonis- is now known as drakonis
madonius has joined #home-manager
justan0theruser has joined #home-manager
justanotheruser has quit [Ping timeout: 260 seconds]
aforemny_ has quit [Ping timeout: 264 seconds]
ryantrinkle has quit [Ping timeout: 264 seconds]
aforemny has joined #home-manager
ryantrinkle has joined #home-manager
malorie has joined #home-manager
cole-h has quit [Ping timeout: 256 seconds]
cole-h has joined #home-manager
ryantrinkle has quit [*.net *.split]
energizer has quit [*.net *.split]
lovesegfault has quit [*.net *.split]
V has quit [*.net *.split]
lovesegfault has joined #home-manager
ryantrinkle has joined #home-manager
nf has quit [Quit: Fairfarren.]
nf has joined #home-manager
V has joined #home-manager
energizer has joined #home-manager
slby[m] has quit [Quit: authenticating]
slby[m] has joined #home-manager
romanofski has quit [Ping timeout: 245 seconds]
romanofski has joined #home-manager
__monty__ has quit [Quit: leaving]
s1341_ has quit [Quit: Connection closed for inactivity]
justan0theruser has quit [Ping timeout: 264 seconds]
mcornick has joined #home-manager
malorie has quit [Quit: Connection closed]