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
cyphase has quit [Ping timeout: 265 seconds]
cole-h has quit [Quit: Goodbye]
cole-h has joined #home-manager
cyphase has joined #home-manager
cole-h has quit [Ping timeout: 260 seconds]
ReqGame has joined #home-manager
ReqGame has quit [Quit: WeeChat 2.7.1]
ldlework has joined #home-manager
<ldlework> Is there no way to set permissions on files created with `home.file` in home-managers?
<ldlework> I'm not seeing anything here: https://rycee.gitlab.io/home-manager/options.html
<Ke> I know nothing about hm, but traditionally nix places all files in /nix/store world readable form and can not be used to manage secrets
<Ke> my imagination says hm probably just does nix derivation builds and links them to your home
<Ke> not sure, if there is something like environment.etc."filename".source, where you could create a symlink to an arbitrary target
cole-h has joined #home-manager
dermetfan has joined #home-manager
colemickens has quit [Quit: killed]
Notkea[m] has quit [Quit: killed]
maralorn has quit [Quit: killed]
siraben has quit [Quit: killed]
Dandellion has quit [Quit: killed]
enick_301 has quit [Quit: killed]
NobbZ[m] has quit [Quit: killed]
philipp[m] has quit [Quit: killed]
JJJollyjim has quit [Quit: killed]
rschulman has quit [Quit: killed]
Ox4A6F has quit [Quit: killed]
jonge[m] has quit [Quit: killed]
Ke has quit [Quit: killed]
Ericson2314 has quit [Quit: killed]
DamienCassou has quit [Quit: killed]
bbigras has quit [Quit: killed]
ZerataX has quit [Quit: killed]
theduke has quit [Quit: killed]
alexarice[m] has quit [Quit: killed]
Jezhehim[m] has quit [Quit: killed]
aterius has quit [Quit: killed]
benkolera has quit [Quit: killed]
dash has quit [Quit: killed]
SumnerEvans[m] has quit [Quit: killed]
rycee has quit [Quit: killed]
tristan[m] has quit [Quit: killed]
jschievink has quit [Quit: killed]
aaronjanse has quit [Quit: killed]
pinage404[m] has quit [Quit: killed]
khassanov[m] has quit [Quit: killed]
nicolas[m] has quit [Quit: killed]
hpfr has quit [Quit: killed]
philipp[m] has joined #home-manager
jonge[m] has joined #home-manager
jschievink has joined #home-manager
Ericson2314 has joined #home-manager
JJJollyjim has joined #home-manager
benkolera has joined #home-manager
colemickens has joined #home-manager
SumnerEvans[m] has joined #home-manager
aaronjanse has joined #home-manager
bbigras has joined #home-manager
enick_241 has joined #home-manager
pinage404[m] has joined #home-manager
Notkea[m] has joined #home-manager
Ox4A6F has joined #home-manager
NobbZ[m] has joined #home-manager
theduke has joined #home-manager
aterius has joined #home-manager
siraben has joined #home-manager
hpfr has joined #home-manager
Ke has joined #home-manager
rycee has joined #home-manager
rschulman has joined #home-manager
Dandellion has joined #home-manager
maralorn has joined #home-manager
DamienCassou has joined #home-manager
dash has joined #home-manager
khassanov[m] has joined #home-manager
ZerataX has joined #home-manager
Jezhehim[m] has joined #home-manager
tristan[m] has joined #home-manager
nicolas[m] has joined #home-manager
alexarice[m] has joined #home-manager
dermetfan has quit [Ping timeout: 272 seconds]
khassanov[m] has quit [*.net *.split]
hpfr has quit [*.net *.split]
liff has quit [*.net *.split]
liff has joined #home-manager
tyxie has joined #home-manager
khassanov[m] has joined #home-manager
hpfr has joined #home-manager
maxsc has joined #home-manager
cole-h has quit [Ping timeout: 260 seconds]
dsal has quit [Ping timeout: 260 seconds]
dsal has joined #home-manager
<Jezhehim[m]> yup, that's how hm works: everything in `home.file` is copied to the nix store (where it is read-only) and symlinked into place
<Jezhehim[m]> take a look at `/nix/store/*-home-manager-path` after running `home-manager switch`
__monty__ has joined #home-manager
maxsc has quit [Ping timeout: 260 seconds]
dermetfan has joined #home-manager
dermetfan has quit [Remote host closed the connection]
dermetfan has joined #home-manager
dermetfan has quit [Ping timeout: 272 seconds]
<joesventek> I'm currently playing with the HM module of impermanence and kinda got it working. Unfortunately all the bind mounts for persistent directories get stopped by systemd as soon as I do a graphical login.
<joesventek> Any ideas what could cause that?
dermetfan has joined #home-manager
<siraben> How do I delete all home-manager generations except the latest one?
<__monty__> nix-env --delete-generations +1?
<siraben> __monty__: but those are the nix-env generations, right? not the home-manager ones
<__monty__> HM generations are part of those. It's the system generations that are usually separate.
<dutchie> you could point it at home-manager iwth -p
<dutchie> if it doesn't pick them up properly
__monty__ has quit [Quit: leaving]
cyphase has quit [Ping timeout: 258 seconds]
o1lo01ol_ has quit [Ping timeout: 256 seconds]
cole-h has joined #home-manager
cyphase has joined #home-manager
tyxie has quit [Remote host closed the connection]
<theduke> Hey there. I'm trying install home-manager on a new system with my existing config.
<theduke> And I'm running into problems.
<theduke> The first one: during installation, multiple packages are not found. Those packages are available on unstable, but not on stable.
<theduke> The NixOS setup is on stable, but for my user I added the unstable channel.
<theduke> Do I need to do something to make home-manager use unstable?
<rycee> theduke: Does `nix-instantiate --eval -E '(<nixpkgs>)'` indicate the system nixpkgs or the user one?
<theduke> <rycee "theduke: Does `nix-instantiate -"> Ah, no, for some odd reason it actually shows the root user
<theduke> `/nix/var/nix/profiles/per-user/root/channels/nixos`
<rycee> theduke: Is the channel you added to the user present in `~/.nix-defexpr/channels`?
<rycee> And is `~/.nix-defexpr/channels` present in `echo $NIX_PATH`.
<rycee> Also, avoid Matrix features like replies since this channels is bridged with IRC.
<theduke> Ah, will do.
<theduke> Yes to both. `/home/user/.nix-defexpr/channels` is the first entry in `$NIX_PATH`. And both home-manager and the unstable nixos are in .nix-defexpr.
<theduke> NIX_PATH does say `:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos` though.
<theduke> Ah, that's the same on my other system, so that seems to be normal.
<theduke> Ah, but on the other system the system itself is using unstable, not stable.
<rycee> Right, then that might override the one in `.nix-defexpr/channels`?
<rycee> You could try `NIX_PATH=$NIX_PATH:nixpkgs=/home/user/.nix-defexpr/channels/nixpkgs nix-instantiate --eval -E '(<nixpkgs>)'`
<theduke> clear
<theduke> That didn't help.
<theduke> Mhm, thanks for the advice. I'm kind fo in a hurry so I just switched the whole system to unstable for now. I'll investigate more when I have some time.
<rycee> Then can try `NIX_PATH=nixpkgs=/home/user/.nix-defexpr/channels/nixpkgs:$NIX_PATH nix-instantiate --eval -E '(<nixpkgs>)'`
<rycee> (putting nixpkgs= at the front of NIX_PATH)
<theduke> Will do. Haha I didn't realize how long a full build with things like emacs, vim and VS Code plugins actually takes.
<zmacs> Can I avoid to relogin after nix-shell '<home-manager>' -A install? I'm setting up a CI build and relogin after install is no option.
dermetfan has quit [Ping timeout: 260 seconds]
evalexpr has quit [Read error: Connection reset by peer]
evalexpr has joined #home-manager