hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nix-darwin
hamishmack has quit [Client Quit]
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nix-darwin
hamishmack has quit [Client Quit]
andreabedini has joined #nix-darwin
matthewbauer has quit [Remote host closed the connection]
hamishmack has joined #nix-darwin
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andreabedini has joined #nix-darwin
Sonarpulse has joined #nix-darwin
johnw has quit [Read error: Connection reset by peer]
johnw has joined #nix-darwin
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andreabedini has joined #nix-darwin
Sonarpulse has quit [Ping timeout: 245 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nix-darwin
{^_^} has joined #nix-darwin
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
philr has joined #nix-darwin
hamishmack has joined #nix-darwin
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
philr has quit [Quit: WeeChat 2.1]
hamishmack has joined #nix-darwin
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nix-darwin
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nix-darwin
alexteves_ has joined #nix-darwin
jtojnar has quit [Ping timeout: 264 seconds]
jtojnar has joined #nix-darwin
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nix-darwin
jtojnar has quit [Quit: jtojnar]
Sonarpulse has joined #nix-darwin
matthewbauer has joined #nix-darwin
alexteves_ has quit [Remote host closed the connection]
elasticdog has quit [Ping timeout: 244 seconds]
elasticdog has joined #nix-darwin
philr has joined #nix-darwin
elasticdog has quit [Ping timeout: 276 seconds]
Sonarpulse has quit [Ping timeout: 260 seconds]
philr has quit [Ping timeout: 240 seconds]
elasticdog has joined #nix-darwin
<elvishjerricco>
Is there a way to create etc files with hard links instead of symlinks or something? I'm trying to use nix-darwin to automate /etc/hosts, but the only reason it doesn't work is because macOS ignores the file if it is a symlink
<LnL>
meh, there are other things that don't like symlinks either
<LnL>
the indirect links to static are also used for bookkeeping at the moment
<elvishjerricco>
LnL: So do you know a way to set this file with nix-darwin?
<LnL>
you could copy it yourself with a custom step, but that's about it
<elvishjerricco>
LnL: Sounds like an alright plan. I'll tag the top of the file with its store path and check that the file's contents are identical to its tagged store path before overwriting
matthewbauer has quit [Read error: Connection reset by peer]
<elvishjerricco>
LnL: Yea, if you think that implementation is good, I'll open a PR with it
matthewbauer has joined #nix-darwin
matthewbauer has quit [Read error: Connection reset by peer]
matthewbauer has joined #nix-darwin
<LnL>
maybe some nitpicks, and a basic test would be nice
<LnL>
we can't start a vm like the nixos tests, but they do check some basic stuff like does everything still evaluate ok if the options are actually enabled
Sonarpulse has quit [Ping timeout: 240 seconds]
matthewbauer has quit [Ping timeout: 256 seconds]
matthewbauer has joined #nix-darwin
matthewbauer has quit [Ping timeout: 245 seconds]
matthewbauer has joined #nix-darwin
matthewbauer has quit [Read error: Connection reset by peer]