<{^_^}>
error: syntax error, unexpected OR_KW, at (string):308:1
<adisbladis>
Raito_Bezarius: I'd be more inclined to explore this to support other kernels than supporting openrc
<cole-h>
> [] or []
<{^_^}>
attempt to call something which is not a function but a list, at (string):308:1
<clever>
energizer: not sure why the bot is behaving differently, but the or keyword only works after a set
<Raito_Bezarius>
adisbladis: I'm not that keen on supporting openrc
<Raito_Bezarius>
But I have to admit
<adisbladis>
I know of a certain payment company using Nix on FreeBSD generating jails and all sort of crazy things
<Raito_Bezarius>
services.init = "static";
<clever>
> let foo = { a = 1; }; in foo.b or "fallback"
proofofkeags has joined #nixos
<{^_^}>
"fallback"
proofofkeags has quit [Remote host closed the connection]
<energizer>
nix-repl> {} or {} -> error: undefined variable 'or' at (string):1:1
<Raito_Bezarius>
and just generate a static init would be super interesting
<clever>
energizer: when a given attrpath isnt found, the or uses the fallback
<Raito_Bezarius>
adisbladis: wow
proofofkeags has joined #nixos
<Raito_Bezarius>
my dream would be to explore Nix(OS)+microkernels
<cole-h>
> { a = "a"}.b or "smile"
<{^_^}>
error: syntax error, unexpected '}', expecting ';', at (string):308:10
<cole-h>
woops
<cole-h>
> { a = "a"; }.b or "smile"
<{^_^}>
"smile"
<adisbladis>
Raito_Bezarius: This "certain payment company" is by my rough estimates the biggest payment company on planet earth
<cole-h>
:D
<clever>
Raito_Bezarius: have you seen not-os?
<Raito_Bezarius>
adisbladis: what
<clever>
Raito_Bezarius: and haskell-init?
<Raito_Bezarius>
clever: I have read those two! I really enjoyed them!!
mbrgm_ has joined #nixos
<Raito_Bezarius>
Was wondering whether it was possible to go further and use seL4/formally proved stuff
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
<Raito_Bezarius>
Once I have more time, I also want to see whether it's possible to formally prove in Lean|Coq some stuff about Nix
<notgne2>
most of the work I do at my company at the moment is just turning everything into Nix, including stuff like packaging, tests, docker image generation, and dev environments
<clever>
because sata uses /dev/sda1, but nvme uses /dev/nvme0n1p1
<clever>
and now you need to insert a p between device and partition!
<Raito_Bezarius>
recently, I used a lot nixops+nixos qemu, it works pretty great, I've wrote some basic wireguard layer and it enables to test small infrastructure quite easily
<Raito_Bezarius>
nothing that fancy :P ; but for some work, they didn't have proper private networking, so I tried to write something that put WireGuard as private networking layer with minimal assumptions and hardcoding
<adisbladis>
But wireguard
<qyliss>
I'd like to add an option to mount a directory in over 9p, and then it should be enough to satisfy my testing needs for a while
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<Raito_Bezarius>
I just need proper nixops support to have the missing stuff which I unfortunately hardcode at the top-level
<qyliss>
ooh the indentation is all wrong
<Raito_Bezarius>
but I'd love to contribute to nixops-encrypted-links for WireGuard
<Raito_Bezarius>
I'm keeping an eye on how NixOps 2.0 move
<adisbladis>
=)
<Raito_Bezarius>
but automagic WireGuard is going to be such a killer-feature
<clever>
that reminds me, i was thinking about how wireguard would work in nixops
<clever>
to do it "securely", you would want to copy-closure the wireguard binary to the remote machines, and run the keygen commands over ssh, storing the secret remotely, and public in the nixops state
<clever>
and only then, can you build the deployment (and bake pubs into everything), and deploy nixos to each
<clever>
so the central box never knows the secrets
<Raito_Bezarius>
That'd be super cool, indeed
lamba has joined #nixos
<adisbladis>
We're on the same page =)
dingenskirchen has quit [Read error: Connection reset by peer]
<clever>
and you cant assume wg is in $PATH before you deploy, so you have to copy-closure it first
<lamba>
woops
<lamba>
by mistake
<adisbladis>
clever: No time like the present. We're figuring out what plugin hooks we need for 2.0 right now.
smatting_ has quit [Ping timeout: 260 seconds]
<Raito_Bezarius>
Also, wonder how does nixops handle kernel reboot?
<clever>
Raito_Bezarius: --force-reboot
<Raito_Bezarius>
I have seen that the current nixops does not know when to reboot apparently with respect to wireguard
lamba has quit [Remote host closed the connection]
<Raito_Bezarius>
clever: Yes, that seems like the only choice
<clever>
Raito_Bezarius: there is partial support for auto reboot, one min
HeN has quit [Quit: Connection closed for inactivity]
<Raito_Bezarius>
IMHO, that would be a "nice-to-have" to know that you need to pull the kernel module for WG and reboot it to make it work, otherwise you have the ugly nixops deployment failure
<{^_^}>
#10726 (by copumpkin, 4 years ago, open): live kernel patching using kexec
<Raito_Bezarius>
clever: but what if, conf A does not include WireGuard, but conf A' includes WireGuard
<Raito_Bezarius>
and you do A → A'
<Raito_Bezarius>
energizer: :D
<clever>
Raito_Bezarius: if A and A' use the same kernel version, it will load just fine
<Raito_Bezarius>
energizer: how much kexec for production is stable nowadays?
<gchristensen>
energizer: as soon as some co wants to pay the 7 figures that'll cost to maintain ... ;p
<Raito_Bezarius>
clever: indeed
<adisbladis>
And if someone has 7 figures and want to spend it I know of a certain bank account that could use some more
<clever>
Raito_Bezarius: when the kernel versions desync, modprobe starts using /run/booted-system/ to find kernel modules, so it can reference the nixos it had booted from (with the older kernel stuff)
<Raito_Bezarius>
My objective is to replace Kubernetes by NixOps
<clever>
Raito_Bezarius: when you run this, the -I nixpkgs=... gets recorded to the nixops state file
<adisbladis>
Umm
* gchristensen
sips a manhattan
<mamo>
hi every one , i decided to give nixos a try so i have a small question
<clever>
Raito_Bezarius: and it will then persist for all deploys
<gchristensen>
mamo: welcome!
* bqv
sips wine
<Raito_Bezarius>
clever: nice for the nixpkgs trick, I have a nix-shell which pin nixpkgs for that, I also have custom patches to nixops-aws so I need the nix-shell
<bqv>
this is the perfect state to be ripping systemd out of nixpkgs in
<Raito_Bezarius>
bqv: :'DDDD
<clever>
bqv: not-os already ripped the systemd out :P
<bqv>
wait huh
<bqv>
really
<{^_^}>
[nixpkgs] @worldofpeace opened pull request #86368 → nixos/doc/releases: update the docs as promised → https://git.io/JfYSe
<mamo>
do i have to make all the configuration in the configuration.nix file or i can configure some stuff later with gui tools provided with kde or gnome ?
<Raito_Bezarius>
bqv: welcome in the future
<bqv>
well, in fairness i was intending to rip it out and replace it with s6
<Raito_Bezarius>
mamo: you're not forced to do everything in config.nix
<bqv>
so there's still a fair bit of work
<bqv>
but this makes things considerably easier
<Raito_Bezarius>
mamo: but note that stuff configured out of nix will maintain some "state"
<Raito_Bezarius>
mamo: take your ~/.config for example
<Raito_Bezarius>
mamo: this can be too managed by home-manager & extra efforts
<Raito_Bezarius>
(gnome is mostly configured using dconf for example)
<adisbladis>
mamo: I have pretty much no idea how Gnome works
<simpson>
mamo: There's tools like https://github.com/pmiddend/nixos-manager for GUI configuration, but you *will* have to get used to configuration.nix and writing Nix expressions.
<adisbladis>
But KDE is a stateful mess, so sure, configure KDE via gui :P
hlisp has quit [Ping timeout: 260 seconds]
turona has joined #nixos
<Raito_Bezarius>
gnome can be more or less managed by nix with enough efforts (through dconf)
<worldofpeace>
this is true, as one of the resident gnome experts ^
thc202 has quit [Ping timeout: 244 seconds]
<worldofpeace>
though, both kde and gnome have a javascript api one could use/abuse
<Raito_Bezarius>
i'm no gnome expert though so pretty happy to not be that far from reality
<adisbladis>
worldofpeace: You're reminding me that I want to use kwin but manage that with emacs through the js api
<mamo>
so for example i can add a keyboard layout later with whatever tools provided with kde/gnome without problems?
<Raito_Bezarius>
mamo: you can
<Raito_Bezarius>
but remember that for example, your TTY keyboard layout is not managed by kde/gnome AFAIK
<mamo>
thanks guys , you're really helpful
<simpson>
mamo: For keyboards in particular, you may want to double-check your layout during installation, so that you don't have an unpleasant surprise if you have non-QWERTY.
<energizer>
out of curiosity, is anybody using dhall for their nix config?
hlisp has joined #nixos
<clever>
energizer: i went the reverse, i replaced the dhall config stuff with nix, lol
<energizer>
haha, i *like* types :)
<worldofpeace>
adisbladis: I think one could take that as a general rule 😂
<Raito_Bezarius>
:'D
<bqv>
energizer: it doesn't make sense to yet, since dhall is missing some capabilities of nix
<adisbladis>
worldofpeace: I don't know :) I've done a lot of crypto in js/ecma and somehow oddly enjoyed it
<energizer>
bqv: oh, which?
<bqv>
well, variadic functions, for one
<simpson>
energizer: I gave it a whirl. Couldn't quite feel comfortable. But I'm glad that the opportunity is there and that folks are paying attention.
<bqv>
callPackage just *does not work* :p
<Raito_Bezarius>
but is callPackage something that must be kept? :-°
<bqv>
if you like the idea of using nixpkgs, yes :D
<Raito_Bezarius>
I'm pretty excited the next iteration of the Nix language
<bqv>
(at least for the forseeable future)
<Raito_Bezarius>
+to see
<bqv>
yeah, same
<bqv>
(to be honest, if there was any chance of dhall even being remotely viable for a full config, i'd be there already)
m0rphism has quit [Ping timeout: 256 seconds]
soju has quit [Quit: Connection closed for inactivity]
hlisp has quit [Ping timeout: 264 seconds]
iyzsong has joined #nixos
<energizer>
would be really cool to be passing around objects of type OperatingSystem
<energizer>
simpson: do you have any public commits that use dhall in a config?
<Raito_Bezarius>
adisbladis: but did you enjoy the broken CSPRNG? :P
<simpson>
energizer: Nope, sorry. I don't even have any private commits.
<Raito_Bezarius>
(i guess V8's CSPRNG must be good nowadays)
<bqv>
lewo: hello
* Raito_Bezarius
sips coca
<bqv>
lewo: i don't know how keyed in you are to the dev of next-browser
<Raito_Bezarius>
(late/20)
<bqv>
lewo: it'd be nice to get the quicklisp deps of next 2.0 in now so that the imminent update is easier
<bqv>
(and so that i can override the version locally to test stuff)
<bqv>
((quicklisp is suffering)
<bqv>
)
<bqv>
lewo: fwiw, i would do this myself, but every time i try and touch lispPackages it ends in something being on fire
<bqv>
if anyone else knows how to sufficiently fiddle lispPackages, i can provide the list of new packages
<energizer>
huh. how does next-browser compare to qutebrowser?
<adisbladis>
Raito_Bezarius: I didn't generate keys with js :P
organixpear has joined #nixos
<adisbladis>
Mostly signature verification & stuff like this
<bqv>
lewo: packages to be added = cl-cffi-gtk cl-markup cl-webengine cl-webkit2 enchant moptilities trivial-features trivial-main-thread trivial-package-local-nicknames uiop
Wizek has quit [Quit: Connection closed for inactivity]
<bqv>
energizer: i'd love to tell you, but i'm having trouble attempting to use a recent commit!
<bqv>
and 1.5.0 was *ages* ago at this point
<bqv>
so i have no idea what a recent version looks like
<{^_^}>
[mobile-nixos] @samueldr pushed 3 commits to master: https://git.io/JfYSQ
markus1199 has joined #nixos
proofofkeags has joined #nixos
<Raito_Bezarius>
adisbladis: if you still have some neurons to spare, do you have any quick idea of why I have this error: https://github.com/nix-community/poetry2nix/pull/94/checks ? I'm looking everywhere in the code and I don't understand what triggers the build of python3.7-bootstrapped-pip-20.0.2 nor how can I understand how it is working
organixpear has quit [Remote host closed the connection]
markus1189 has quit [Ping timeout: 244 seconds]
<Raito_Bezarius>
as far as I understand it, the wheel package is in wheel format and we're running in format="setuptools", so it's complaining
<thongpv87>
I can not start run GUI app installed using nix, like emacs or dbeaver. I always get this error: `Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf` :(
Jonathan11 has joined #nixos
<cole-h>
thongpv87: You need to set your FONTCONFIG_FILE env var to be the fontconfig from nix
<clever>
thongpv87: if you enable fontcont in nixos, it will generate a /etc/fonts for you
h0m1 has joined #nixos
<clever>
fonts.fontconfig.enable
<thongpv87>
I don't use nixos but I'm using home-manager on ubuntu. I think home-manager will generate font config into ~/.config/fontconfig
<thongpv87>
Because ubuntu default fontconfig are really good, so I want to keep it.
proofofkeags has joined #nixos
hlisp has quit [Ping timeout: 244 seconds]
mac10688 has joined #nixos
thongpv87 has quit [Ping timeout: 244 seconds]
thongpv87 has joined #nixos
hlisp has joined #nixos
<Raito_Bezarius>
okay got it
<Raito_Bezarius>
it's due to the overrides.nix for wheel
<Raito_Bezarius>
debugging override interaction is somewhat painful
drakonis has quit [Read error: Connection reset by peer]
sigmundv_ has quit [Ping timeout: 256 seconds]
mac10688 has quit [Ping timeout: 260 seconds]
<simpson>
Raito_Bezarius++ for linking that OpenBSD discussion. I kept reading, and in https://marc.info/?l=openbsd-misc&m=119334473423638&w=2 you can see, literally a decade ahead of time, the philosophical seeds that led to AWS having to reboot all of their Xens a while back.
<{^_^}>
Raito_Bezarius's karma got increased to 2
<Raito_Bezarius>
simpson: you're welcome :), happy that you had a nice read
<simpson>
Interesting not just for sysadmins, but also for kernel hackers and distro maintainers like us.
<Raito_Bezarius>
adisbladis: i fixed most of the issues I had
<Raito_Bezarius>
when I encountered the famous
<Raito_Bezarius>
pip impossible-to-solve error
<Raito_Bezarius>
ERROR: Could not find a version that satisfies the requirement tensorflow-estimator<2.2.0,>=2.1.0rc0 (from tensorflow==2.1.0) (from versions: none)
felixfoertsch23 has joined #nixos
<Raito_Bezarius>
I don't know if poetry is doing something wrong or classical pip difficulties or just TensorFlow maintainers which reinvented something again
<Raito_Bezarius>
asking for ≥ 2.1.0rc0 and < 2.2.0 when poetry give me 2.2.0rc0 should just work I suppose
felixfoertsch has quit [Ping timeout: 260 seconds]
felixfoertsch23 is now known as felixfoertsch
mrpi has quit [Quit: killed]
das_j has quit [Quit: killed]
ajs124 has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
Scriptkiddi has joined #nixos
das_j has joined #nixos
mrpi has joined #nixos
ajs124 has joined #nixos
<{^_^}>
[nixpkgs] @chip4 opened pull request #86371 → nodePackages.snowpack: init at 1.7.1 → https://git.io/JfYQs
<Raito_Bezarius>
downgrading tensorflow-estimator to 2.1.0rc0 worked until
<Raito_Bezarius>
collision between `/nix/store/mcpaar7dgvpr5c5am37qk947l2ym7dn1-python3.7-tensorflow-2.1.0/bin/.tensorboard-wrapped' and `/nix/store/nvrvpw70n81r3hm30dvp5qsllvayxiis-python3.7-tensorboard-2.1.1/bin/.tensorboard-wrapped'
<metasyntactical>
Hey, 2 questions. (1) I appear to have filled up my /boot and can't rebuild anymore without an error. I tried nix-collect-garbage -d and that freed up a ton of disk space, but /boot is still full. Any suggestions?
hlisp_ has quit [Remote host closed the connection]
<clever>
but thats only partially of use, because 10 generations could share a single kernel/initrd, or they might wind up with 10 different ones of each
<clever>
Raito_Bezarius: and if you want to make the free space on /boot even worse!, this will build a 2nd nixos, and jam it into /boot and your grub menu, using the same netboot stuff i talked about earlier
metasyntactical has joined #nixos
<clever>
it operates entirely from ram, and is isolated from your / partition, so it can act like a rescue env
<metasyntactical>
my second problem is why I’m now connecting from my phone
<clever>
Raito_Bezarius: but by default, it shares the same <nixpkgs> as the main nixos, and will rebuild every time, so bugs within nixpkgs itself (or the kernel, or other stuff) can break the rescue env
<metasyntactical>
I switched to network manager instead of a hard coded WiFi WPA password and network manager is claiming that my WiFi passwords aren’t correct but they are
<metasyntactical>
and of course I garbage collected out my config that had working WiFi so now I can’t rebuild without a network
<Raito_Bezarius>
clever: :/
<Raito_Bezarius>
metasyntactical: what does journalctl says about this?
<Raito_Bezarius>
do you still have a wpa_supplicant?
<clever>
metasyntactical: are you able to just plug in an ethernet cable?
<metasyntactical>
I have wpa supplicant
<metasyntactical>
clever, no adapter for the laptop
<Raito_Bezarius>
ethernet cable is the best solution
<Raito_Bezarius>
metasyntactical: in this case, you can stop networkmanage
<Raito_Bezarius>
+r
<Raito_Bezarius>
write a wpa_supplicant minimal conf
<clever>
metasyntactical: if you run `scan`, wait for results, then `scan_results`, does it show your network?
<Raito_Bezarius>
How does the thermal design perform?
<energizer>
uh oh i didn't plan this properly.
<metasyntactical>
I see the ssid 3 times
<clever>
Raito_Bezarius: doesnt seem to get too hot, but it mostly just sits on a desk near me
<metasyntactical>
for my aps
<clever>
metasyntactical: and if you run `list_networks`, does it show the same ssid?
<Raito_Bezarius>
clever: what about during intense operations? Are you seeing the frequency going up to the turbo and it does not get idle injected too much?
<energizer>
i wanted to do encrypted root, and use boot.initrd.network.ssh to decrypt in early boot
metasyntactical has quit [Remote host closed the connection]
<clever>
Raito_Bezarius: i dont really watch the freq enough to know
<clever>
Raito_Bezarius: but from the photos, you can clearly see the gpu and gpu-ram missing, and a void where the gpu heatsink/fan are supposed to go
<clever>
Raito_Bezarius: but system76 didnt have any gpu choices for this model
<Raito_Bezarius>
clever: no problem :) — dmesg show no idle injection or stuff indicating that thermal limits are reached?
freeman42xx has quit [Quit: Leaving]
<Raito_Bezarius>
Well that helps a lot I guess to not have a real GPU
<clever>
Raito_Bezarius: also, nearly half the machine is empty, so you could make a much smaller case with the exact same motherboard
<energizer>
but it's not even routable
<Raito_Bezarius>
clever: right
<energizer>
because the interface that sets up the network isn't up yet in early boot
<srhb>
pjt_014: And which of those were you using?
<pjt_014>
nixos-version tells me 19.09.2407.b67bc34d4e3. Also it looks like it's actually linux-steam-integration that's the culprit.
alp has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #nixos
<srhb>
pjt_014: Head of channels/nixos-19.09 looks fine. But it might be time to upgrade anyway :)
<srhb>
pjt_014: Oh, maybe not linux-steam-integration
<srhb>
Yeah, that's fine too.
<pjt_014>
Hm. Any idea what it could be then?
<srhb>
I guess I might have some of those 404s lying around...
<pjt_014>
Also how okay is 20.03 rn? I've been eyeing the milestone board on github for the past two weeks or so
<srhb>
pjt_014: I think it's a very individual judgment based on your own requirements. It was fine for me. Moved on to unstable now that it's out, as I usually do.
<srhb>
pjt_014: Try bumping your channel though, your linux-steam-integration hash does not match mine at the head of 19.09.
palo1 has joined #nixos
<pjt_014>
nix-channel --update?
<srhb>
pjt_014: Probably with sudo, if you were using root's channel
<srhb>
pjt_014: I can't tell. :)
<srhb>
pjt_014: (You might want to cull some of those to avoid confusion)
<srhb>
pjt_014: josh's 19.09 looked up to date, roots did not.
<pjt_014>
what does it look like I all have? It should just be 19.09 and unstable
<srhb>
ah, wrong, the other way around.
<srhb>
pjt_014: I'd get rid of either root's or your user's channels. Bound to end up getting them mixed if you have both.
<pjt_014>
Wait--so would I be just doing everything from my main account w/ sudo? Because that's what I have been doing.
<srhb>
pjt_014: Yes.
<srhb>
pjt_014: I don't remember which way around is more practical re. having the user or root own the channels, but both is bound to get you confused.
<srhb>
I'd guess "root" is more practical.
<pjt_014>
Would it be practical/safe to simply make nixos-rebuild/nix-channel not require sudo?
<srhb>
pjt_014: Safe in what way? Your user would be able to destroy your system.
<etu>
I want to use sudo/root to be able to create new system generations and boot generations
<etu>
Everything else seems... off.
<srhb>
Separation of "admin access" and "user access" is usually vital to avoid unintended consequences.
linarcx has joined #nixos
<srhb>
So I'd say "no, it's not safe" -- messing about with your bootloader and things shouldn't really be a non-root thing.
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<pjt_014>
It's getting harder to tell what I actually want here :|
<srhb>
I still think you want to just get rid of either your user's or root's channels. Just to avoid the confusion of "when is one or the other used"
<srhb>
And if you clear the right one (which unfortunately I cannot remember, I think it's your user's) the rest of your workflow is the same.
<pjt_014>
if root is who had the channels I wouldn't need to use su to do rebuilds, would I?
symphorien has quit [Ping timeout: 244 seconds]
<srhb>
If you mean "switch" then yes, you would.
<srhb>
Switching involves rotating the system root of /run/current-system etc.
<srhb>
For building, you've never needed root.
<pjt_014>
hokay, did nix-channel --remove * in root
<pjt_014>
...that is not what I wanted.
<srhb>
Other way around then :-P
<srhb>
It's not a biggie either way, I just remember being unable to keep straight which was used when. And it looked from your steam troubles like you were hitting that as well.
<pjt_014>
any way to tell I'v gotten rid of the duplicate?
<srhb>
pjt_014: The difference between nix-channel --list and sudo nix-channel --list
<srhb>
pjt_014: One should be empty
<pjt_014>
yup, only the sudo version lists anything
<pjt_014>
...and I can't rebuild with or without sudo. wat
<srhb>
pjt_014: Must be hitting a broken mirror somehow.
<pjt_014>
but not broken for you?
<srhb>
pjt_014: No. What does host repo.steampowered.com say for you?
<etu>
srhb: linux-steam-integration should probably be dropped in my opinion, I believe the project is dead upstream.
<srhb>
etu: I've no idea what it is :D
<srhb>
pjt_014: Looks like it's some cloudflare tsuff.
<pjt_014>
repo.steampowered.com has address 104.17.152.86
<pjt_014>
repo.steampowered.com has address 104.17.141.86
<pjt_014>
repo.steampowered.com has IPv6 address 2606:4700::6811:9856
<pjt_014>
repo.steampowered.com has IPv6 address 2606:4700::6811:8d56
<pjt_014>
ah, cloudflare
<etu>
srhb: It's some thingy that wraps libraries to make certain things work better
alp has joined #nixos
<srhb>
pjt_014: Yeah, I guess it's regional cloudflare troubles then. All good here.
<srhb>
(Or out of date here, who knows)
jakobrs has joined #nixos
symphorien has joined #nixos
<jakobrs>
Is it possible to build the buildFHSUserEnv chroot directly?
<pjt_014>
Sucks. Also it's affecting steam itself too :|
eoli3n_ has joined #nixos
<jakobrs>
I'd like to use the FHS chroot directly, with other software (read: bwrap)
stree has quit [Read error: Connection reset by peer]
oborot has quit [Ping timeout: 260 seconds]
CMCDragonkai has joined #nixos
<{^_^}>
[nixpkgs] @vbgl closed pull request #86287 → gtk3: fix version number in pkg-config file → https://git.io/JfmNU
buckley310 has quit [Quit: Connection closed for inactivity]
<Izorkin>
etu: error build php on aarch64 - https://logs.nix.ci/?key=nixos/nixpkgs.85225&attempt_id=cd74dee9-ac41-422a-8f72-a41065af1f0d
stree has joined #nixos
<etu>
Izorkin: I see, two tests in the intl extension seems to fail
<jakobrs>
Maybe buildFHSEnv should be exposed in all-packages.nix?
opthomasprime has joined #nixos
<angerman>
does anyone perceive nix memory consumption or performance in general as an issue?
greghab[m] has joined #nixos
<srhb>
angerman: In general no, but in some cases, yes.
sgo_ has joined #nixos
opthomasprime has left #nixos [#nixos]
jakobrs has quit [Quit: WeeChat 2.8]
stigo has quit [Ping timeout: 240 seconds]
<angerman>
I guess I can somewhat blame myself, but I find both to be a constant issues (aside from debugging/loggig facilities) :-/
mchasard has joined #nixos
mchasard has quit [Client Quit]
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
<{^_^}>
[nixpkgs] @schneefux opened pull request #86377 → wordpress: Patch loader for $WORDPRESS_CONFIG → https://git.io/JfYbk
fengdaolong has quit [Ping timeout: 246 seconds]
eoli3n__ has joined #nixos
c0c0 has joined #nixos
fengdaolong has joined #nixos
<iqubic>
So, I just learned about a thing called homed that may or may not be coming to systemd based linux distro near you soon.
<iqubic>
Why is this a thing that needs to exist?
<makefu>
*laughs in poettering*
<iqubic>
It's like their trying to emulate the Windows System Registry thingy.
<makefu>
iqubic: the registry is already there, it is called dconf
<iqubic>
Sure. Sure.
<makefu>
i like the idea, it opens up the door to actually portable home directories
<iqubic>
But why do we need homed? What problems is it trying to solve? I don't want to have to reconfigure my entire machine in like 4-5 months when the new version of systemd rolls out.
<iqubic>
makefu: Why do we need portable home directories?
<{^_^}>
[nixpkgs] @saschagrunert opened pull request #86378 → cri-o: switch to buildGoModule → https://git.io/JfYbz
<{^_^}>
[nixpkgs] @talyz pushed 3 commits to release-20.03: https://git.io/JfYNt
c0c0 has quit [Quit: WeeChat 2.6]
m0rphism has joined #nixos
maddo has joined #nixos
lorimer has quit [Ping timeout: 246 seconds]
lorimer has joined #nixos
thongpv87 has left #nixos [#nixos]
remirol has joined #nixos
lorimer has quit [Ping timeout: 244 seconds]
amir has joined #nixos
eoli3n__ has quit [Quit: WeeChat 2.8]
smatting_ has joined #nixos
__monty__ has joined #nixos
Setzer22 has joined #nixos
linarcx has quit [Quit: WeeChat 2.8]
alp has quit [Remote host closed the connection]
alp has joined #nixos
<Setzer22>
Hi! What's a proper way to declaratively add a channel? I don't like doing manual things like "nix channel --add" that will break my setup once I try to deploy my config in a new machine
<Valodim>
Setzer22: the declarative way is not to use channels, I believe :)
<Valodim>
and instead doing an import from a fetchTarball to a concrete nixpkgs version
<Setzer22>
well, minus the concrete version part, that is :)
<Valodim>
right :)
bukkitgerman8608 has joined #nixos
<Setzer22>
I just copied that from a stackoverflow answer ^^' so I didn't know if it was the proper way
<Valodim>
(sigh. response with a snippet from my matrix user probably incoming at some point)
<__monty__>
Setzer22: Make sure to pin it if you want reproducibility. And note that you'll still have to setup hardware.nix manually unless the hardware's identical.
<Valodim>
you should also add a sha256 to the fetchTarball to pin the content by hash
<Setzer22>
thanks for the tips!
<Setzer22>
by doing this, I wouldn't be receiving updates from the channel, but that's intended, right? (i.e. I will not get new package versions unless I change the url and hash manually)
<betaboon>
can anyone tell me where i can find nix.conf in a single-user install ?
<Valodim>
that'd be the point of pinning, yes
cr4y1 has joined #nixos
lassulus has quit [Ping timeout: 240 seconds]
<Setzer22>
by the way, what's the proper way of knowing a tarball's hash? Right now I'm just manually downloading to a tmp path using wget and then running sha256 on it, but there must be a better way... Having to download twice doesn't scale well for large files
thc202 has joined #nixos
pjt_014 has quit [Ping timeout: 244 seconds]
Neo--- has quit [Ping timeout: 240 seconds]
<srhb>
,tofu Setzer22
<{^_^}>
Setzer22: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
<srhb>
Setzer22: That way you also don't have to worry about differences between various fetchers (whether it's unpacked or not, whether some kind of cleanup goes on after fetching, ...)
<srhb>
Setzer22: There are also CLI tools for this, but in my opinion they still suffer the same problem of identifying exactly what goes on with the source in a given fetcher.
<Setzer22>
right, I see what you mean. I'll use this method. But what's tofu-vim? I'm just getting vegan recipes after a search ^^'
<srhb>
,tofu-vim Setzer22
<{^_^}>
Setzer22: <esc>52i0<esc>
<srhb>
52i0 inserts 52 zeroes.
<srhb>
(In Vim, that is)
<Setzer22>
indeed it does! ( also works on my evil emacs :) ), but I'm still not getting the relationship between that and the word tofu though.. hahaha
<srhb>
Setzer22: "trust on first use"
tomberek has quit [Ping timeout: 264 seconds]
<Setzer22>
oh, right, thanks! now there are no more loose ends :D
<srhb>
Which is a bit of a misnomer for the method, I guess, but it's the jargon of the channel at least :)
lassulus has joined #nixos
<Valodim>
you can also do 'vi"r0' to replace all characters within some " with zeroes :)
cr4y1 has quit [Read error: Connection reset by peer]
cr4y1 has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
bukkitgerman8608 has quit [Ping timeout: 260 seconds]
jgeerds has joined #nixos
bukkitgerman8608 has joined #nixos
negaduck has joined #nixos
Neo--- has joined #nixos
hlisp has quit [Ping timeout: 260 seconds]
zebrag has joined #nixos
inkbottle has quit [Ping timeout: 260 seconds]
lsix has quit [Quit: WeeChat 2.8]
fgaz has quit [Quit: killed]
thefloweringash has quit [Quit: killed]
thequux[m] has quit [Quit: killed]
bricewge has quit [Quit: killed]
goibhniu has quit [Quit: killed]
danielrf[m] has quit [Quit: killed]
vaibhavsagar has quit [Quit: killed]
emily has quit [Quit: killed]
colemickens has quit [Quit: killed]
hpfr[m] has quit [Quit: killed]
watzon has quit [Quit: killed]
nilsirl[m] has quit [Quit: killed]
mmatthieu has quit [Quit: killed]
pheoxy has quit [Quit: killed]
eddyb has quit [Quit: killed]
unclechu has quit [Quit: killed]
srxl[m] has quit [Quit: killed]
Poscat[m] has quit [Quit: killed]
gnxlxnxx[m] has quit [Quit: killed]
leons has quit [Quit: killed]
domenkozar[m] has quit [Quit: killed]
MilkManzJourDadd has quit [Quit: killed]
simbergm has quit [Quit: killed]
mt[m] has quit [Quit: killed]
philipp[m] has quit [Quit: killed]
alienpirate5 has quit [Quit: killed]
aparkerdavid has quit [Quit: killed]
NickHu has quit [Quit: killed]
aterius has quit [Quit: killed]
roberth has quit [Quit: killed]
drozdziak1[m] has quit [Quit: killed]
alexarice[m] has quit [Quit: killed]
TheSirC[m] has quit [Quit: killed]
cab404[m] has quit [Quit: killed]
NobbZ[m] has quit [Quit: killed]
emmanuelrosa[m] has quit [Quit: killed]
kcin[m] has quit [Quit: killed]
jgarte[m] has quit [Quit: killed]
LinuxHackerman has quit [Quit: killed]
imj[m] has quit [Quit: killed]
Smith[m] has quit [Quit: killed]
softinio[m] has quit [Quit: killed]
veleiro has quit [Quit: killed]
wheatdog[m] has quit [Quit: killed]
ndreas[m] has quit [Quit: killed]
leonardp has quit [Quit: killed]
OJ[m] has quit [Quit: killed]
tamwile[m] has quit [Quit: killed]
Gaz[m]1 has quit [Quit: killed]
dpc has quit [Quit: killed]
Irenes[m] has quit [Quit: killed]
i_run_out_of_use has quit [Quit: killed]
fsmnarmosta[m] has quit [Quit: killed]
mica[m] has quit [Quit: killed]
chvp has quit [Quit: killed]
rsynnest[m] has quit [Quit: killed]
petersjt014[m] has quit [Quit: killed]
dyon[m] has quit [Quit: killed]
aniketd[m] has quit [Quit: killed]
maxdeviant has quit [Quit: killed]
korrosive[m] has quit [Quit: killed]
devkabiir[m] has quit [Quit: killed]
kriteus[m] has quit [Quit: killed]
morr[m] has quit [Quit: killed]
ixxie[m] has quit [Quit: killed]
la-s has quit [Quit: killed]
jonreeve[m] has quit [Quit: killed]
sonercirit[m] has quit [Quit: killed]
askatasun[m] has quit [Quit: killed]
ZuS[m] has quit [Quit: killed]
chrismatheson has quit [Quit: killed]
kdedev[m] has quit [Quit: killed]
Valodim[m] has quit [Quit: killed]
Grauwolf[m] has quit [Quit: killed]
davidak[m] has quit [Quit: killed]
Amit[m] has quit [Quit: killed]
contrun[m] has quit [Quit: killed]
sm[m] has quit [Quit: killed]
nocent has quit [Quit: killed]
bachp has quit [Quit: killed]
rnhmjoj has quit [Quit: killed]
freeman42x[m] has quit [Quit: killed]
Guest215 has quit [Quit: killed]
cornu has quit [Quit: killed]
arcnmx has quit [Quit: killed]
nolan_d has quit [Quit: killed]
rendeko[m] has quit [Quit: killed]
dittofan[m] has quit [Quit: killed]
michaelpj has quit [Quit: killed]
rycee has quit [Quit: killed]
jonge[m] has quit [Quit: killed]
xavierm02 has quit [Quit: killed]
f0i[m] has quit [Quit: killed]
makaveli[m] has quit [Quit: killed]
Elorm[m] has quit [Quit: killed]
fasd has quit [Quit: killed]
atemu12[m] has quit [Quit: killed]
evanjs[m] has quit [Quit: killed]
gudea[m] has quit [Quit: killed]
theduke[m] has quit [Quit: killed]
shu9[m] has quit [Quit: killed]
tpmadz[m] has quit [Quit: killed]
notapache[m] has quit [Quit: killed]
matthewbauer has quit [Quit: killed]
tuxisgr8[m] has quit [Quit: killed]
jwaksbaum[m] has quit [Quit: killed]
thoughtweaver[m] has quit [Quit: killed]
phirsch has quit [Quit: killed]
quiet_laika[m] has quit [Quit: killed]
Leira[m] has quit [Quit: killed]
jordandoyle has quit [Quit: killed]
bendlas has quit [Quit: killed]
James[m]7 has quit [Quit: killed]
eadwu[m] has quit [Quit: killed]
Criena has quit [Quit: killed]
Arcterus[m] has quit [Quit: killed]
RexHackbro[m] has quit [Quit: killed]
rfglinux[m] has quit [Quit: killed]
antpic01[m] has quit [Quit: killed]
tbenst[m] has quit [Quit: killed]
DamienCassou has quit [Quit: killed]
shizonic has quit [Quit: killed]
deepchange[m] has quit [Quit: killed]
yangm has quit [Quit: killed]
wak-work has quit [Quit: killed]
ptotter[m] has quit [Quit: killed]
BenSima[m] has quit [Quit: killed]
phittacus has quit [Quit: killed]
ongy[m] has quit [Quit: killed]
blitzclone_ has quit [Quit: killed]
worldofpeace has quit [Quit: killed]
siraben has quit [Quit: killed]
bennofs[m] has quit [Quit: killed]
sigwinch28 has quit [Quit: killed]
exprez135[m] has quit [Quit: killed]
edrex has quit [Quit: killed]
Dandellion has quit [Quit: killed]
cyberwolf[m] has quit [Quit: killed]
schmittlauch[m] has quit [Quit: killed]
musicmatze[m] has quit [Quit: killed]
mkg20001 has quit [Quit: killed]
david-sawatzke[m has quit [Quit: killed]
dtz has quit [Quit: killed]
Notkea[m] has quit [Quit: killed]
Minijackson[m] has quit [Quit: killed]
jtojnar has quit [Quit: killed]
dwagenk[m] has quit [Quit: killed]
Ericson2314 has quit [Quit: killed]
timokau[m] has quit [Quit: killed]
tlater[m] has quit [Quit: killed]
greghab[m] has quit [Quit: killed]
M0x0120f[m] has quit [Quit: killed]
GerdFlaig[m] has quit [Quit: killed]
psiperator[m] has quit [Quit: killed]
interro[m] has quit [Quit: killed]
the_pumpkin_man[ has quit [Quit: killed]
mindtree[m] has quit [Quit: killed]
likivik[m] has quit [Quit: killed]
JJJollyjim has quit [Quit: killed]
wjjunyor[m] has quit [Quit: killed]
alvaro121[m] has quit [Quit: killed]
jjwatt[m] has quit [Quit: killed]
mlatus[m] has quit [Quit: killed]
ukazka[m] has quit [Quit: killed]
snupples[m] has quit [Quit: killed]
noonereally[m] has quit [Quit: killed]
Cadey has quit [Quit: killed]
tet[m] has quit [Quit: killed]
MohamedSarhan[m] has quit [Quit: killed]
PkmX[m] has quit [Quit: killed]
camlriot42 has quit [Quit: killed]
bqy has quit [Quit: killed]
chip[m] has quit [Quit: killed]
mrtorgo[m] has quit [Quit: killed]
jak_wolf[m] has quit [Quit: killed]
azazel has quit [Quit: killed]
aanderse has quit [Quit: killed]
kaychaks_riot has quit [Quit: killed]
ryanmaclean[m] has quit [Quit: killed]
Null_A[m] has quit [Quit: killed]
loyon[m] has quit [Quit: killed]
icetan has quit [Quit: killed]
grin[m] has quit [Quit: killed]
Pasha[m] has quit [Quit: killed]
ianmjones[m] has quit [Quit: killed]
wildtrees[m] has quit [Quit: killed]
geemili has quit [Quit: killed]
nikola[m]1 has quit [Quit: killed]
ma27[m] has quit [Quit: killed]
ecou[m] has quit [Quit: killed]
infinisil-m has quit [Quit: killed]
Florian[m]1 has quit [Quit: killed]
tyrion-mx has quit [Quit: killed]
pingiun[m] has quit [Quit: killed]
ub[m] has quit [Quit: killed]
pmc_ has quit [Quit: killed]
JameySharp[m] has quit [Quit: killed]
gsals[m] has quit [Quit: killed]
init_6 has quit [Quit: killed]
CRTified[m] has quit [Quit: killed]
justache has quit [Max SendQ exceeded]
hiroshi[m] has quit [Quit: killed]
Ox4A6F has quit [Quit: killed]
mykiwi has quit [Quit: killed]
denbrahe[m] has quit [Quit: killed]
virtusviri7321[m has quit [Quit: killed]
abbradar[m] has quit [Quit: killed]
edomfjp[m]1 has quit [Quit: killed]
M4cheese[m] has quit [Quit: killed]
sshow[m] has quit [Quit: killed]
maralorn has quit [Quit: killed]
chris| has quit [Quit: killed]
balsoft has quit [Quit: killed]
awatanabe[m] has quit [Quit: killed]
arianvp[m] has quit [Quit: killed]
layus[m] has quit [Quit: killed]
pamplemousse[m] has quit [Quit: killed]
alj[m] has quit [Quit: killed]
pkolloch[m] has quit [Quit: killed]
rihardsk[m] has quit [Quit: killed]
Albakham[m] has quit [Quit: killed]
hr[m] has quit [Quit: killed]
laval[m] has quit [Quit: killed]
hsiktas[m] has quit [Quit: killed]
Keith[m]1 has quit [Quit: killed]
fantoom[m] has quit [Quit: killed]
faya[m] has quit [Quit: killed]
AmitLevy[m] has quit [Quit: killed]
keithy[m] has quit [Quit: killed]
bobfett has quit [Quit: killed]
killercup[m] has quit [Quit: killed]
tokudan[m] has quit [Quit: killed]
ZerataX has quit [Quit: killed]
slabity has quit [Quit: killed]
puzzlewolf has quit [Quit: killed]
hsngrmpf[m] has quit [Quit: killed]
brococoli[m] has quit [Quit: killed]
Nyanloutre[m] has quit [Quit: killed]
das-g[m] has quit [Quit: killed]
kyren has quit [Quit: killed]
wedens[m] has quit [Quit: killed]
Fafnir[m] has quit [Quit: killed]
bohan[m] has quit [Quit: killed]
aborsu[m] has quit [Quit: killed]
jaray[m] has quit [Quit: killed]
kazzimazzi[m] has quit [Quit: killed]
zrsk[m] has quit [Quit: killed]
IslandUsurper[m] has quit [Quit: killed]
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
justache has joined #nixos
Setzer22 has quit [Remote host closed the connection]
tobin has joined #nixos
xeron832 has joined #nixos
tobin is now known as Guest53934
<vandenoever>
is anying using carnix? i've a hard time figuring out how to use the Cargo.nix that it generates
Guest53934 is now known as tobinjones
lukash_|away is now known as lukash_
markus1199 has quit [Ping timeout: 246 seconds]
markus1189 has joined #nixos
stree has quit [Read error: Connection reset by peer]
turona has quit [Ping timeout: 272 seconds]
stree has joined #nixos
lsix has joined #nixos
justanotheruser has joined #nixos
<tobinjones>
Hi folks, I'm having issues with NixOS freezing. I believe it to be related to nouveau and xwayland. I've tried a few things and am now stumped. Where would be a good place to ask for help?
<{^_^}>
[nixpkgs] @firmero opened pull request #86380 → vscode-extensions.bbenoist.vscode-doxygen: init at 1.0.0 → https://git.io/JfYpI
hlisp has joined #nixos
stree has quit [Read error: Connection reset by peer]
xeron832 has quit [Remote host closed the connection]
stree has joined #nixos
hoijui has joined #nixos
dwagenk[m] has joined #nixos
turona has joined #nixos
hlisp has quit [Ping timeout: 240 seconds]
<symphorien>
vandenoever: consider using crate2nix instead
<symphorien>
It's the new shiny thing and it's actually maintained
Desetude has joined #nixos
orivej has joined #nixos
bqy has joined #nixos
<bqy>
Guees the bridge died a bit
tobinjones has quit [Remote host closed the connection]
vika_nezrimaya has joined #nixos
tobinjones has joined #nixos
tobinjones has quit [Remote host closed the connection]
<vika_nezrimaya>
GitLab CI + Nix-Flakes - I'm trying to research that combination right now, but something's wrong. The tree is showing as dirty even though it shouldn't have nothing dirty associated with it, it's just a detached HEAD... Build logs: https://gitlab.com/vikanezrimaya/nix-flakes-docker/-/jobs/533118018
<vika_nezrimaya>
I'm trying to package Nix-Flakes in Docker, yeah
<vika_nezrimaya>
and I succeeded
abbradar[m] has joined #nixos
hpfr[m] has joined #nixos
Notkea[m] has joined #nixos
loyon[m] has joined #nixos
camlriot42 has joined #nixos
cyberwolf[m] has joined #nixos
interro[m] has joined #nixos
cornu has joined #nixos
MilkManzJourDadd has joined #nixos
drozdziak1[m] has joined #nixos
fgaz has joined #nixos
jgarte[m] has joined #nixos
Minijackson[m] has joined #nixos
yangm has joined #nixos
schmittlauch[m] has joined #nixos
srxl[m] has joined #nixos
Poscat[m] has joined #nixos
sigwinch28 has joined #nixos
softinio[m] has joined #nixos
colemickens has joined #nixos
bohan[m] has joined #nixos
musicmatze[m] has joined #nixos
mkg20001 has joined #nixos
deepchange[m] has joined #nixos
blitzclone_ has joined #nixos
AmitLevy[m] has joined #nixos
ma27[m] has joined #nixos
unclechu has joined #nixos
xavierm02 has joined #nixos
killercup[m] has joined #nixos
Dandellion has joined #nixos
mt[m] has joined #nixos
danielrf[m] has joined #nixos
PkmX[m] has joined #nixos
emily has joined #nixos
snupples[m] has joined #nixos
aanderse has joined #nixos
JJJollyjim has joined #nixos
Null_A[m] has joined #nixos
hsngrmpf[m] has joined #nixos
sm[m] has joined #nixos
zrsk[m] has joined #nixos
rendeko[m] has joined #nixos
rnhmjoj has joined #nixos
bachp has joined #nixos
Valodim[m] has joined #nixos
dittofan[m] has joined #nixos
davidak[m] has joined #nixos
thoughtweaver[m] has joined #nixos
alienpirate5 has joined #nixos
leonardp has joined #nixos
Ox4A6F has joined #nixos
mindtree[m] has joined #nixos
nolan_d has joined #nixos
exprez135[m] has joined #nixos
DamienCassou has joined #nixos
jonge[m] has joined #nixos
edrex has joined #nixos
evanjs[m] has joined #nixos
leons has joined #nixos
Arcterus[m] has joined #nixos
arcnmx has joined #nixos
alexgood has joined #nixos
GerdFlaig[m] has joined #nixos
hsiktas[m] has joined #nixos
Guest4337 has joined #nixos
nilsirl[m] has joined #nixos
bennofs[m] has joined #nixos
Ericson2314 has joined #nixos
Amit[m] has joined #nixos
Irenes[m] has joined #nixos
NickHu has joined #nixos
mlatus[m] has joined #nixos
hiroshi[m] has joined #nixos
bobfett has joined #nixos
virtusviri7321[m has joined #nixos
maralorn has joined #nixos
the_pumpkin_man[ has joined #nixos
bbigras has joined #nixos
MohamedSarhan[m] has joined #nixos
plato[m] has joined #nixos
mmatthieu has joined #nixos
ongy[m] has joined #nixos
kaychaks_riot has joined #nixos
pheoxy has joined #nixos
edomfjp[m] has joined #nixos
noonereally[m] has joined #nixos
theduke[m] has joined #nixos
i_run_out_of_use has joined #nixos
Albakham[m] has joined #nixos
tyrion-mx has joined #nixos
dtz has joined #nixos
grahamc[m] has joined #nixos
matthewbauer has joined #nixos
st3r4g[m] has joined #nixos
aparkerdavid has joined #nixos
kriteus[m] has joined #nixos
das-g[m] has joined #nixos
azazel has joined #nixos
keithy[m] has joined #nixos
aterius has joined #nixos
gudea[m] has joined #nixos
notapache[m] has joined #nixos
eddyb has joined #nixos
ZerataX has joined #nixos
balsoft has joined #nixos
jak_wolf[m] has joined #nixos
fasd has joined #nixos
emmanuelrosa[m] has joined #nixos
jschievink has joined #nixos
devkabiir[m] has joined #nixos
OJ[m] has joined #nixos
infinisil-m has joined #nixos
maxdeviant has joined #nixos
makaveli[m] has joined #nixos
aniketd[m] has joined #nixos
mrtorgo[m] has joined #nixos
jtojnar has joined #nixos
Keith[m] has joined #nixos
david-sawatzke[m has joined #nixos
thefloweringash has joined #nixos
bricewge has joined #nixos
domenkozar[m] has joined #nixos
rycee has joined #nixos
worldofpeace has joined #nixos
nikola[m] has joined #nixos
dpc has joined #nixos
gh30rgh3 has joined #nixos
denbrahe[m] has joined #nixos
sonercirit[m] has joined #nixos
morr[m] has joined #nixos
ryanmaclean[m] has joined #nixos
shizonic has joined #nixos
slabity has joined #nixos
timokau[m] has joined #nixos
tuxisgr8[m] has joined #nixos
chris| has joined #nixos
ixxie[m] has joined #nixos
Nyanloutre[m] has joined #nixos
Pasha[m] has joined #nixos
Criena has joined #nixos
tet[m] has joined #nixos
IslandUsurper[m] has joined #nixos
vaibhavsagar has joined #nixos
mykiwi has joined #nixos
quiet_laika[m] has joined #nixos
init_6 has joined #nixos
tlater[m] has joined #nixos
Pneumaticat has joined #nixos
philipp[m] has joined #nixos
Fafnir[m] has joined #nixos
ndreas[m] has joined #nixos
TheSirC[m] has joined #nixos
nocent has joined #nixos
michaelpj has joined #nixos
watzon has joined #nixos
jamiemagee has joined #nixos
wak-work has joined #nixos
kyren has joined #nixos
jjwatt[m] has joined #nixos
likivik[m] has joined #nixos
puzzlewolf has joined #nixos
siraben has joined #nixos
arianvp[m] has joined #nixos
Smith[m] has joined #nixos
alexarice[m] has joined #nixos
Gaz[m]1 has joined #nixos
gnxlxnxx[m] has joined #nixos
pmc_ has joined #nixos
Grauwolf[m] has joined #nixos
ukazka[m] has joined #nixos
rihardsk[m] has joined #nixos
roberth has joined #nixos
askatasun[m] has joined #nixos
icetan has joined #nixos
ptotter[m] has joined #nixos
ub[m] has joined #nixos
imj[m] has joined #nixos
petersjt014[m] has joined #nixos
tokudan[m] has joined #nixos
tbenst[m] has joined #nixos
pkolloch[m] has joined #nixos
eadwu[m] has joined #nixos
gsals[m] has joined #nixos
ZuS[m] has joined #nixos
ianmjones[m] has joined #nixos
simbergm has joined #nixos
freeman42x[m] has joined #nixos
brococoli[m] has joined #nixos
f0i[m] has joined #nixos
Elorm[m] has joined #nixos
psiperator[m] has joined #nixos
grin[m] has joined #nixos
chvp has joined #nixos
thequux[m] has joined #nixos
mica[m] has joined #nixos
layus[m] has joined #nixos
wildtrees[m] has joined #nixos
ecou[m] has joined #nixos
goibhniu has joined #nixos
antpic01[m] has joined #nixos
pingiun[m] has joined #nixos
cab404[m] has joined #nixos
kcin[m] has joined #nixos
CRTified[m] has joined #nixos
jaray[m] has joined #nixos
korrosive[m] has joined #nixos
chip[m] has joined #nixos
pamplemousse[m] has joined #nixos
M4cheese[m] has joined #nixos
jwaksbaum[m] has joined #nixos
la-s has joined #nixos
dyon[m] has joined #nixos
tpmadz[m] has joined #nixos
fantoom[m] has joined #nixos
greghab[m] has joined #nixos
wheatdog[m] has joined #nixos
tilpner2 has joined #nixos
kdedev[m] has joined #nixos
faya[m] has joined #nixos
NobbZ[m] has joined #nixos
James[m]1 has joined #nixos
BenSima[m] has joined #nixos
rsynnest[m] has joined #nixos
phirsch has joined #nixos
kazzimazzi[m] has joined #nixos
shu9[m] has joined #nixos
contrun[m] has joined #nixos
laval[m] has joined #nixos
jonreeve[m] has joined #nixos
jordandoyle has joined #nixos
alj[m] has joined #nixos
rfglinux[m] has joined #nixos
phittacus has joined #nixos
Florian[m]1 has joined #nixos
Leira[m] has joined #nixos
chrismatheson has joined #nixos
awatanabe[m] has joined #nixos
tamwile[m] has joined #nixos
veleiro has joined #nixos
alvaro121[m] has joined #nixos
JameySharp[m] has joined #nixos
bendlas has joined #nixos
M0x0120f[m] has joined #nixos
atemu12[m] has joined #nixos
hr[m] has joined #nixos
fsmnarmosta[m] has joined #nixos
aborsu[m] has joined #nixos
wedens[m] has joined #nixos
sshow[m] has joined #nixos
wjjunyor[m] has joined #nixos
RexHackbro[m] has joined #nixos
<manveru>
symphorien: how does it compare to naersk?
<adisbladis>
manveru: Well, it's codegen.
<adisbladis>
So very different solutions
<symphorien>
Never used naersk.
<manveru>
gonna have to do some rust cross-compiling to win/lin/mac...
<adisbladis>
Oh no
<symphorien>
I didn't even know it exists :)
<manveru>
symphorien: i was thinking _that_ was the new shiny thing :)
<{^_^}>
[nixos-homepage] @aepsil0n closed pull request #415 → Improve readability of text on site → https://git.io/Jftcf
<{^_^}>
[nixpkgs] @firmero opened pull request #86394 → vscode-extensions.ionutvmi.path-autocomplete: init at 1.13.6 → https://git.io/JfOe5
snajpa has left #nixos [#nixos]
<{^_^}>
[nixpkgs] @firmero opened pull request #86395 → vscode-extensions.slevesque.vscode-hexdump: init at 1.7.2 → https://git.io/JfOvJ
<{^_^}>
[nixpkgs] @etu opened pull request #86396 → php.extensions: Add descriptions, homepage and license to all upstream extensions → https://git.io/JfOvn
cfricke has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixpkgs] @firmero opened pull request #86397 → vscode-extensions.streetsidesoftware.code-spell-checker: init at 1.8.0 → https://git.io/JfOvB
Soo_Slow has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
Lumpio_ is now known as Lumpio-
_viz_ has joined #nixos
_viz_ has quit [Client Quit]
domogled has quit [Ping timeout: 256 seconds]
domogled has joined #nixos
<{^_^}>
[nixpkgs] @etu opened pull request #86398 → php.packages: Upgrade all interactive packages → https://git.io/JfOf8
<{^_^}>
[nixpkgs] @firmero opened pull request #86399 → vscode-extensions.tomoki1207.pdf: init at 0.6.0 → https://git.io/JfOfB
<{^_^}>
[nixpkgs] @etu opened pull request #86401 → doc: Add PHP section to index → https://git.io/JfOJJ
_viz_ has joined #nixos
proofofkeags has joined #nixos
cinimod has joined #nixos
<cinimod>
I seem to be able to do ` random-fu = self.haskell.packages.ghc865.callPackage ./random-fu { rvar = self.rvar; };` but if I try `ghc863` then I get error: attribute 'ghc863'
<cinimod>
<cinimod>
missing
<infinisil>
cinimod: A single nixpkgs version only has a subset of ghc versions
<infinisil>
cinimod: I think the simples way is to use `hpkgs = nixpkgs.haskell.packages.ghc865.extend (self: super: { random-fu = self.callPackage ...
NieDzejkob has joined #nixos
cfricke has joined #nixos
cfricke has quit [Client Quit]
cfricke has joined #nixos
Mateon1 has quit [Ping timeout: 258 seconds]
Mateon3 is now known as Mateon1
<infinisil>
And do that for all packages, the ones you override and the ones you add
<manveru>
symphorien: you don't happen to know how to use crate2nix to do mingw builds? :)
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
morgrimm has joined #nixos
<ajs124>
Yaniel: does this work? Is there any documentation on how NixOS handles systemd service files it does not generate itself?
<Yaniel>
that is how I understood what little I heard in here, no idea how to actually verify it though
<DamienCassou>
Is it normal that the sha256 sum of the ISO is not the one I get when I run `sha256sum`? The filenames also don't match
<emily>
that doesn't sound normal
<emily>
given that the filenames don't match, are you sure you're comparing the hashes for the right ISO?
<ajs124>
which hash are we talking about? the actual hash of the file or the narhash of the iso storepath? because that's a folder with the iso and metadata in it.
charly1 has joined #nixos
virus_dave has joined #nixos
<cyris212>
How do I install spellcheck dictionaries for libreoffice on NixOS?
<{^_^}>
[nixpkgs] @lblasc opened pull request #86405 → gst-plugins-bad: fix compilation with opencv 4.3 → https://git.io/JfOkF
<DamienCassou>
I'm talking about "Graphical live CD, 64-bit Intel/AMD (SHA-256) Recommended for most users"
virus_dave has quit [Client Quit]
<DamienCassou>
the file being downloaded when clicking on "Graphical live CD" doesn't have the same name nor sha256 as the content of the file downloaded when clicking SHA-256
bdju has quit [Read error: Connection reset by peer]
fabianhjr has joined #nixos
<ajs124>
cyris212: that changed very recently. I'm not even sure if it's in any release or only on master. But what you need to do is add them to your environment.systemPackages.
<ajs124>
before that... not sure. there might be a way, but who knows?
<DamienCassou>
ajs124: I'm only talking about sha256sum as computed by the cli and as present in the SHA-256 file one can download by clicking on the link
<cyris212>
Looks like the libreoffice changes did not make it into 20.03
<cyris212>
ajs124: thank you
ZeDestructor has quit [Client Quit]
<ajs124>
DamienCassou: I just downloaded the latest iso (20.03.1619.ab3adfe1c76) and that matches the hash from the file.
zupo_ has joined #nixos
alp has joined #nixos
<cyris212>
Hmm so i guess i can either use an override and build libreoffice myself or use the unstable channel
ddellacosta has quit [Ping timeout: 260 seconds]
<DamienCassou>
there is something weird: the link on the page points to latest-nixos-plasma5-x86_64-linux.iso. So if you download with wget, this is the filename you get. But with firefox, the file is renamed to nixos-plasma5-20.03.1619.ab3adfe1c76-x86_64-linux.iso
<DamienCassou>
ajs124: ^
<DamienCassou>
this is very confusing
<DamienCassou>
the files and filenames are different
<ajs124>
apparently firefox takes that filename, whereas wget sticks with the first thing
<ajs124>
the reason for all of this is because the iso gets continously updated by hydra, if anything changes
<morgrimm>
Morning all! Anyone get a `lastAttribute` modifier missing error when trying to import a package before?
<morgrimm>
I'm trying to import a symlink to another nix file, so I don't know if that would mess with it
marsh has quit [Ping timeout: 265 seconds]
<emily>
DamienCassou: ajs124: perhaps curl -L -O has the correct file-naming behaviour
<DamienCassou>
emily: I thought about redirections too, but that wouldn't explain the difference in file content
marsh has joined #nixos
<emily>
DamienCassou: no clue about that one. I mean, you could just be being MITM'd :P
<emily>
DamienCassou: I suggest getting a known-good (i.e. matches the hash) ISO and then running diffoscope over the two.
Guest4337 has quit [Changing host]
Guest4337 has joined #nixos
<emily>
if you really want to investigate this in depth
Guest4337 has quit [Quit: authenticating]
Guest4337 has joined #nixos
<DamienCassou>
I don't. I've built my own iso using `nix-build nixos/release.nix -A iso_plasma5` and I'm going to try that
<DamienCassou>
this way I'm sure :-)
proofofkeags has joined #nixos
Guest4337 has joined #nixos
Guest4337 has quit [Changing host]
Guest4337 is now known as Cadey
<DamienCassou>
I was wrong: Only the file names differed, not the content. I don't know what I did, maybe ran `sha256sum` on the shasum file instead of just cat. I'm sorry
mrCyborg has joined #nixos
<emily>
ah, that's good at least!
turona has quit [Ping timeout: 246 seconds]
<manveru>
hm
<manveru>
anyone know the difference for rust between "x86_64-w64-windows-gnu" and "x86_64-pc-windows-gnu"?
fusion809 has quit [Remote host closed the connection]
<manveru>
this stuff is confusing as hell
<clever>
manveru: not completely sure, but i think it just got renamed, and you get that error if you mix nixpkgs versions
<manveru>
ah, indeed
<manveru>
well, a few months ago, but still
<Cadey>
where's a good reference to a Nixified emacs config with evil-mode?
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever>
cinimod: lines 9-12, you want hself, not self.haskellPackages
<clever>
cinimod: then you dont need the rvar = rvar; mess
orivej has quit [Ping timeout: 246 seconds]
FRidh has quit [Ping timeout: 246 seconds]
FRidh has joined #nixos
<turlando>
Hello
<{^_^}>
[nix] @mkenigs opened pull request #3551 → Rename nix app and nix run commands → https://git.io/JfOtI
<turlando>
Do you think I can run NixOS off a pair of mirrored USB 3.1 thumb drives? How much space should I need? The reason is that I'm trying to free the SATA ports for the storage
<clever>
turlando: the nixos build for my main desktop, totals to ~7.8gig, including wine, chrome, steam, and other large packages
<xfix>
NixOS isn't particularly demanding in terms of disk usage, use btrfs if you want to save on space
<xfix>
and enable compression
<clever>
i'm using zfs and compression
<xfix>
works too
<turlando>
Thanks clever and xfix. I've heard that /nix can get pretty big. I guess that's just an Internet myth
<gchristensen>
it isn't a myth
<xfix>
it can, but you can run garbage collection
<clever>
turlando: if you have other nixos builds, and do a lot of development, it can grow
<gchristensen>
NixOS does demand more disk space than other distributions, since updates are atomic you need more space
<clever>
turlando: its 74gig on my main desktop
<gchristensen>
since both the old and the new system need to exist at the same time
<xfix>
that being said, using store optimization and garbage collection can lower the requirements
neobit has joined #nixos
neobit has quit [Changing host]
<gchristensen>
it can be done, but I wouldn't go below 32g turlando
<turlando>
I'm not going to use as desktop. My use case is a small home server running as NAS and maybe spinning some VMs or containers
<turlando>
I was planning to buy some 64G drives. Maybe I should go with 128G just to be safe?
<simpson>
turlando: Well, how big is your current Nix store?
<clever>
turlando: for my nas, the nix store is on the main pool for all storage
<gchristensen>
turlando: 128G would be comfortably plenty :)
<turlando>
simpson this is going to be my first NixOS install so I can't really tell :\ This is the reason I was asking here beforehand
<clever>
Filesystem Size Used Avail Use% Mounted on
<clever>
naspool/nix 434G 130G 305G 30% /nix
<clever>
dont trust the size column, zfs makes it a lie
<simpson>
4GiB could be plenty, depending on *exactly* what you're doing and what you've got designed; I've got a Debian system with that sort of setup, and NixOS isn't fundamentally different from Debian in terms of requiring disk for binaries.
marsh has quit [Read error: Connection reset by peer]
<est31>
recently I made nixos clean garbage
<clever>
that nas is a raidz1 of 3 x 4tb disks
<est31>
and it removed 4 GB of stuff
<est31>
I was like wtf
<clever>
its also running a hydra
<gchristensen>
simpson: (except it is...)
<est31>
nix os needs more disk I heard
<simpson>
turlando: Oh. Well, there's nothing that will adequately prepare you, but a central concept in NixOS is that folks usually have *multiple* copies of their userland, and each copy takes space.
<simpson>
gchristensen, est31: ^^^ Let's be *extremely* specific about why, though. There's nothing magical going on: The extra disk space goes to being able to boot into old revisions of the system, old configurations, multiple user profiles, etc.
_viz_ has joined #nixos
marsh has joined #nixos
orivej has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<est31>
simpson: yes, it still has to be factored in though
<clever>
turlando: i find it much simpler to just leave /nix on the main storage pool, so you dont have any problems in the future if it ever baloons up to 300gig, since you would have terrabytes available
mallox has quit [Ping timeout: 264 seconds]
<turlando>
clever that's absolutely true. I just wanted to keep the data as much alone as possible
emacsomancer has quit [Read error: Connection reset by peer]
mallox has joined #nixos
<cinimod>
clever: ta!
<turlando>
Something unrelated to my question but still kind of related to my first install. What data should I snapshot from the NixOS install? Just /etc/nixos and everything else is derivable from the nix files?
<clever>
turlando: personally, i have seperate datasets for / /nix /home and then turn on snapshots for everything except /nix
<clever>
turlando: and then on a case by case basis, add more with diff options, for example, /var/lib/systemd/coredump can have a lot of churn on some machines, and the snapshots of / then eat a lot of space
shibboleth has joined #nixos
<clever>
so i may give coredump its own dataset, to turn snapshots off there
hlisp has quit [Remote host closed the connection]
hke has quit [Read error: Connection reset by peer]
<turlando>
clever thanks a lot for the suggestions. Your setup is very similar to what I was thinking of. I was not ever aware I could use nix to bootstrap the partitions. I will definitely dig more into it. I was making a simple shell script to initialize the partitions and then run nixos-install ( https://gist.github.com/turlando/a9d5a6a274983b9039fab30d24542fab )
<clever>
turlando: the file i linked is exactly that, a shell script to create everything
hke has joined #nixos
<clever>
turlando: i just build a custom installer image (like the ISO) that has that script pre-installed in systemPackages, then just run ot
<{^_^}>
[nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JfOq2
zupo has joined #nixos
tomberek has joined #nixos
<turlando>
Thanks for pointing out clever
<mpickering>
Has anyone had any success linking against tcmalloc?
<mpickering>
I am fearing the fact gcc is wrapped is causing issues
cosimone has quit [Quit: Quit.]
waleee-cl has joined #nixos
proofofkeags has quit [Ping timeout: 240 seconds]
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
cosimone has joined #nixos
<turlando>
I have another question. Here https://nixos.wiki/wiki/NixOS_on_ZFS#Unlock_encrypted_zfs_via_ssh_on_boot it uses /run/keys/initrd-ssh-key as the path for the ssh key. I'm not sure how I can embed that file inside the initramfs. More specifically: I run `nix-shell -p dropbear --command "dropbearkey -t ecdsa -f /tmp/initrd-ssh-key"` and then I can mv the key from /tmp/initrd-ssh-key to /run/keys/initrd-ssh-key. When I run nix-build
<turlando>
everything works and after rebooting I can type my passphrase using SSH, but the file in /run is gone. What is the underlying magic? (or where is it documented?)
o1lo01ol1o has quit [Remote host closed the connection]
tdeo has quit [Quit: Quit]
tdeo has joined #nixos
tdeo has joined #nixos
tdeo has quit [Changing host]
<clever>
turlando: /run/keys is managed by nixops, you probably want to use a different directory
o1lo01ol1o has joined #nixos
<turlando>
clever: yep, but which directory considering that all my datased except for /nix are still encrypted when dropbear starts?
<clever>
turlando: nix is going to copy the file into the initrd for you, so it doesnt matter where you put it
<clever>
turlando: but that also means the key will be in plaintext within /boot, so it wont be secure enless you encrypt /boot via some other means
<cinimod>
Hmmm turning *off* profiling has the unfortunate effect of making nix builds a *lot* longer
<turlando>
It should not be a problem since it's a key I'm just using for the initial dropbear daemon. The real SSH daemon is using a different key. Or do you think it can still be harmful?
<clever>
cinimod: because hydra had pre-built everything with profiling off, changing that means you must now build EVERYTHIGN yourself
<clever>
turlando: oh right, nvm, i was thinking zfs key, not ssh host key
<clever>
turlando: the worst that can happen, is that somebody could read your /boot partition, and then impersonate the machine, then wait for you to enter a pw
domogled has joined #nixos
<turlando>
clever is there anything I can do besides signing the kernel?
<cinimod>
clever: I want profiling *off* so I should get the cached version?
<cinimod>
It seems the profiled version is cached but the unprofiled version is not?
<turlando>
(considering that I'm not a nation states target and it's a very specific threat model)
o1lo01ol1o has quit [Ping timeout: 260 seconds]
alexherbo26 has joined #nixos
<clever>
cinimod: by default, hydra is building everything twice (in the same derivation) with and without profiling
<clever>
cinimod: if you make any changes from default, then it wont be cached
<clever>
turlando: simplest is to just secure physical access to the machine
<niso>
edcragg: pkgs/servers/domoticz/default.nix:1:1 called without required argument 'libusb',
<glittershark>
eh at least I know about the .wrapped thing
<glittershark>
kinda sucks tho
alp has quit [Remote host closed the connection]
alp has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
proofofkeags has joined #nixos
lunik1 has quit [Quit: :x]
erasmas has joined #nixos
<ornxka>
you could always function killall() { for i in $(ps x | awk '{print $5}' | grep $1); do kill $i; done; }
<clever>
ornxka: theres also pgrep
<ornxka>
how did i not know about that
lunik1 has joined #nixos
philr_ has quit [Ping timeout: 244 seconds]
spacekookie_ has joined #nixos
cole-h has joined #nixos
Profpatsch has quit [Ping timeout: 246 seconds]
spacekookie has quit [Ping timeout: 272 seconds]
proofofkeags has quit [Ping timeout: 260 seconds]
mallox has quit [Quit: WeeChat 2.8]
Yaniel has quit [Ping timeout: 264 seconds]
Profpatsch has joined #nixos
Yaniel has joined #nixos
<edcragg>
niso: thanks, any idea why that would happen? it's in the arguments for the derivation, and in buildInputs, which seems pretty normal. it also builds fine elsewhere
<{^_^}>
[nixpkgs] @globin pushed 3 commits to structured-attrs: https://git.io/JfOYn
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
<morgrimm>
Is it reasonable to want to use NixOS on a daily workstation, but then virtualize Windows and pass my GPU through solely for gaming?
<srk>
it is but have you tried proton? :D
<morgrimm>
Proton?
<clever>
morgrimm: ive found that gpu passthru tends to be picky, and you tend to have to reboot constantly, on the host side
<clever>
morgrimm: proton is steam's fork of wine, that has been improved to support most games, and is baked into the linux steam launcher
nschoe has quit [Remote host closed the connection]
<morgrimm>
o.o
<srk>
I haven't booted win for months now due to games, everything just works^tm
nschoe has joined #nixos
<shatsky>
Which GPU?
<srk>
nvidia
<srk>
(not asking me I guess, oops :D)
<morgrimm>
I'm prepping my rebuild with a new threadripper, right now I have a 1080Ti, but I'm considering swapping
<morgrimm>
depending on support
<clever>
srk: space engineers and elite dangerous are the only 2 games that fail under proton and i sometimes want to play
<clever>
srk: everything else worth playing just works under proton+steam
<shatsky>
I've got it working with AMD Polaris, but I had to patch kernel and write reset hook to avoid it locking up on 2nd VM start
<srk>
clever: this! the only thing I've had troubles with was system shock 2 which bundled bad version of wine, if you switch to systems one it works well :)
cr4y1 has quit [Ping timeout: 260 seconds]
<morgrimm>
Innteresting
<srk>
yesterday tested with Quake Champions, no issues :)
<morgrimm>
srk: what GPU are you using right now? and how much overhead do you get?
<srk>
1070
<morgrimm>
On NixOS?
<srk>
morgrimm: my CPU is the bottleneck currently, upgrade pending, yes
<morgrimm>
ooo
<srk>
5.5 kernel
<morgrimm>
Did you have to futz with the drivers to get it working smoothly?
<srk>
(I'm on some random commit tho 77a062fe47940f1d1cdfb136934bb42d20094c51)
<srk>
not at all
<morgrimm>
or did 5.5 work?
<morgrimm>
that's awesome, and pretty surprising
<srk>
they just sometimes fail to compile with too recent kernel but that tends to get fixed quite quickly
orcus has joined #nixos
<morgrimm>
Is there any advantages to going with an AMD card?
<morgrimm>
If 5.5 is smooth with nvidia cards, I may as well keep my 1080Ti then
alp has joined #nixos
jgeerds has joined #nixos
<srk>
not sure about that, I have trouble loading even 1070 properly :D
<srk>
I don't play much AAA titles, mostly old games but it's useful for blender
<srk>
and FreeCAD
<srk>
(you can build blender with cudaSupport = true and it just works ;))
orivej has quit [Ping timeout: 246 seconds]
<morgrimm>
Hmmmm
fendor has quit [Read error: Connection reset by peer]
fendor has joined #nixos
organixpear has joined #nixos
<{^_^}>
[nixpkgs] @cmacrae opened pull request #86411 → yabai: init at 2.4.3 → https://git.io/JfOZP
alexherbo2 has quit [Read error: Connection reset by peer]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
turlando has quit [Ping timeout: 256 seconds]
turlando has joined #nixos
alexherbo2 has joined #nixos
<morgrimm>
srk: I'm hoping 5.5/5.6 will also smooth things over with the zephyrus
<Alexey37>
Hm, I depend on hasql-pool in haskell packages, for which tests are broken (but without tests it compiles and works). As I understand, I could do something like `nixpkgs.pkgs.haskell.packages.ghc865.callPackage ./my.nix { hasql-pool = nixpkgs.pkgs.haskell.packages.ghc865.hasql-pool.override ???; }`, but what argument can disable tests? `doCheck`?
<Alexey37>
But `override { doCheck = false;}` fails.
<morgrimm>
I'd rather have nixos than windows on my daily driver
<clever>
Alexey37: haskell.lib.dontCheck
<clever>
Alexey37: that function takes a haskell package, and does the override for you
<cole-h>
Sorry, I'm unfamiliar with Hydra. Just wanted to make sure you did indeed have access to your own Hydra instance... I'd file an issue at NixOS/hydra, if it were me
bvdw has joined #nixos
<__monty__>
How do I list available attributes in a nix-shell?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cinimod has quit [Ping timeout: 264 seconds]
vidbina has joined #nixos
<__monty__>
Is there a way to use callPackage but fall back to the default arguments for some of the arguments?
bvdw has quit [Client Quit]
<energizer>
callPackage does that automatically
Alexey37 has quit [Ping timeout: 240 seconds]
bvdw has joined #nixos
<{^_^}>
[nixpkgs] @jtojnar opened pull request #86416 → gobject-introspection: Ensure the giDiscoverSelf is run before gappsWrapperArgsHook → https://git.io/JfOc0
freeman42x has quit [Quit: Leaving]
<kini>
Is the r-ryantm bot down? I see that it's been inactive on github for a couple weeks.
bvdw has quit [Client Quit]
pingiun has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bvdw has joined #nixos
<__monty__>
energizer: Are you sure? I'm getting a missing attribute on "pkgs" but the pkgs that expression imports by default (pkgs ? import ./nixpkgs.nix) *does* contain that attribute if I investigate with nix repl.
pingiun has joined #nixos
_viz_ has quit [Remote host closed the connection]
<energizer>
> callPackage ({pkgs}: 4) {}
<{^_^}>
4
<energizer>
__monty__: ^
<__monty__>
energizer: I think you don't understand the question. My argument to callPackage has *default* values. And I want to rely on those rather than the autoArgs callPackage comes up with.
<energizer>
i'll leave it for someone else to answer then
<quinn>
does nix ever use tmpfs for building? i was running nix-build and i got a 'no space left on device' error
<infinisil>
quinn: It uses $TMPDIR or /tmp by default
<infinisil>
(source: `man nix-build`)
FRidh has quit [Quit: Konversation terminated!]
chloekek has quit [Ping timeout: 260 seconds]
<energizer>
danderson: hey i don't suppose it's possible to use a tailscale network interface in early boot, for sshing to a box that has encrypted root filesystem?
<quinn>
oh, stupid me. i had thought it was all on RAM for some reason. thank you!
o1lo01ol1o has joined #nixos
<danderson>
energizer: er, I have no idea. It would be challenging, you need to store Tailscale's node state somewhere (the content of /var/lib/tailscale), and it has to be mutable
shafox has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
stree has quit [Read error: Connection reset by peer]
mounty has quit [Ping timeout: 264 seconds]
stree has joined #nixos
<energizer>
danderson: alright. maybe i can just leave a port open for the boot ssh server (boot.initrd.network) and close it after successful boot
<danderson>
yeah, that's a pretty standard way of doing it
<danderson>
it would be nice to support tailscale in that kind of environment, but we don't have the right tools for it yet
<danderson>
(we would need a token-based auth method that lets you trade a pre-shared key for node and machine keys, somehow, without altering the identity of the node each time. It doesn't match anything we currently have)
<energizer>
mhmm
<colemickens>
energizer: I still haven't tried it yet, but tor hidden service?
<energizer>
colemickens: interesting idea
<srk>
colemickens: had the same idea but is it good idea to rely on that for unlocking machines?
<srk>
like.. why not I guess
NieDzejkob has joined #nixos
alp has quit [Ping timeout: 272 seconds]
WhatisRT has joined #nixos
hax404 has quit [Ping timeout: 265 seconds]
<WhatisRT>
is there a simple way (including tutorial) to setup a ci system with nix on github?
hax404 has joined #nixos
<WhatisRT>
I have literally no experience and don't want anything fancy, just to build my derivation and run a shell script
<rooke>
Does any one have experience packaging custom latex stuff?
<WhatisRT>
simpson: wow, I didn't know actions could do that!
<quinn>
rooke: do you mean using texlive.combine, or packages out of CTAN?
<quinn>
...or something else entirely?
<rooke>
quinn: texlive.combine I suppose
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<rooke>
I'll just explain what I'm doing I guess
<rooke>
Over the years I have a small collection of .sty/.cls files I've built up with my own macros. Was looking to push those into a nix expression so I could nixify my latex doc prep
<rooke>
The tricky bit was tryna get the dependencies of those sty files to propagate, and was curious how others had solved that problem
<lovesegfault>
gchristensen: Is the NixOps manual still up-to-date?
<lovesegfault>
cc. adisbladis
<lovesegfault>
I want to move my morph deployment to NixOps; not sure where to start
<quinn>
rooke: so as long as those dependencies you want are packaged with texlive you can use texlive.combine to provide them. (i think this includes all of CTAN?)
<rooke>
Yeah, the way I got that to work just... felt odd
<cole-h>
lovesegfault: Should be, despite the copyright date.
<rooke>
rooke.nix is where I packaged the sty stuff, default.nix is an example usage
<cole-h>
lovesegfault: https://nixos.org/nixops/manual/ redirects to a hydra-built manual, so, yeah. Should be (relatively) up-to-date.
<lovesegfault>
cole-h: nice, do you know how NixOps works? :D
drakonis has quit [Read error: Connection reset by peer]
lsix has quit [Ping timeout: 244 seconds]
<quinn>
rooke: this looks fine to me. i would probably call it with nix-shell and not nix-build because that would be unergonomic, but i think it's fine
<quinn>
this is frankly more complicated than my own workflow, i'm a context guy, so i'm not in the best position to judge i guess
<rooke>
quinn: thanks :), without nix the workflow was simple, I just had these files sitting in the texmf tree somewhere. Maybe I'm misguided, but I'm treating latex as I would a compiler and so bringing it in per-project instead of a system wide install.
<cole-h>
lovesegfault: Absolutely not :D
<cole-h>
lovesegfault: But I plan on familiarizing myself in the future, so I can contribute there, as well :)
<lovesegfault>
cole-h: Have you moved to NixOS yet?
<cole-h>
lovesegfault: :^))))))))))
<quinn>
i think that makes sense. i also think that will make it easier for you to potentially add in tools outside of texlive which is very appealing :)
<rooke>
Yeah, especially for something like minted which requires python to be on the path
<rooke>
Also these files change... which means I have broken documents in the past, it will be nice to have them pinned per project
<quinn>
having style files pinned per-project is essential for me too. i assume you write software documentation?
<tokudan>
lovesegfault, nixops is pretty simple. you basically take your configuration.nix and wrap another layer around it
<rooke>
I'm actually in a math phd program... so I just write a lot of latex
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
dsx has quit [Ping timeout: 246 seconds]
<rooke>
I guess the next question becomes, working this out took me far longer than I care to admit. Does it make sense to add something like this to the documentation?
alexherbo2 has joined #nixos
<lovesegfault>
tokudan: My configuration.nix is a bit weird :P
<rooke>
If so is that just, open a pull request and see what happens?
<tokudan>
lovesegfault, if you want local virtualboxes instead: deployment.targetEnv = "virtualbox";
<cole-h>
lovesegfault: If you do switch to nixops, I would be interested in you documenting what you actually did, and what some (if any) papercuts you had were :^)
<rooke>
quinn: Thanks, I'll look into that
<energizer>
what's the advantage of nixops over morph?
<tokudan>
lovesegfault, first time I hear about morph
<energizer>
morph is all about statelessness, which is nice. iirc nixops some info in a database?
<energizer>
*keeps some
<tokudan>
energizer, yes, nixops creates a local database about the state
<energizer>
what state does it keep?
drakonis has joined #nixos
<tokudan>
energizer, dunno, never really checked the database, but i believe the deployment configuration (i.e. which files to read), if the servers have been created or not, etc.
<lovesegfault>
IIRC adisbladis was working on stateless NixOps?
<tokudan>
and an ssh key to login to those servers
<energizer>
in morph you just write a nix file with your {hostname : config} and say `morph ./thatfile.nix deploy`
<cole-h>
FYI, the nixops state db is sqlite and can be inspected with sqlite3
<lovesegfault>
IME it's really hard to get morph to not pick up <nixpkgs>
<lovesegfault>
if you, like me, pin nixpkgs that is supremely annoying
<tokudan>
lovesegfault, well, my .envrc takes care of that:
<tokudan>
anyway, I'm out for today. have a nice evening
alp has joined #nixos
<cole-h>
(btw #nixops exists)
<notgne2>
lovesegfault: for morph I've settled for having a script that runs `git ls-remote -h https://github.com/NixOS/nixpkgs-channels | grep "refs/heads/nixos-19.09\$" | cut -f1 | tr -d '\n' > rev.txt` (and some other channels), and then importing using that file from inside each machine config
<notgne2>
it's not pretty but it keeps it all in sync
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<johanot>
lovesegfault: morph really shouldn't pick up be impure / pick up <nixpkgs> if you don't want it to. perhaps you can open an issue on that?
<johanot>
be impure / pick up * even :)
cinimod` has quit [Ping timeout: 260 seconds]
develCuy has quit [Quit: No Ping reply in 180 seconds.]
<niso>
question: why would one use nix-channels at all? can't i just pin it in the top-level nix file and pass it to all functions requiring it? (or even just pin it again - since the hash won't change?)
<niso>
s/pin it/pin pkgs/
<cole-h>
betaboon: Many people, probably. What's your question?
<{^_^}>
[nixpkgs] @jtojnar merged pull request #86416 → gobject-introspection: Ensure the giDiscoverSelf is run before gappsWrapperArgsHook → https://git.io/JfOc0
<betaboon>
just wanted to get a general feeling if it is viable to do so. thinking of switching from x11+i3 to wayland+sway
<cole-h>
You start sway from TTY. GDM supports wayland sessions (since Gnome uses wayland by default now), but I just start from TTY.
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<srk>
cole-h: that's supported for a long time but don't have a module?
<lovesegfault>
What's happening?
<niso>
energizer: yes, i'm just kinda wondering if one could recommend "don't use channels", pin them top-level instead (till flakes are here) (which should result in a smoother transition too)
<betaboon>
lovesegfault: I'm thinking of doing the wayland dance and your name came up
Soo_Slow has quit [Quit: Soo_Slow]
<lovesegfault>
I run sway on NixOS yeah :)
<cole-h>
lovesegfault: betaboon asked about setting up sway on NixOS. I can't help with that, but you can :P
<betaboon>
so only gdm is supporting wayland? I'm currently using lightdm. so i would have to replace that with gdm or go the tty route ?
<worldofpeace>
betaboon: I believe the option is services.xserver.displayManager.lightdm.enable
<quinn>
betaboon: as i understand it, they are packaged under xserver, so their config is under xserver
<jboy56>
so I have an issue deploying a haskell package with nixops to a machine running nixos. I'm trying to use myProgram = pkgs.callPackage /path/to/myprogram.nix {}; and environment.systemPackages = [ myProgram ] but I get an error "...myPackage.nix is not of type 'package'"
<worldofpeace>
I don't think there's any wayland lightdm greeters, if that's what you're asking
<betaboon>
worldofpeace: thanks. it just realy confused me going toward to wayland and having to set something under the xserver-namespace :D
<{^_^}>
[nixpkgs] @risicle opened pull request #86421 → [r20.03] git: use tcl/tk from nixpkgs on darwin → https://git.io/JfO04
<betaboon>
so that would start lightdm from an xserver, and lightdm would then launch the wayland-session?
<betaboon>
thus i would still need an xserver ?
<worldofpeace>
betaboon: yes
<betaboon>
worldofpeace: opting for gdm instead of lightdm would remove the need for an xserver?
<worldofpeace>
betaboon: I don't think you can enable any of the display managers without xserver
<niso>
jboy56: by chance you could share a minimal example?
<cole-h>
worldofpeace: ly ;^)
sarcasticadmin has quit [Ping timeout: 240 seconds]
<quinn>
worldofpeace: when you say a wayland greeter, you mean a greater written in wayland rather than X, meaning all of the current ones (even in gtk and qt) are written in X?
charly1 has quit [Ping timeout: 246 seconds]
<quinn>
cole-h: >dependencies: xorg
<worldofpeace>
quinn: I'm not aware of there being any greeter written for lightdm that is for wayland. but lightdm does support it
<worldofpeace>
so you can start a wayland session with it
<quinn>
worldofpeace: alright, i understand. thank you again!
<worldofpeace>
while gdm uses gnome-shell, that will be a wayland session. but it still has xlibs in it's dependencies
charly1 has joined #nixos
zxcvqwfp has joined #nixos
<quinn>
probably for the authentication and such i guess. i wonder if you can compile it without
<betaboon>
I'm still somewhat confused how to get rid of xserver completly but still keep a graphical login
<worldofpeace>
quinn: maybe gdm, but it still uses xwayland. I personally don't see that as extreamly important.
<quinn>
worldofpeace: it's really not, especially if it only calls xlib to start a session rather than to display itself. i'm just weird
oida has quit [Quit: byez]
<zxcvqwfp>
I'm having trouble with dynamic linking of a Ubuntu package, I followed the nixos wiki article about packaging binaries but it's still not finding one shared library ("libXrandr.so.2 => not found"). Even though I looked for it via `nix-locate`, calling `pkgs.lib.makeLibraryPath` in `nix repl` and appending the rpath via `patchelf --set-rpath ...`.
<zxcvqwfp>
A friend then told me that one of the binaries could also depend on libXrandr, so I set its rpath too. But I'm still getting that error message. Anybody got any clues? What am I missing / could I have done wrong?
<clever>
zxcvqwfp: is it a 32bit or 64bit binary?
<zxcvqwfp>
64bit
<clever>
zxcvqwfp: what does `file` say when ran on the binary?
<zxcvqwfp>
`bin/do-not-directly-run-firestorm-bin: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /nix/store/wx1vk75bpdr65g6xwxbj4rw0pk04v5j3-glibc-2.27/lib/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=90ed6915ba773b855f9d71f1706cedc6940693ab, not stripped`
<niso>
jboy56: does default.nix evaluate to the expected result?
<clever>
xelxebar: and what is the rpath? patchelf can print it
<jboy56>
niso: yes, the build is successful and outputs a result file result/bin/fa-teams.
oborot has joined #nixos
<jboy56>
niso: when using nix-build
Mateon1 has quit [Ping timeout: 256 seconds]
<zxcvqwfp>
maybe I should try `autoPatchelfHook`
<betaboon>
lovesegfault: you're starting sway from tty, right ?
<clever>
zxcvqwfp: and what is the rpath? patchelf can print it
Yaniel is now known as Margatroid
freeman42x has joined #nixos
<quinn>
i need a larger build directory, would it be better to adjust runSize or change TMPDIR?
<jboy56>
niso: I'm new to nix so not sure if I am doing the correct thing but I entered 'pkgs = import <nixpkgs>;' then "pkgs.callPackage /home/jk/dev/fa-teams {}" and it printed "value is a function while a set was expected
<lovesegfault>
betaboon: correct
<zxcvqwfp>
clever: found it with `lddtree`, the bin is running :) thanks!
<clever>
zxcvqwfp: was there another lib in a place we didnt think to look?
<clever>
jboy56: `import <nixpkgs>` returns a function, you want `import <nixpkgs> {}` to call that function
eyenx has joined #nixos
<zxcvqwfp>
clever: yeah it was lib/libSDL, my for loop in bash seems to not have matched it -.-"
<{^_^}>
[nixpkgs] @bcdarwin opened pull request #86425 → ocamlPackages.owl: unbreak by reversing previous edits → https://git.io/JfOzR
<niso>
jboy56: in systemPackages: try to add fa-teams.fa-teams instead
c382feb92 has quit [Ping timeout: 246 seconds]
<energizer>
is there some popular service that'll ping "the internet" and log the response time? i'm having home internet issues and would like to have a log for diagnosing
justanotheruser has quit [Ping timeout: 256 seconds]
<clever>
energizer: last time i had such issues, i wrote a custom program to watch the byte counters in /proc/net/dev
<clever>
energizer: i had written it to poll them every second, and render a real-time thruput graph, for both directions
<energizer>
whoa
<clever>
energizer: and then after a while of that, i noticed, every time i had a problem, upload hit a perfect 0/second and download suffered (due to a lack of ack packets)
<clever>
energizer: and after much debugging, i eventually tracked it down to a bug in the pppoe drivers on linux, and that the pppoe pings bypassed the "permanent hang", and would fix the state
<clever>
energizer: and it was configured to ping every 20 seconds, so it would always recover within 20 seconds, from an otherwise "permanent" hang
<clever>
energizer: i never figured out how to "fix" it, but reducing the ping to every 1 sec made the problem nearly invisible
foineoi has joined #nixos
<energizer>
clever: in my case i suspect the router, since multiple computers on the network have bad latency and they all recover after rebooting the router
<clever>
energizer: ah, in my case, it was a linux router, so i had the ability to record all the stats i wanted
<energizer>
but this happens every hour during heavy usage
<foineoi>
Is there any working derivation for qtbase 5.13 out there? I'm trying to run a binary that needs to be linked to libQt5Core.so.5 of version 5.13
<hr[m]>
Is there a function in the nix language to write a nix expression to a file in json format?
<clever>
hr[m]: builtins.toFile and builtins.toJSON
<jumper149>
The nix manual says that fetchTarball returns a path, does that also hold for fetchGit?
<niso>
energizer: did you check the ram usage of your router before reboot? bad latency could also mean that it's swapping
<clever>
jumper149: i believe it returns a set, you can confirm that in `nix repl`
<niso>
energizer: also, what do you mean by "ping server"?
zxcvqwfp has quit [Remote host closed the connection]
<energizer>
niso: a service that responds to ping
aveltras has quit [Quit: Connection closed for inactivity]
<niso>
energizer: why not just pick e.g. 9.9.9.9 ?
<clever>
niso: my ISP router will lock up hard (zero packets pass) if you poll an http page, and it crashes like clockwork, 29.5 days of uptime i believe
<jboy56>
niso: THANK YOU! been working on that all day...
<jumper149>
clever: thank!
<cole-h>
If I wanted to have a default.nix and a shell.nix use the same buildInputs, what would be the easiest way without maintaining two files?
<clever>
cole-h: shell.nix should just `import ./default.nix`
<clever>
cole-h: and perhaps apply overrides to what it imported
<energizer>
niso: right, that's what i would do normally. but the sense i'm getting is that smokeping picks a handful of destinations, pings them regularly, and makes pretty graphs
<niso>
jboy56: yw, you probably should replace the { fa-teams = drv; } in your fa-teams with drv
<niso>
jboy56: or just directly execute your command here instead of saving it to drv first
<cole-h>
clever: And what if my default.nix uses `naersk.buildPackage` (and thus nix-shell is building, when it should really just pull in the inputs)? WOuld it be better to make a separate `common.nix` file?
<jumper149>
Do strings actually differ from paths in nix?
<niso>
clever: uhm, so you flashed nixos on your ISPs router?
<clever>
jumper149: paths are a special type in nix, always absolute
<cole-h>
clever++ Thanks, that helped a lot :)
<clever>
niso: nope, i just ran nixos on a seperate x86 machine
<{^_^}>
clever's karma got increased to 401
<clever>
jumper149: if you try to treat a path as a string, nix will automatically copy it into /nix/store
<clever>
jumper149: strings in nix also have context, which says which store paths they depend on
<niso>
clever: ah, i think i got the same setup (decided to let the ISPs router run infront of my own router instead of replacing it and connecting directly)
charly1 has quit [Quit: Leaving.]
<clever>
niso: my setup is very wonky
<clever>
niso: i dont know what the isp router is doing to make the iptv setup work, but the isp router is also not reliable for internet usage
averell has joined #nixos
zupo has quit [Client Quit]
<clever>
niso: so ive intentionally mis-configured the isp router to use pppoe, which breaks its attempts to use dhcp on vlan 35
<hr[m]>
clever: Thanks, when I use ` xdg.configFile."nvim/coc-settings.json".source = builtins.toFile "coc-settings.json" (builtins.toJSON ./coc.nix)`, the file sourced into `~/.config/nvim/coc-settings.json` contains just the path to the file that stores the result of the toJSON command.
<jumper149>
clever: just treating it as a path was what did the trick for me right now. It's a little confusing but it probably makes sense as everything revolves around /nix/store.
morgrimm has quit [Ping timeout: 265 seconds]
<clever>
niso: i then use a dumb switch, to put 2 routers on 1 modem, the nixos router handles vlan 35, the isp router handles vlan 34 (tv service)
<clever>
hr[m]: you didnt tell nix to import that nix file, so all it did was serialize the string (a path to coc.nix)
<clever>
hr[m]: you want builtins.toFile "coc-settings.json" (builtins.toJSON (import ./coc.nix))
<niso>
clever: ah, no tv here, the only device connected to my ISP router is my own router/firewall
<clever>
niso: but i have then discovered, half the STB features need internet
<clever>
niso: so i then run my own pppoe server, on vlan 35, pointing the wrong way (towards the internet, being ignored)
<hr[m]>
clever++ Ah great that fixed it.
<{^_^}>
clever's karma got increased to 402
<clever>
niso: and then the mis-configured isp router, connects to that, and double-nat's its way out, lol
o1lo01ol1o has quit [Remote host closed the connection]
<clever>
niso: dhcp on vlan 35 gives my a public ip, and binds the mac of whatever did it to the connection, so no other mac can get a lease until things expire or are released
<clever>
niso: vlan 34 dhcp gives an ip somewhere in 10.0.0.0/8, and multicast subscriptions give RTP sreams with tv service
<asbachb>
I'm quite lost with node alone but node + grunt + nix - overkill ^^
oida has joined #nixos
<niso>
btw, i noticed someone before use services.cron - which seems to use standard crojobs. By chance nixpkgs could offer an easy to use alternative? (e.g. something like this - but with different name + refactoring: http://paste.debian.net/1144048/ )
<clever>
niso: if you set the startAt on a service, then nixos generates a timer for you
<niso>
oh wow, i expected systemd.* to be thin-wrappers O.o
<clever>
niso: there is also the script and preStart keys, which can take multiple lines, generate a script with a #!, and then point ExecStart and PreStart to the generated file
jlv has joined #nixos
vidbina has quit [Ping timeout: 256 seconds]
<jlv>
How can I clear the `nix search` cache? I have a bunch of old results from removed channels, and running `nix search -u` to update the cache doesn't remove them.
<jlv>
For that matter, updating the `nix search` cache should probably clear the cache of removed channels.
<clever>
jlv: did you run `nix-channel --update` after removing the channels?
<jlv>
clever: no... I always forget that you need to `nix-channel --update` for additions and removals to take effect XD It's a little unintuitive to me.
<clever>
jlv: --add and --remove simply update a plaintext file at ~/.nix-channels
<clever>
jlv: --update then syncs that into your channels profile, which is symlinked under ~/.nix-defexpr/
<clever>
jlv: nix-env and nix search operate on ~/.nix-defexpr/
o1lo01ol1o has quit [Remote host closed the connection]
<jlv>
clever: would it make more sense for `--add` and `--remove` to update the plaintext and then sync that particular change to your channels profile? Then you don't need an extra step.
<clever>
jlv: but you may want to batch several --add into a single atomic update
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amir has quit [Ping timeout: 256 seconds]
<jlv>
clever: what if you could add multiple `--add` or `--remove` arguments to the command, for a batch update, like `nix-channel --add A --add B --remove C`?
<niso>
clever: although i would prefer something like systemd.crond - since it would imo be more intuitive for new users
<jlv>
On another note. Updating `nix-channel` got rid of the removed channels in `nix search` results, but I still have redundant `nixos` and `nixpkgs` results. It's been like that for a while on this machine, but not on a newer machine, so I guess it is an issue with the cache.
<niso>
clever: s/systemd.crond/services.crond/
morgrimm has joined #nixos
o1lo01ol1o has joined #nixos
<asbachb>
Anyone mounting/syncing google drive?
romildo has joined #nixos
slack1256 has joined #nixos
<qrnteen>
%m
morgrimm has quit [Ping timeout: 246 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
tilcreator has joined #nixos
maddo has quit [Quit: See ya]
__monty__ has quit [Quit: leaving]
<romildo>
I want to add scim (The Smart Common Input Method platform) to nixpkgs because it is a new dependence to efl. But currently 'scim' is an alias to 'sc-im' (Spreadsheet Calculator Improvised), added in 2016-01-22. Is it ok to remove the alias and use the 'scim' attribute for the new package?
<clever>
romildo: i'm a bit surprised that scim isnt already in nixpkgs
Charly_ has joined #nixos
<romildo>
clever, I did not find it after a quick search. But I will take a deeper look.
<clever>
romildo: i also dont see it in there
<romildo>
clever, maybe it is under another name because of this alias already in use.
oida has quit [Quit: byez]
Charly_ has quit [Client Quit]
rickhull has joined #nixos
hlisp has joined #nixos
<rickhull>
hi, I am pretty new to NixOS and am trying to get set up with a ruby dev environment. what's the right way to ensure e.g. `rake` is in my PATH?
<rickhull>
as it stands, I have `ruby` in my configuration.nix, and then using `gem` on the CLI to install gems, either as $USER or root
<rickhull>
but after e.g. `gem install rake`, I don't have `rake` in my PATH
<Irenes[m]>
I would personally suggest that you probably want to use nix-shell to set upa dev environment for each project you work on, rather than install things system-wide, but I know that's more to learn
<Irenes[m]>
and at any rate the config you have to write is similar regardless of whether you're putting it system-wide vs in a project
<rickhull>
ok, that sounds right -- I saw some info about nix-shell, but I haven't started to learn it
<Irenes[m]>
sure
<rickhull>
i am more interested in keeping the scope tight and minimal -- not system wide
eoli3n__ has quit [Quit: WeeChat 2.8]
<rickhull>
i'd also not like to infect my ruby projects with too much specific to nixos
<simpson>
Oh, nice, that's good stuff. It depends on what you're doing, but you likely *will* want a shell.nix and a local environment with nix-shell.
<rickhull>
oh, yes, I did read that. it's not clear how it applies to my specific concern here
<Irenes[m]>
I believe those are the same information, just you're looking at the source code for it :)
butterthebuddha has joined #nixos
<rickhull>
i'll do more research on nix-shell and using shell.nix
<simpson>
In particular, bundix might be the right choice.
<Irenes[m]>
yeah, I'm not able to give great advice because I don't actually use Ruby, but it sounds like basically the workflow is that you develop the way you normally would but then you invoke the "bundix" command to convert your Gemfile into a file gemset.nix
<rickhull>
perhaps, though I'm not really fond of bundler for my use cases
<Irenes[m]>
which you then import into your environment
<Irenes[m]>
fair
<Irenes[m]>
you could also just do that once to see what the code it generates looks like, and whether it's something you could be doing by hand, if you would prefer that
<simpson>
How do you normally build your project?
<Irenes[m]>
(I make no promises that the generated code is actually readable, I haven't looked at it)
<simpson>
Also yeah, I'm rusty with Ruby too, but there's always #nixos-ruby for more detailed discussions.
<rickhull>
simpson, just with gem tools. $project.gemspec, essentially
<simpson>
Then maybe not even a build, just some shell.nix to get the right tools available.
Mateon1 has joined #nixos
<rickhull>
yeah, i'm just trying to get a sane dev env, not too worried about building on nixos, though that much seems fine at the moment
o1lo01ol1o has quit [Remote host closed the connection]
spacefrogg has quit [Remote host closed the connection]
aw has quit [Remote host closed the connection]
ambroisie has quit [Ping timeout: 258 seconds]
fendor has quit [Read error: Connection reset by peer]
<jlv>
What is up with the duplicate results in `nix search`? After runnings `nix search -u` for the first time, all searches include duplicate `nixos.` and `nixpkgs.` results.
<clever>
jlv: i think one is for the channel called nixos, the other is the alias that lets <nixpkgs> map to nixos
<jlv>
clever: the weird thing is, before running `nix search -u`, on a fresh system, it only shows `nixpkgs.` results.
slack1256 has quit [Remote host closed the connection]
aw has joined #nixos
<clever>
jlv: what does `nix-channel --list` show, for both your user, and root?