<moet>
the bug i reported earlier is applicable to an outdated livecd
<moet>
my bad
<moet>
i'll try to repro after upgrading to 20.03.1795.d6c1b566b77 (Markhor)
<moet>
** it was applicable to 20.03.1795.d6c1b566b77 (Markhor)
<moet>
i'm upgrading to latest new and will re test
Jackneill has joined #nixos
knerten has joined #nixos
knerten1 has quit [Ping timeout: 246 seconds]
proofofkeags has quit [Remote host closed the connection]
moet has quit [Ping timeout: 256 seconds]
moet has joined #nixos
codygman has quit [Read error: Connection reset by peer]
moet has quit [Client Quit]
jneplokh has joined #nixos
codygman has joined #nixos
acarrico has joined #nixos
azure1 has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
jneplokh has left #nixos ["User left"]
orivej has joined #nixos
zangi has quit [Ping timeout: 265 seconds]
ambro718 has quit [Ping timeout: 265 seconds]
<AmandaC_>
so, if I take one of the nixos installer nixos configs, and throw in some extra stuff like a ssh server w/ my keys pre-loaded, I can do something like a remote headless install, right/
<quinn>
AmandaC_: yup. i do something similar. with an iso image at least, i haven't got a pxe setup going
<ryantm>
AmandaC_: Yep
gustavderdrache has quit [Quit: Leaving.]
<AmandaC_>
I've just spentsomethinglike 800$ on an intel NUC, plan to leave it plugged in and headless
<AmandaC_>
use that for my hydra building, instead of a VM on my gaming rig
<AmandaC_>
but nice, I'll try and get something like that setup tomorrow, then. Maybe have it built in my hydra server as well.
<quinn>
i know right? i was surprised at how well it worked. be aware that it doesn't work in qemu for some reason, i spent a long time tearing my hair out because i thought it wasn't working
<quinn>
AmandaC_: against matter? i would actually be very interested in hearing about your CI/unit testing setup, i don't know anything besides "install hydra"
<AmandaC_>
Master* thought not exactly, more like against-tested-master
pjt_tmp has joined #nixos
<AmandaC_>
I don't remember much about the set-up, I scoured the internet and pieced it all together
rodarmor has quit []
<AmandaC_>
I think one of the nixcon lightning talks had the basics for the setup, then the rest was copy-pasting parts from other people's release.nix
<AmandaC_>
For the Hydra setup*
<quinn>
AmandaC_++ okay, cool. i'll keep in mind to scan those talks if i want to set that up
<{^_^}>
AmandaC_'s karma got increased to 1
AmandaC_ is now known as AmandaC
growpotk- has joined #nixos
user_0x58 has joined #nixos
<ToxicFrog>
Is there any way to configure the template used by createHome? I want to create a user account on install and also copy a bunch of files into ~/.config/autostart-scripts/
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
<quinn>
ToxicFrog: it depends, but you may just want to configure a skeleton directory to do that. a more robust solutino however would be to package your scripts and then write services for them with systemd.user.services.foo|bar|baz
orivej has joined #nixos
<ToxicFrog>
They need to be able to talk to KDE dbus and the X server, which AFAIK user units don't (at least not without a bunch more work)
<ToxicFrog>
security.pam.makeHomeDir.skelDirectory is the option I need?
<quinn>
i don't *think* so, i think skeleton directories are just a basic unix feature. i would read the code for user management and then try writing to environment.etc."skel/.config/autoscart-scripts/foo.sh" and such
smatting has quit [Ping timeout: 258 seconds]
<quinn>
i mean make sure nixos obey that convention, and it will probably make a difference if you have stateful or stateless user mgmt, but that's a starting point
MidHotaru has quit [Quit: Connection closed for inactivity]
<{^_^}>
infinisil's karma got increased to 315.00000000000006
<fresheyeball>
how much does thee rock?
<quinn>
i'm sorry i don't really want to get into an argument on irc but i'll say that if someone came to you for help with C that didn't compile you would probably have trouble helping them if you couldn't figure out what was going on just from a description
<fresheyeball>
shall I count the ways?
<infinisil>
:P
h0m1 has quit [Ping timeout: 240 seconds]
<ToxicFrog>
I mean it does seem janky but so does figuring out how to let half a dozen user units talk to the X server, and the non janky option (skel dir in nixos options) doesn't exist, and this is just for a one-off comic reader system
<fresheyeball>
quinn: except I provided enough information, as infinisil demonstrated
<ToxicFrog>
So
<quinn>
and infinisi*l knows the haskell ecosystem better than i...have it your way man
<fresheyeball>
thanks!
<infinisil>
Yeah so I just happen to know about this, but I'm sure quinn could've figured it out too with more information
<fresheyeball>
quinn: normally I would agree, but sometimes I know it's just a function or something I am missing, and so it's just not worth it to do a paste
h0m1 has joined #nixos
<quinn>
infinisil: maybe, maybe not. as long as you figured it out, it's cool. fresheyeball: i guess we're coming from different perspectives, i just do 'ix < foo.nix' and ctrl-c ctrl-v
slack1256 has quit [Remote host closed the connection]
<fresheyeball>
quinn: what is ix?
<quinn>
pastebin clone without https and a sh function i can put in my rc. http://ix.io
<infinisil>
In this case at least I think it was clear (to me) that nixpkgs' haskellPackages.categories was meant
<infinisil>
However it's always a good idea to paste a reproducible expression, I wish everybody would do that tbh!
orivej has quit [Quit: No Ping reply in 180 seconds.]
<infinisil>
Though it sometimes does take too long for what it's worth
<infinisil>
Eh it's a tradeoff
orivej has joined #nixos
<fresheyeball>
quinn: I will try that
kamid has joined #nixos
<fresheyeball>
lower paste overhead would be nice
<fresheyeball>
infinisil: well it didn't fix my problem
<fresheyeball>
even thought the function addSetupDepends is there
<quinn>
ik it was a haskell package but i didn't know whether it was some weird regression that was introduced when it was added as a dependency to fix that hash issue earlier or whatever. tbh i've programmed haskell and never even seen setup-depends
<fresheyeball>
quinn: I posted the issue because it says more
<quinn>
fresheyeball: http only is a big downside, but i definitely was disinclined to use pastebin when it was the only option i knew.
<aleph->
Heh what a lovely pastebin implementation
<quinn>
infinisil: so basically nginx serves everything in /var/lib/paste/ as-is?
<{^_^}>
[nixpkgs] @marsam pushed commit from @msfjarvis to release-20.03 « rtl8821ce: 5.2.5_1.26055.20180108 -> 5.5.2_34066.20200325 »: https://git.io/JfjCO
<infinisil>
quinn: Yup
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<quinn>
do you just scp everything over?
<aleph->
Fscking awful in one way :p and yet lovingly elegant in it's simplicitly
<aleph->
I like it
aw has joined #nixos
<infinisil>
aleph-: Doesn't need to be more complicated than that!
<aleph->
Technically ya! Haha
knerten1 has joined #nixos
<aleph->
I like using mine I did in rust/rocket.rs
spacefrogg has joined #nixos
<aleph->
Which is basically just paste.rs
<infinisil>
quinn: The script there is installed as `pst` on the server. It takes stdin as input and a file ending as an argument and outputs an url to the result. So I can `cat file.nix | pst nix` and it gives me an url
<infinisil>
And I also have a local alias like `pst () { ssh protos pst $1 | xclip -selection clipboard }`
<aleph->
Neat
<quinn>
^
<aleph->
Make it work with curl :3
<infinisil>
So I can locally just do `cat file.nix | pst` and it copies the link into my clipboard :)
<aleph->
Or honestly I'll write that patch
<fresheyeball>
trying the new hash is going to take a bit
nwspk has quit [Quit: nwspk]
<fresheyeball>
much compiling of a new universe
<infinisil>
aleph-: But then you need to do authentication somehow
<infinisil>
I can't let anybody upload stuff to my server
<infinisil>
And ssh already takes care of that
<infinisil>
I guess basicauth would work with curl, but then it won't be short anymore
<aleph->
Eh I'm writing the moduel as if it's open to public
<sid`>
Hey! I'm having trouble compiling a file using gcc. I'm using nix on ubuntu. gcc does not seem to find my include paths even though I have passed them as -I parameters, I've verified that the command words outside of nix-shell. Was wondering if anyone could help me, thanks!
azure2 has joined #nixos
azure1 has quit [Read error: Connection reset by peer]
<srhb>
sid`: How did you pass the dependencies into the shell?
<sid`>
srhb: I'm trying to compile a library that uses numpy. I'm using poetry to manage all my python dependencies, so I have poetry, gcc and python38Full in my buildInputs. The include flags are passed to gcc by cython
<sid`>
However, all my python dependencies, including cython and numpy are not in the buildInputs, they are managed by poetry and are present in ~/.cache
<srhb>
sid`: I don't know that workflow, but I'd guess you want to go all in with nix and have everything managed as such.
bahamas has joined #nixos
bahamas has quit [Changing host]
bahamas has joined #nixos
<sid`>
srhb: The problem is that the python package I am trying to install (mujoco-py) is written really badly and modifies the source code after it has been installed. I have tried packaging it but it seems impossible. Also pytorch is very tricky to install.
<srhb>
sid`: Meh :/ Sorry, I guess I don't have any concrete advice then.
<JDongian>
going to call it a night, this is my first time using nixos but I'm having trouble juggling some of the command. For example nixos-rebuild is not available in the docker container.
<simpson>
JDongian: The container has only Nix, not full NixOS; systemd isn't running, and etc.
<JDongian>
I see, that's helpful.
<JDongian>
Thanks, Simpson. A lot to learn, seeing as it's not on dockerhub I might have to actually install it myself
<simpson>
Python fun: 'ERROR: python_igraph-0.8.2-pp271-pypy_41-linux_x86_64.whl is not a supported wheel on this platform.' Why not, and how am I supposed to pick the right platform?
<WIIIHEIIM>
Hello, I would like some help, since I've upgraded nixos to 20.03, I'm having some trouble with building rust project, it keeps saying cargo/rustc aren't in the path, and when I try these command in the root directory of my project it's working fine but once I'm in a subdirectory it's saying `error: command failed: `'cargo' error: caused by: No
<WIIIHEIIM>
such file or directory (os error 2)` (both for cargo and rustc), if you have any lead it would greatly help me. Thanks in advance.
<Taneb>
Anyone know what could be causing this? "hydra-notify[7231]: error: could not set permissions on '/nix/var/nix/profiles/per-user' to 755: Operation not permitted"
<Taneb>
I think it's stopping my hydra server handling declarative jobsets properly
<energizer>
maybe check the perms of all ancestor directories
<patagonicus>
Taneb: Is hydra running as root? I think chmod will fail even if the permissions are already what you want if you don't have the rights to change the permissions because they directories are owned by someone else.
<Taneb>
This is the hydra-notify service. I don't know how to check which user that's running as
<MarcWeber>
I tried setting system.localSystem to lib.systems.examples.gnu32; on x86_64 system to have dualboot with 32 and 64 bit using specialization. However build aborted with i686 not supported. Can I make my x86_64 system build them ?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Taneb>
I can reproduce this with `nix cat-store --store local?secret-key=/etc/hydra/hydra-sign.sec /nix/store/flxs8yjfdglqr8wxrgj1in9q2r4y2h9h-spec.json` running as the hydra-queue-runner
<mananamenos>
Hi. This is from nix-gitignore repo: *If you want to deploy your code from the development directory, it would make sense to clean out the development/tmp/cache files before copying your project's source to the nix store. The set of development files you'll want to clean is likely the same one your gitignore patterns match, so this is why this is useful.*
<mananamenos>
I don't understand the part of copying the source files. I thought when you build for example a haskell project with nix-build you get a binary. Is it also copying all the source files to nix-store?
<tokudan[m]>
I was under the impression that curl http://..file.tar.gz | sha256sum should yield the same checksum as used by nix, but apparently that's not the case, as seen here: http://paste.debian.net/1153952/
<tokudan[m]>
is there a reason for that discrepancy?
<maralorn>
mananamenos: Yes and no. A typical nix-derivation will have some sources and an output dir. It will use the sources to build e.g. a binary and put it in the output dir. And yeah, often that means, that the sources will not be in the output dir.
asymptotically has quit [Quit: Leaving]
<Taneb>
patagonicus: I think previously it had been running as root but when I upgraded to 20.03 that changed
<maralorn>
mananamenos: But: Before nix can start that derivation it will first copy the sources into the nix-store itself. They will live under a different path in the nix-store, but they need to be copied there.
ambro718 has joined #nixos
<maralorn>
Because nix does not allow access to the filesystem outside of the /nix/store during building a derivation. That would be impure.
<maralorn>
mananamenos: Normally the /nix/store/...-source directory would be created by something like fetchtarball or fetchgit. But if you use src = ./. nix will copy the complete folder ./. into a /nix/store/... path and provide that as input for the derivation you want to build.
m0rphism has joined #nixos
orivej has joined #nixos
<mananamenos>
maralorn, i see. Thank you very much for a great explanation
<maralorn>
mananamenos: When copying the files to the /nix/store nix calculates a hash over the source dir. That hash is then also used to calculate the output hash of your derivation.
<maralorn>
nix needs to make sure that you only access declared files which will lead to a hash change, if they change.
<{^_^}>
[nixpkgs] @dasj19 opened pull request #91587 → Added user option to searx. → https://git.io/JfjrP
<maralorn>
Copying them to the nix store before the built is probably not theoretically necessary, but practical.
Narice has quit [Read error: Connection reset by peer]
<maralorn>
Like you said, it guarantees that the inputs don‘t change during build. Also it is easier for nix to check that you really don‘t access anything outside the /nix/store.
Narice has joined #nixos
<maralorn>
mananamenos: I guess if you would allow random filesystem access for nix figuring over which dirs to hash would be very tricky.
asymptotically has joined #nixos
<mananamenos>
maralorn, thanks again
turion has quit [Quit: Leaving.]
cjpbirkbeck has joined #nixos
Narice has quit [Read error: Connection reset by peer]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<jluttine[m]>
I see something like this in some ruby package derivations: `passthru.updateScript = bundlerUpdateScript "pry";` How do I run this update script?
<jluttine[m]>
Also, where is this usage documented? I couldn't find any instructions about it..
`slikts has quit [Ping timeout: 272 seconds]
<jluttine[m]>
I tried `nix-build '<nixpkgs>' -A pry.updateScript` but that didn't work.. `expression does not evaluate to a derivation`
alp has quit [Ping timeout: 272 seconds]
Narice has quit [Ping timeout: 240 seconds]
<dminuoso>
"A script to be run by maintainers/scripts/update.nix when the package is matched."
orivej_ has quit [Ping timeout: 246 seconds]
`slikts has joined #nixos
`slikts has joined #nixos
`slikts has quit [Changing host]
thomasjm has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<jluttine[m]>
where did you find that information? but how is it run? i'm a maintainer and i'd like to know how to run it 😁
Acilim has joined #nixos
Acilim has joined #nixos
Acilim has quit [Changing host]
<jluttine[m]>
oh, that was `/` was a path separator, not `or`
Narice has joined #nixos
azure1 has joined #nixos
zangi has quit [Read error: Connection reset by peer]
meh` has quit [Remote host closed the connection]
<jluttine[m]>
so, `nix-shell maintainers/scripts/update.nix --argstr package PKG_NAME` i suppose
<jluttine[m]>
dminuoso: thanks! google didn't find that page when i googled for your quote.. and searching for `bundlerUpdateScript` wasn't fruitful either. of course, i should have searched for `passthru.updateScript` instead..
<Acilim>
Hello all, trying to explore nixos. trying to understand how it works and how can i use it on servers. I want to test it, is as a webserver. Is it good idea to setup apache with nix-env or with rebuild with changing /etc/nixos/configuration.nix
orivej has quit [Quit: No Ping reply in 180 seconds.]
<veleiro>
still learning nix, how do i move a large set (its an emacs-init config) to a separate file? instead of including it where its defined? programs.emacs.init = import ./emacs.nix? inside the file there are some references to packages too, so do i make it a function that returns a set? or just a set with some of its own imports? or maybe i'm calling it wrong with the import
<srhb>
veleiro: If this is a nixos module, the easiest way is probably to use the nixos imports mechanism
orivej has joined #nixos
<srhb>
veleiro: eg imports = [ ./emacs.nix ]; -- and then, emacs.nix can have { pkgs, config, ... }: -- just like your main file
<srhb>
veleiro: As well as programs.emacs.init
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<veleiro>
i thought you could import sets from extrenal files at definition time
<srhb>
veleiro: You can, but you said you use a package, so the other form is simpler
<srhb>
veleiro: { pkgs, ... }: { programs.emacs.init = ... }; -- should be fine
<bbigras>
in home.nix I have `imports = [ ../emacs.nix ];` and also define programs.emacs with init.enable = true;
<veleiro>
that sounds like what i want. thanks!
<bbigras>
rycee's emacs init thing is awesome
<bbigras>
can't live without it now
MarcWeber has quit [Ping timeout: 246 seconds]
<veleiro>
i was thinking a function that would return a set at programs.emacs ={ enable = true; init = import ./emacs.init pkgs }? but i couldnt get it to work
<veleiro>
i agree, ive had this 2000 line .emacs.el file for a few years now and am looking forward to getting it rolled into nix form
<evils>
,escape ''
<{^_^}>
Escape this in '' strings with: '''
<{^_^}>
Escape this in " strings with: ''
kleisli_ has quit [Ping timeout: 265 seconds]
knupfer has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
<jluttine[m]>
when running `bundix --magic`, i get the following error after lock file has been written: `Unknown switches "--all"`. any ideas whether the issue is in bundix, nixpkgs, the ruby package i'm running bundix for, or somewhere else?
<devalot>
jluttine[m]: I had a similar problem last week. I never figured out what was causing it but if you don't use `--magic' and instead run the init command manually it works.
o1lo01ol1o has quit [Read error: Connection reset by peer]
Narice has joined #nixos
<evanjs>
is it best practice to squash and rebase when making updates to nixpkgs PRs, or should I only do that at the end after the PR has been thoroughly approved and reviewed?
<evanjs>
Wasn't sure what's best for the reviewers
<AmandaC>
If I have something like `let foo = [ "a" "b" "c" ]` and I want to set bar to the first value of `foo` how would I do that? `... bar = foo[0]` doesn't seem to be working
<AmandaC>
Specifically, this is what I'm getting: error: attempt to call something which is not a function but a list, at /etc/nixos/modules/linux/desktop/sway.nix:28:17
proofofkeags has quit [Remote host closed the connection]
<chreekat[m]>
AmandaC: Nix doesn't have that list accessor syntax. 😅 Gotta use builtins.elemAt
proofofkeags has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofk_ has joined #nixos
<{^_^}>
[nixpkgs] @nh2 merged pull request #90701 → consul.passthru.tests: Fix failure on current consul versions, add more tests → https://git.io/JfdDo
proofofk_ has quit [Remote host closed the connection]
proofofkeags has joined #nixos
marsh has quit [Ping timeout: 272 seconds]
marsh has joined #nixos
pingiun has joined #nixos
<pingiun>
has anyone ever had the experience of installing the bootloader going wrong?
<pingiun>
I just restarted my server and it wouldn't boot anymore, reinstalled the bootloader using the installer on a usb stick and now it's booting again
<{^_^}>
[nixpkgs] @nh2 opened pull request #91627 → ddcui: init at 0.1.1 → https://git.io/JfjAq
<bbigras>
kaligule: you know about home-manager? it's like configuration.nix for at the user level.
<Kaligule>
bbigras: I don't dare that yet.
<bbigras>
kaligule: no hurries 😀
<Kaligule>
bbigras: For now I will make myself comfortable with nix first.
<bbigras>
gotcha 👍️
<Kaligule>
what are your most used commands for nix/nixos?
<c4rc4s>
Having some issues installing NixOS on my GPD MicroPC -- installer boots up great, install seems to OK, but on reboot the keyboard stops working at Stage 1 and I'm unable to enter my LUKS passphrase. I'm able to plug in a USB keyboard and unlock, after which the built-in keyboard starts working. Any thoughts on what to check or how to fix this?
bennofs_ has quit [Ping timeout: 258 seconds]
<Kaligule>
I tried out nixos-rebuild switch (obviously) and nix-env -iA for trying out new packages.
<bbigras>
kaligule: not sure if it's worth digging into the language if you are not planning to do your own package. maybe it's useful for complex configuration.
kleisli_ has quit [Ping timeout: 244 seconds]
<Kaligule>
See you around
<bbigras>
👋
alp has joined #nixos
bahamas has joined #nixos
fendor has joined #nixos
fendor_ has joined #nixos
Kaligule has quit [Ping timeout: 244 seconds]
fendor_ has quit [Remote host closed the connection]
bahamas has quit [Ping timeout: 256 seconds]
WIIIHEIIM has quit [Remote host closed the connection]
<c4rc4s>
samueldr: Thanks. I just found a guide for installing arch on this netbook that notes an oddity where the battery module needs to be present for the keyboard to work. I've just verified that adding "battery" to availableKernelModules fixed it. Weird.
<samueldr>
weird indeed!
<c4rc4s>
At least it works now, and I have a tiny PC running NixOS!
<c4rc4s>
Just need to figure out how to rotate the display now.
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfjpH
kleisli__ has quit [Ping timeout: 258 seconds]
<ornxka_>
like, i have a $HASH-initrd-secrets file in /boot
<ornxka_>
but it is not big enough to fit my secrets files in it
<energizer>
make it bigger?
<ornxka_>
lol
<ornxka_>
i mean like there si no way my secrets are in it
<ornxka_>
because the file is like 500KB and i have about 150MB of secrets
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<cransom>
has anyone done testing with compression settings for nars (ala nix copy /path file:///tmp?compression=something)? i'm surprised at how slow brotli is (however, the default is highest quality)
<energizer>
ornxka_: that's a lot of secrets, what are they all for?
<samueldr>
secret things I suppose
<samueldr>
(sorry)
<ornxka_>
lol :p
<ornxka_>
its just a bunch of luks headers
<ornxka_>
theyre each like 8MB
camsbury has quit [Remote host closed the connection]
<marble_visions>
hi bbigras! thanks for the info, i'll try this out now
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « haskell-policeman: jailbreak with all compilers to fix the overspecified constraint on relude »: https://git.io/Jfjhb
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<bbigras>
armin: did you tag the wrong person? or I forgot what I told you
<marble_visions>
bbigras: nice, thanks! on to the merge request...
camsbury has joined #nixos
<bbigras>
marble_visions: you did the pull request? the bot didn't post it
<marble_visions>
bbigras: not yet, wanted to make sure i could build locally
minicom9 is now known as minicom
<bbigras>
marble_visions: oh I misread what you said. sorry
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken packages »: https://git.io/Jfjhh
<armin>
bbigras: 20:56 [ bbigras] genevino: I think so
<armin>
bbigras: maybe you were just duck-sitting me, but it helped. :)
<marble_visions>
no probs. i'm wondering if i should also figure out how to make the libuuu available.. but for now i think the best bang for the buck is the uuu binary on its own
<marble_visions>
bbigras: ^
<ornxka_>
lol all of my gtk programs are broken with GLib-GIO-ERROR **: 15:12:20.181: Settings schema 'org.gtk.Settings.FileChooser' is not installed
noudle has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken packages »: https://git.io/Jfjjk
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage2nix: keep repline 0.3.x around for dhall »: https://git.io/Jfjjx
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJeee
Neo-- has quit [Ping timeout: 265 seconds]
cyphase has joined #nixos
cosimone has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arjen-jonathan has joined #nixos
MichaelRaskin has joined #nixos
<jneplokh>
Just wondering before I jump in with Nextcloud on NixOS, are there any important issues/caveats (besides the "pitfalls" in the manual)?
<jneplokh>
Currently my Nextcloud is on a Debian box, but I want to start moving to NixOS, so I wanna know what I should look out for and be prepared
proofofkeags has joined #nixos
alexherbo29 has joined #nixos
alexherbo2 has quit [Ping timeout: 264 seconds]
alexherbo29 is now known as alexherbo2
infandum has joined #nixos
cyphase has quit [Read error: Connection reset by peer]
<infandum>
How do I get the subdirectory of a fetchTarball? Like src = (fetchTarball LINK.tar.gz)/subdirectory
<infandum>
so it would be a subdirectory of the extracted tarball
<lejonet>
Whats the easiest way to force nixos-rebuild to remake everything? I had a crash just as a rebuild was started, so the nixos-rebuild.drv and nix.drv files were corrupted
fendor has quit [Remote host closed the connection]
gustavderdrache has joined #nixos
<samueldr>
nix-store --delete those .drvs maybe?
<samueldr>
I wouldn't know for sure though how to trust the other drvs
<lejonet>
Worth a try
fendor has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
orivej_ has joined #nixos
knupfer has joined #nixos
cr4y1 has quit [Remote host closed the connection]
<lejonet>
Says it can't delete em because they're active, and --query --roots says its because they're in some /proc/<pid>/environ file, but those processes don't exist
<sshow>
need to make a kiosk a bit more layman-friendly :)
kreyren has quit [Remote host closed the connection]
<jtojnar>
<3 puck, works great with basic LUKS
kreyren has joined #nixos
temp466548 has joined #nixos
<puck>
:p
<{^_^}>
[nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/JJefK
temp466548 has quit [Client Quit]
veleiro` has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
alexherbo2 has joined #nixos
veleiro has quit [Ping timeout: 264 seconds]
KarlJoad` has joined #nixos
<{^_^}>
[nixpkgs] @matthewbauer opened pull request #91636 → treewide: add warning comment to “boot” packages … → https://git.io/JJefS
* cole-h
wishes more people with LUKS would test puck's PR so it could un-draft and be merged...
medvid_ has joined #nixos
<puck>
yeah, i think i understand part of the luks stuff better now
<puck>
primarily the use for cryptsetup-askpass
KarlJoad has quit [Quit: Konversation terminated!]
medvid has quit [Ping timeout: 246 seconds]
veleiro`` has joined #nixos
<puck>
i think the best plan is to generalize out the cryptsetup-askpass (aka "allow entering passwords over SSH", i think?) to work with the ZFS stuff too)
sarahzrf has left #nixos ["WeeChat 2.8"]
veleiro` has quit [Ping timeout: 256 seconds]
proofofkeags has joined #nixos
orivej_ has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
<toraritte>
hi, is there a general method figuring out which package a program belongs to? for example just had to install `bind` and `netstat` but they are bundled in the `bind` and `unixtools` packages, respectively. Googling helped but the latter was a harder nut to crack, and nixos.org/nixos/packages.html didn't help much in this case
alp has quit [Ping timeout: 272 seconds]
<toraritte>
(correction: just installed `unixtools` and `netstat` isn'tin it...)
<toraritte>
(correction2: it was, am an idiot)
<{^_^}>
[nixpkgs] @peti merged pull request #91474 → Update Haskell package set to LTS 16.2 (plus other fixes) → https://git.io/JfhrM
<apache8080>
samueldr for the raspberry pi problems I was having the last couple days I ended up getting a 1080p monitor instead of 4k and it worked fine without the serial monitor logging in hack I was using
<samueldr>
ugh, unfun :/
<samueldr>
so it's probably best described as: depends on your hardware :(
<apache8080>
whats weird is on the 1080p monitor the boot loader screen doesn't render properly
<apache8080>
yeah
<apache8080>
seems like this may also just be a bug with raspberry pi's and 4k monitors in general
<samueldr>
plausible
proofofkeags has quit [Remote host closed the connection]
arjen-jonathan has quit [Ping timeout: 272 seconds]
<genevino>
lowcost 4k monitors are great tho
proofofkeags has joined #nixos
<genevino>
i was crazy enough to just order a 2nd one
<genevino>
i mean screenspace is nice, but what's better is more screenspace
<KarlJoad`>
genevino: More space for emacs buffers!
<genevino>
and after building that nixos workstation here there was no turning back, it's just so pleasant to use, i enjoy coming home every day
<genevino>
KarlJoad`: i'm not trying to start an editor war, but yes. ;)
<KarlJoad`>
Neither am I. I use both, but I prefer Emacs, and I use it more frequently, so that was what I defaulted to.
<KarlJoad`>
genevino: I haven't had a teacher. I'm in Uni, so I need to edit a lot of different types of text files all the time. Emacs major modes and the each of managing their configuration is what's made me use it.
<genevino>
oh, thank you <3 :)
<KarlJoad`>
Plus, I get A LOT more battery life out of my laptops with this compared to other editors.
proofofkeags has quit [Ping timeout: 246 seconds]
<genevino>
KarlJoad`: i can relate, i actually have 2 workers who use emacs. i use vi. they're both as strange a person as i am, so it's really not easy to approach them about it.
<genevino>
s/work/co-work/
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<slack1256>
Apart from reading documentation, is there a to count and describe the arguments a function takes on nix-repl?
<KarlJoad`>
genevino: The thing that really got me into Emacs was its interface to GDB. Having an IDE-like interface from GDB, something that doesn't have something like that, really turned me onto it.
orivej has quit [Ping timeout: 265 seconds]
<genevino>
i'm a very literate person. i'm fine when i have my 15 lines vimrc that gets me rid of all the terrible defaults (8 spaces indentation, seriously? and that mouse support thing, bah!!!).
<genevino>
KarlJoad`: interesting.
orivej has joined #nixos
<genevino>
slack1256: well nix repl has some "kind of" tab-completion, maybe it helps you
<KarlJoad`>
genevino: You probably wouldn't like my configuration then. It's spread out over MANY files, roughly one for each language or feature I use.
<genevino>
KarlJoad`: oh i would hate that!
<KarlJoad`>
slack1256: As far as I know, and from my experience, you have to hit your head against the wall until you have all of them.
<genevino>
KarlJoad`: i'm not an IDE person. if your problem becomes THAT complex, it's time to overthink and reconsider your problem.
<KarlJoad`>
genevino: That's because I like to keep things separate, but, like VI/VIM, Emacs has some terrible defaults.
<slack1256>
genevino: But that tab-completion only tells me field of an attribute set, not the "type" of the arguments of a function.
nabataeus has quit [Remote host closed the connection]
<slack1256>
KarlJoad`: Yeah, and looking up the manual each time gets old fast.
<genevino>
slack1256: you can look at the .nix file that defines it, but that's all i know, i'm a noob in the nix universe myself, sorry.
<KarlJoad`>
It's not that it was complex, I was learning C++ on-the-fly, and I needed to debug. I have learned how to GDB from the command line, but being able to see everything move at the same time is also nice.
nabataeus has joined #nixos
whatisRT has joined #nixos
<KarlJoad`>
slack1256: No kidding. You have to look at the source for a determinate answer.
<genevino>
KarlJoad`: that "set mouse=" thing is the very first thing i do when trying to copy/paste something with the default config. whoever came up with this default deserves to be hit by a thunder on the toilet.
<kraem>
i can't find it through google or grepping through my nixos configs (i remember vaguely doing this before). i'm debugging a script that is started through sxhkd and i think it's not picking up my custom path set in zshrc (where some other scripts are called from). how do i append to system path?
<genevino>
kraem: it totally won't pick up your custom path. there is no "system path" in this context. this is something you have altered by configuring your shell, it doesn't matter to the script you call from sxhkd unless you explicitly tell the script about it.
<KarlJoad`>
genevino: I don't use VI/VIM that much, so I can't say what that does. I normally use it when in TTY/emulator or SSH, and the mouse ISN't available.
<{^_^}>
[mobile-nixos] @samueldr merged pull request #172 → mruby: Fix compatibility with bison 3.6 & bump package version → https://git.io/JfjKt
<{^_^}>
[mobile-nixos] @samueldr pushed 3 commits to master: https://git.io/JJeUq
<genevino>
KarlJoad`: i try to do whatever i can without a mouse. using a mouse means having to move my right hand away from my keyboard. i wish to avoid having to do that.
<Raito_Bezarius>
is there any reason that nixos-rebuild switch first tries to install grub then performs mounting operation?
fendor_ has joined #nixos
<Raito_Bezarius>
shouldn't grub install be performed after ensuring that the "boot partition" is mounted?
<kraem>
genevino: hm. alright. my memory must fail me then..
<KarlJoad`>
genevino: I don't disagree. I'm just saying that when using VI/VIM I usually don't have the ability to use a mouse, so its a moot option for me. And in Emacs, I don't have to use it either. I'm used to those commands.
orivej has quit [Ping timeout: 240 seconds]
<genevino>
KarlJoad`: yea i never disagreed with you. i'm hard at hearing and visually impaired, both are reasons why fell in love with terminal emulators at the end, but that's another story.
simba1 has quit [Ping timeout: 272 seconds]
orivej has joined #nixos
lsix has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
<KarlJoad`>
genevino: Gotcha. I just slow down too much when I have to move my hands to the mouse.
knupfer has joined #nixos
fendor has quit [Ping timeout: 240 seconds]
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
<genevino>
KarlJoad`: yeah i try to do whatever i anyhow can with a keyboard. i collect mechanical keyboards (i think i have 18 or so) - you shouldn't walk down the rabbit hole as deep as i did about that hobby.
knupfer has joined #nixos
knupfer has quit [Client Quit]
<genevino>
btw is there #nixos-social or something?
<slack1256>
#nixos-chat
knupfer1 has joined #nixos
<genevino>
ah, thank you
knupfer1 has quit [Read error: Connection reset by peer]