<allenj12>
Hey has anyone here used network manager? I tried setting "network.networkmanager.enable = true;" but its not seeing any wifi which other devices are. any advice?
<aanderse>
allenj12: that should be sufficient generally
<aanderse>
any other exotic network configuration present?
<allenj12>
no, mostly the generated starter config, got rid of the wpa_supplicant enable tho
<aanderse>
did wifi work with wpa_supplicant?
<allenj12>
I did not really ftry tbh, seemed somewhat of a pain... when I ran nixos-rebuild switch it complained about the lack of config file which I thought was silly to for something like nix
<allenj12>
I can try it though, is there a good way to make nix set a starting config?
<clever>
allenj12: i manage /etc/wpa_supplicant.conf without nix, to keep passwords out of /nix/store/
<clever>
allenj12: wpa_passphrase netname password >> /etc/wpa_supplicant.conf, and restart the daemon
<TheGamingBarrel>
allenj12 are you sure that it's not just the fact that networkmanager doesn't see your wifi card?
<allenj12>
ethernet is recognized but not included
<allenj12>
I did not include*
cjpbirkbeck has joined #nixos
hlolli_ has quit [Ping timeout: 245 seconds]
<TheGamingBarrel>
Well, first of all, don't try to use wpa_supplicant or anything else with networkmanager, they'll trip over each other, AC 9560 is being shown therefore it's supported, does `nmcli device wifi list` show your local SSID's?
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjKb4
<allenj12>
TheGamingBarrel It does not seem to have a physical switch that can be set on/off. I am migrating for Manjaro that did have wifi working aswell and pretty sure I did not disable anything by accident... I can always be wrong tho
m0rphism has quit [Ping timeout: 258 seconds]
<oldandwise>
just curious, nix has map,filter but i cannot find reduce (fold) function? Am i missing something? Does it exists somewhere?
<{^_^}>
#64199 (by thorstenweber83, 2 hours ago, open): nixos/mysql: fix mysql test after #63862
<pie__>
i tried to find it in the man page but no luck
<clever>
pie__: All of the single-character shell options documented in the description of the set builtin command can be used as options when the shell is invoked. In addition, bash interprets the following options when it is invoked:
<pie__>
clever, aha.
<clever>
-e Exit immediately if a command exits with a non-zero status.
<pie__>
oh wait i forgot we use bash dont we
<pie__>
i was looking at sh
<allenj12>
clever when I try setting wpa_passphrase like you do I get a permission denied... even with sudo
<GlennS>
How do I configure DNS caching in NixOS (I want to reduce the TTL)? I've found that there is a daemon called nscd, which delegates to nss (which I guess is this? https://en.wikipedia.org/wiki/Name_Service_Switch), but I don't know where to go from there.
Miyu-chan has joined #nixos
polman has quit [Ping timeout: 244 seconds]
polman has joined #nixos
sindrip has joined #nixos
<gchristensen>
GlennS: nscd's ttl cannot be reduced further
polmaan has quit [Ping timeout: 248 seconds]
<GlennS>
I can see it is 0? But can I reduce the TTL on the thing it is delegating to?
<gchristensen>
I don't think nss does caching (since nscd is the name service caching service)
<gchristensen>
I don't think nss does caching (since nscd is the name service caching daemon)*
<gchristensen>
what are you seeing?
<GlennS>
I guess that would make sense. Well I haven't actually tested whether I *need* to do anything with the TTL yet - I'm just reading a best practices page for AWS Aurora - so maybe it will be fine.
<gchristensen>
ah
<clever>
GlennS: nscd should obey the ttl in the dns records, so that would be upstream config
<gchristensen>
it is *likely* fine
oida has joined #nixos
hio has quit [Quit: Connection closed for inactivity]
<GlennS>
OK, well that is useful information. Sounds like I am getting ahead of myself and need to actually try knocking the database over and see how long it takes to figure it out.
<infinisil>
adamantium: You can alternatively use git hashes and supply a sha256 hash too
<infinisil>
Well damn
<infinisil>
adamantium: Ahh, use `ref = "master"`
<infinisil>
Instead of rev
<adamantium>
infinisil: home-manager = builtins.fetchGit { url = "https://github.com/rycee/home-manager.git"; rev = "28f2dd612ec7c3bd07ec951aa6862d0702ab6624"; ref = "release-18.09"; }; # is the default from the wiki
<adamantium>
So you're saying drop the rev and use ref = master?
<infinisil>
adamantium: I mean, you can do whatever works!
<adamantium>
i just wanna do it 'right'
<adamantium>
:)
<infinisil>
That really depends on what want
<infinisil>
you want*
<infinisil>
There's many ways to do things
<adamantium>
I wanted to use fetchGit so that it'd check the file integrity
<Shados>
thePirateKing: I mention the workaround in the issue thread
sb0 has joined #nixos
<infinisil>
adamantium: That always happens by default
<adamantium>
Well, it seems to work as you say. Thanks
<adamantium>
The wiki warned that fetchFromTarball didn't check the hash
<adamantium>
so it recommended fetchGit like above
<infinisil>
You probably mean fetchTarball?
<adamantium>
Yeah, that. Thanks.
<infinisil>
adamantium: If you want to have a *deterministic* fetch, you need to supply a sha256, then you know it's always going to be the same no matter what
<infinisil>
adamantium: And fetchTarball supports that
<typetetris>
clever: yes, but after `/run/current-system/sw/bin`.
<clever>
typetetris: thats your problem
Czen1 has joined #nixos
jkachmar has quit [Quit: Connection closed for inactivity]
<typetetris>
clever: And I have a suspicion where it came from. I have `nix` in my env of the user and source all scripts from `${HOME}/.nix-profile/etc/profile.d` since yesterday. So one of those mixes the path up.
<typetetris>
how sad
Czen has quit [Read error: Connection reset by peer]
<clever>
typetetris: yeah, you dont need the profile.d thing on nixos
knupfer has joined #nixos
FRidh has joined #nixos
<typetetris>
clever: I placed my profile generated by my `${HOME}/.config/nixpkgs/config.nix` there and noticed other stuff lying around there and thought, I should source that too. But obviously, thats even bad.
averell has quit [Remote host closed the connection]
<emilsp>
gchristensen: will do in the evening or on the flight :)
<octe>
how can i build my kernel package from a different source?
<octe>
basically override the source for the kernel package
Czen1 is now known as Czen
<gchristensen>
octe: what linuxPackages do you use?
<octe>
just the normal one
<octe>
or pkgs.linuxPackages_latest
arjen-jonathan has quit [Ping timeout: 246 seconds]
<gchristensen>
ah that one I think is slightly more complicated
<gchristensen>
are you on nixos-unstable or nixos-19.03
<octe>
19.03
<octe>
oh, i thought they worked the same but were just based on different version
<gchristensen>
yeah it does, one sec
<octe>
the reason i want to do it is becaues i'm trying to use gvt-g but i'm having some issues, i tried switching to linuxPackages_latest to see if that would solve it, but gvtg doesnt seem to work at all in that one
<gchristensen>
the trouble is you have to override linux_5_1
<{^_^}>
[nixpkgs] @primeos pushed 3 commits to release-19.03: https://git.io/fj6J8
<hyper_ch2>
gchristensen: hmmmm, there are no configuration options for zed in nixos. should that be included in the normal zfs.nix or should a seperate be created?
Soo_Slow has joined #nixos
<hyper_ch2>
zfs event demon
<hyper_ch2>
daemon
arjen-jonathan has joined #nixos
<gchristensen>
what sort of config does it take?
jbgi has joined #nixos
linarcx has quit [Quit: WeeChat 2.5]
xcthulhu has joined #nixos
ThatDocsLady has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
peel has quit [Quit: Connection closed for inactivity]
steell has joined #nixos
Neo-- has joined #nixos
hyper_ch2 has joined #nixos
<hyper_ch2>
gchristensen: writing configs in /etc/zfs/zed.d - espcially zed.rc --> I'm really pondering to include this because that would e.g. notifiy you when a zpool encounters errors
lacesz has joined #nixos
xcthulhu has quit [Quit: xcthulhu]
<hyper_ch2>
since it's all packaged with zfs I think the zfs.nix could be extended but not sure if a different file should be used
init_6 has quit [Remote host closed the connection]
<sb0>
I see, then it's "modules = filter hasPythonModule drvs" in python-packages.nix
<sb0>
okay, easy enough
Soo_Slow has quit [Remote host closed the connection]
ilmu has quit [Ping timeout: 252 seconds]
jkachmar has joined #nixos
Guillaum has joined #nixos
trevorriles has joined #nixos
fenedor has joined #nixos
ericsagnes has joined #nixos
<nahamu>
found a bug in a package I updated (jsonnet). It should ship another binary. I can open a PR, but how do I bump the version number to indicate that the upstream version hasn't changed, but the the nixpkgs version has?
<etu>
nahamu: you can write: <attribute-name>: fix bug in package
<etu>
or something more creative
<nahamu>
sounds good.
zmlww has quit [Quit: Bye!]
<{^_^}>
[nixpkgs] @nshalman opened pull request #64249 → jsonnet: ship new jsonnetfmt binary → https://git.io/fj6kC
<exarkun>
what is the killer argument for nix/nixos over one of the other management tools (ansible, etc)? particularly... is there that works on ops professionals and one that works on people who have never done ops at all?
<exarkun>
I can't figure out either
zmlww has joined #nixos
ericsagnes has quit [Ping timeout: 268 seconds]
<simpson>
"least bad" is my current argument, but it's certainly not a killer. More of a fido.
<exarkun>
I've argued basically "reduces complexity of management of complex things by localizing consequences" which pretty much fell flat (counterargument: ansible is good enough).
<exarkun>
in a technical context
selfsymmetric-pa has quit [Remote host closed the connection]
<simpson>
Also "works well with existing Nix-based stuff". The ball-of-mud-ability is a big motivator, at least for me.
<gchristensen>
exarkun: with ansible, every step of the way is exciting. with Nix, all the exciting stuff is saved for the very last second, and it is easy to undo it.
<exarkun>
simpson: Hm. That's still a pretty small ball though isn't it?
<gchristensen>
exarkun: with ansible, it is very challenging to know that your change will work for new systems and old systems and middle-aged systems. with Nix, it always works the same
endformationage has joined #nixos
<etu>
exarkun: With ansible (and all others that aren't nix), your systems are more mutable and someone may have changed stuff on one system in one way and changed stuff on other systems in another way. That doesn't really happen with nix.
<simpson>
exarkun: Sure. I guess I don't have any big scars on my arm where the Ansible slipped off the chain and bit me, or any other good stories like that.
<dminuoso>
exarkun: Determinism is my main reason for nix
<exarkun>
gchristensen: I find that to be a very compelling argument, particularly if you think you want to manage more than a small handful of systems... I haven't had much success in using it to convince other people. :/ Not sure why anyone would want unpredictable behavior across different systems...
<dminuoso>
exarkun: I like that the same input attribute set gives me predictable results.
<dminuoso>
exarkun: Only few other tools get close to that (puppet comes to mind)
<gchristensen>
exarkun: to help you argue a stronger case, try tweaking your thinking. they _don't_ want unpredictable behavior across systems. they do want predictability. so, it is something else here at fault
<exarkun>
good idea
<exarkun>
They know Ansible and think they can predict behavior with it, and they don't know NixOS and so they definitely can't predict behavior with it?
<simpson>
exarkun: I usually hear "I dunno" or "it's tough" or "I don't really know Nix" or other brave admissions of not wanting to learn. But I don't exactly have a healthy approach towards teaching people new things, so perhaps I am wrong to dismiss or minimize these excuses.
<dminuoso>
Predictable infrastructure is what management wants.
<dminuoso>
Predictable releases is what management wants.
<dminuoso>
This is universal truth.
<simpson>
dminuoso: It's what management *says* they want. What they want are features, shipped, yesterday, without operational costs or support required.
<dminuoso>
simpson: Management doesnt like stuff breaking.
<etu>
simpson: "not wanting to learn" is what I'm facing at the moment when trying to introduce nix
<dminuoso>
They like things not breaking.
<simpson>
dminuoso: IYSS
<dminuoso>
simpson: Its how I sold Haskell - I write way more robust software in less time. :)
<simpson>
dminuoso: Funny, right now I'm selling management on writing less code and destroying old systems. 1.4MLoC of code deleted so far this year, and counting.
<gchristensen>
exarkun: to put a finer point on what I think other people are saying is: they have fear. fear around learning new things, fear around doing things differently, fear around their cheese moving.
<gchristensen>
try finding what they're afraid of, and making it safe by making small-scale PoCs, or easy on-ramps where little has to change to try it out. using nix to build docker images is great because nothing has to change in production, and they grok how docker does rollbacks
<exarkun>
Fear about cheese moving I get... I don't understand the others so much. Are people really afraid of those things? Sometimes I don't want to learn new things but it's generally out of laziness or exhaustion.
<infinisil>
simpson: Nice
<infinisil>
simpson: How big is the codebase in total?
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ilmu has joined #nixos
trevorriles has joined #nixos
zmlww has quit [Quit: Bye!]
<simpson>
infinisil: Too big still. I'm gonna say about 804KLoC.
<simpson>
Oh, and this is only one monolith; we have an entire other den of microservices too. I *have* started sneaking Nix into those microservice Dockerfiles.
<infinisil>
Noice
zmlww has joined #nixos
Makaveli7 has quit [Read error: Connection reset by peer]
erasmas has joined #nixos
<exarkun>
Hm. I s'pose I could build app Docker images w/ Nix for deployment w/ Ansible. Kinda tired of Docker but Ansible+Docker, though worse than NixOS, is probably better than Ansible w/o Docker...
zmlww has quit [Client Quit]
<adisbladis>
exarkun: That's how I gradually migrated a client.
sindrip has quit [Ping timeout: 260 seconds]
ilmu has quit [Ping timeout: 252 seconds]
<{^_^}>
[nixpkgs] @xbreak opened pull request #64250 → wafHook: Refactored wafHook to use callPackage → https://git.io/fj6kw
zmlww has joined #nixos
ilmu has joined #nixos
<FRidh>
simpson: trying the same at work. Unfortunately we're no able to install anything on our workspaces, making it very hard for co-workers to try it out. Now they have to work on a special workspace for it, which isn't really inviting.
<das_j>
Is there a proper way to change the test runner's architecture? I'd like to execute an aarch64 test on my x64 host system. Instead of using qemu-system-aarch64 for x64, it tries to use qemu-system-aarch64 for aarch64 using binfmt. Is there a way to change that?
<exarkun>
Thanks for the suggestions and ideas, all.
zmlww has joined #nixos
fenedor has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fj6kM
<exarkun>
das_j:there's a config option you can set that defines the architectures for the current machine, does that help?
<exarkun>
das_j: `extra-platforms`, I think
<das_j>
exarkun: I did that and set it to x64, i686 and aarch64. This way, packages are compiled using qemu-user-aarch64, but this shouldn't be done with the test qemu
<exarkun>
oh I see, build on qemu-user-aarch64, test natively
<exarkun>
not sure about that
<{^_^}>
[nixpkgs] @abbradar merged pull request #64165 → nvidia_x11.settings.libXNVCtrl: set OUTPUTDIR for build → https://git.io/fjKQG
<{^_^}>
[nixpkgs] @abbradar pushed commit from @eadwu to master « nvidia_x11.settings.libXNVCtrl: set OUTPUTDIR for build »: https://git.io/fj6kS
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « haskell-stack: update version override for rio »: https://git.io/fj6kH
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken Hydra builds »: https://git.io/fj6kb
<{^_^}>
[nixpkgs] @eraserhd opened pull request #64252 → plan9port: use C compiler from Nix → https://git.io/fj6kx
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj6kp
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « git-annex: update sha256 hash for version 7.20190626 »: https://git.io/fj6kh
<lordcirth>
Yeah, maybe NixOS does something different. Haven't done much with GUI in NixOS yet.
trevorriles has joined #nixos
<stites>
I'm running into a bit of trouble turning on my ethernet from a recovery menu (meaning ZFS failed to mount an unnecessary filesystem, I entered my root password and fixed the issue, but now I can't nixos-rebuild switch to fix the changes)
qqlq has quit [Client Quit]
AluisioASG has joined #nixos
<stites>
would someone be able to help?
sindrip has joined #nixos
<eraserhd>
any thoughts on when the MacOS 10.12 thing will land in master?
hyper_ch2 has quit [Remote host closed the connection]
silver_hook has quit [Ping timeout: 246 seconds]
bakakuna has quit [Remote host closed the connection]
bakakuna has joined #nixos
iyzsong has quit [Ping timeout: 276 seconds]
zmlww has quit [Quit: Bye!]
zmlww has joined #nixos
lambda-11235 has joined #nixos
<LnL>
what 10.12 thing?
coconnor has quit [Remote host closed the connection]
<blackriversoftwa>
Is there a good way to keep build tools from a build around when garbage collecting?
<blackriversoftwa>
I have a CI that's using nix to build a bunch of Haskell stuff, and for each build we run we make a GC root. This caches the build products, but when we run GC then ghc gets deleted and we have to rebuild it
<srhb>
blackriversoftwa: Make a gc root for the drv itself.
<srhb>
At each build, rotate it out for the new one (in case deps changed)
<{^_^}>
[nixpkgs] @alyssais pushed commit from @nshalman to master « jsonnet: ship new jsonnetfmt binary »: https://git.io/fj6LC
<blackriversoftwa>
@gchristensen keep-outputs is a nix.conf option?
<gchristensen>
yeah
<blackriversoftwa>
ok I'll look into that
<stites>
lordcirth no, I've tried to configure manually with ifconfig and dhclient, but dhclient isn't included on nix by default ><
<gchristensen>
I think thaht should do it ...
<blackriversoftwa>
ok thanks
Henson has joined #nixos
dm9 has joined #nixos
<stites>
also for some reason my grub menu never shows so I can't boot from an earlier configuration
sindrip has quit [Remote host closed the connection]
<stites>
blackriversoftwa I think you might also be able to do something like "How to keep build-time dependencies around / be able to rebuild while being offline?" from the FAQ
<stites>
depending on how much space you have on your disk : )
<lordcirth>
stites, if you can't DHCP, just pick an IP in the subnet and go
<stites>
oh! of course
<blackriversoftwa>
thanks all, it looks like keep-outputs is what I want
<Freneticks>
I'm looking for something like /nix/var/nix/profiles/per-user/myuser/..../ffmpeg
GiGa has joined #nixos
GiGa has joined #nixos
GiGa has quit [Changing host]
<GiGa>
Hello all
silver_hook has joined #nixos
<lordcirth>
Freneticks, 'which ffmpeg'?
<lordcirth>
GiGa, hi
<GiGa>
I'm finding while running AVD (Android virtual devices) on Unstable that occasionally (mostly) the system locks up after a period (and at random)
<GiGa>
lordcirth, hello :D
<GiGa>
I've also experienced similar with VirtualBox VMs
<GiGa>
any thoughts on how best to troubleshoot?
<lordcirth>
GiGa, amd64 CPU? How much RAM? Do you have to reboot to clear the lockup?
<Freneticks>
lordcirth: yes thanks a lot !
<lordcirth>
Does it lock up only when you are using it, or if you leave it idle with a VM/AVD running?
<GiGa>
lordcirth, Intel x64 (i5), 8GB RAM which I'm not getting near (although I'll double check), total system lock up, requires a poweroff
<GiGa>
Confirmed nowhere near RAM limits
<GiGa>
Let's see if I can make it crash on demand
<lordcirth>
GiGa, I would try leaving it running, with a terminal open split between 'tail -f /var/log/syslog' and 'dmesg -w'
<lordcirth>
If you're lucky, you'll get an error message in one before it locks up
lacesz has quit [Remote host closed the connection]
lacesz has joined #nixos
<GiGa>
That seems reasonable lordcirth, I'll give that a go
<lordcirth>
In the past I've seen things like "soft lockup on CPU #3" that are pretty clear.
<lordcirth>
That particular problem was on Ubuntu Server, and was fixed by installing intel-microcode, btw
<disasm>
any advice on using openct with nixos? I see it's packaged, but openct-tools just gives an Error: can't open /var/run/openct/status: No such file or directory
<Henson>
I'm trying to define an expression that overrides the pkgs variable with various callPackage functions, using members that refer to other members inside the overriden variable. When using an overlay this is easy, but I want to build a derivation that doesn't depend on me setting up an overlay, which depends on a particular nixpkgs channel you've added. I want the features of an overlay, but...
andreas303 has quit [Remote host closed the connection]
<Henson>
with everything in a single file where I can specify the package list to use and have one point of authority for everything
silver_hook has quit [Ping timeout: 245 seconds]
dsx has joined #nixos
ilikeheaps has joined #nixos
o1lo01ol1o has joined #nixos
minall has quit [Read error: Connection reset by peer]
minall has joined #nixos
<minall>
I installed nixos on a machine, but, the display manager isn't working...
<minall>
I the configuration I added xorg and kde, just uncommented them
<minall>
Is something else that is missing, or something I have to add?
<gchristensen>
did you enable xserver, and xserver's autostart?
<minall>
xserver.autostart for example? it wasn't in the config, I just uncommented everything below *enable x11
tput has joined #nixos
Izorkin has quit [Ping timeout: 272 seconds]
<minall>
and below *enable kde, and sddm service
Izorkin has joined #nixos
<tput>
I just setup distributed builds for myself following the wiki. If a distributed build ever fails for any reason I get a "broken pipe" error. Is this the current state of error messages for distributed builds, or is there something off with my configuration?
<{^_^}>
[nixpkgs] @alyssais pushed to nixpkgs-master « gnupg: vendor SKS patch »: https://git.io/fj6tx
<{^_^}>
[nixpkgs] @alyssais pushed 0 commits to nixpkgs-master: https://git.io/fj6tp
wildtrees has joined #nixos
<minall>
Can someone show me an example of a working configuration.nix when a display-manager works, and with kde plasma
<lassulus>
0 commits?
<minall>
basically the same configuration, I'm just having problems, since the display-manager doesn't seem to be working
<disasm>
answering my own question, looks like mkdir /var/run/openct && sudo result/bin/openct-control init does it. I'll write a nixos service and upstream when I get this working.
silver_hook has joined #nixos
<{^_^}>
[nixpkgs] @alyssais pushed to master « gnupg: vendor SKS patch »: https://git.io/fj6qv
<qyliss>
lassulus: deleted the branch I accidentially created
<lassulus>
ah ok
<eraserhd>
OK, given that it's got to be necessary for other people contributing to nixpkgs, how do people maintain multiple branches concurrently? Seems like this should be scripted.
<eraserhd>
e.g. I have two branches that I need to maintain while in PR, and they need to be merged into one branch that I install from locally.
leotaku has joined #nixos
<Henson>
how can I do something like this: let overlay = import (./overlay.nix) {}; in import <nixpkgs> { overlays = [overlay]; } when I try to do this I get the error "error: attempt to call something which is not a function but a set". But if instead of importing overlay.nix I assign the contents to the overlay variable, then it works.
<Henson>
gchristensen: this may be a simple question, but why does that work? What does {} do after the import statement? When I evaluate import (./overlay.nix) {} it evaluates to a lambda expression, so I thought it would be okay
<gchristensen>
> :p import <nixpkgs>
<{^_^}>
<LAMBDA>
<gchristensen>
> :p import <nixpkgs> {}
<{^_^}>
overrideDerivation not yet supported for functors
zacts has quit [Ping timeout: 246 seconds]
mexisme_ has joined #nixos
Drakonis has joined #nixos
Ariakenom has joined #nixos
<clever>
Henson: nixpkgs is a function that takes a set, that main contain overlays and config
<clever>
Henson: an overlay is a function that takes a set and returns a 2nd function, that takes a 2nd set
<clever>
and nixpkgs expects an overlay to take 2 args
<clever>
s/main/may/
<{^_^}>
[nixpkgs] @primeos merged pull request #64138 → way-cooler: Mark as broken → https://git.io/fjKXW
<{^_^}>
[nixpkgs] @primeos pushed commit from @matthiasbeyer to master « way-cooler: Mark as broken (#64138) »: https://git.io/fj6qs
<Henson>
gchristensen, clever: ok, thank you for helping me figure this out
mexisme_ has quit [Ping timeout: 245 seconds]
drakonis_ has quit [Ping timeout: 245 seconds]
silver_hook has joined #nixos
___laika has quit [Ping timeout: 245 seconds]
stepcut_ has joined #nixos
ThatDocsLady has quit [Quit: Leaving]
minall has quit [Ping timeout: 268 seconds]
stepcut has quit [Ping timeout: 248 seconds]
Drakonis has quit [Ping timeout: 252 seconds]
andreas303 has joined #nixos
gagbo has joined #nixos
<disasm>
answering my question again... using pcscd.enable = true in nixos config makes opensc-tool work without needing openct!
v88m has joined #nixos
<gchristensen>
disasm: want to write a wiki page? :)
jackdk has quit [Quit: Connection closed for inactivity]
zacts has joined #nixos
Jackneill has quit [Remote host closed the connection]
andreas303 has quit [Remote host closed the connection]
andreas303 has joined #nixos
<disasm>
gchristensen: absolutely :)
dm9 has quit [Quit: WeeChat 2.5]
<emilsp>
gchristensen: I did benchmark gpg between nixos and arch, the slowness came from compression, not encryption. I apologize for raising alarms.
<gchristensen>
ahh cool nice, glad to hear!
<gchristensen>
always good to get a conclusive answer than leave it as a "well, X is just slower"
<emilsp>
And with the same args, it's just as slow/fast on both systems.
clacke_movim has joined #nixos
<clacke_movim>
Or what do you mean by "specify the package list to use"?
sheeldotme has joined #nixos
anton2 has joined #nixos
anton2 has quit [Client Quit]
<exarkun>
is there a debug build of python in nixpkgs somewhere?
dansho_ has joined #nixos
ambro718 has joined #nixos
<Izorkin>
Mic92: checked netdata?
toon1 has joined #nixos
andreas303 has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
toon1 has quit [Client Quit]
andreas303 has joined #nixos
andreas303 has quit [Remote host closed the connection]
arjen-jonathan has joined #nixos
freeman42x has joined #nixos
TheGamingBarrel has quit [Quit: leaving]
<exarkun>
when I `pkgs.python.overrideAttrs (old: { configureFlags = old.configureFlags ++ [ "--enable-pydebug" ]; })` I get the exact same derivation as pkgs.python
<exarkun>
Surely it should differ by the inclusion of "--enable-pydebug" in the arguments given when configuring?
andreas303 has joined #nixos
Ultrasauce has joined #nixos
laerling has joined #nixos
<exarkun>
eh weird except w/ `nix-build --expr ...` it does what I expect I think, just not in my shell.nix...
<clever>
exarkun: how did you include it in your shell.nix?
<timokau[m]>
nix-build hangs for me when I try to build something offline. Is that normal? I think I have done offline builds before, but I'm not entirely sure
<gchristensen>
exarkun: try importing nixpkgs with aliases disabled. one sec.
<timokau[m]>
It just complains that its unable to download the narinfo file from the cache and then hangs
<gchristensen>
exarkun: import <nixpkgs> { allowAliases = false; } -- this should work... but maybe it is nested once, { config = { allowAliases = false; } }
Denommus has quit [Read error: Connection reset by peer]
<exarkun>
it does seem to be nested in config - but I don't see a difference as a result
* exarkun
goes to read about what allowAliases does
<infinisil>
And the general resolution seems to have been to actually deprecate ghcjs support
<turion>
Yes, a bit infuriating
<turion>
Still, stack --no-nix fails installing GHCJS on my system. Now I'm wondering where to report. commercialhaskell/stack, nixos/nixpkgs, or the project I'm trying to build
<elvishjerricco>
Yea it’s strange that Stack doesn’t support --nix for GHCJS because Nix is the best way to get GHCJS right now
<cocreature>
afaik stack doesn’t support ghcjs at all in the latest version.
<turion>
:(
tsrt^ has quit []
<cocreature>
the good news is that if you’re using nix, it’s fairly easy to get your deps from nix and use cabal for incremental builds of your project
<selfsymmetric-pa>
infinisil: That absolutely wrecked me when I first encountered it. "Hey, Nix is a cool tool for explicit configuration! Let's use it implicitly and destroy all introspection."
<selfsymmetric-pa>
Absurd. I'll never get that hour back.
<cocreature>
yeah it definitely supported it a while back but I think it caused more problems than it solved so they decided to drop support
awhuac^ has joined #nixos
<turion>
cocreature: I'm inclined to do that for personal projects (although I still lack a starting point on how this actually works), but unfortunately that luna-studio is using stack
zacts has quit [Quit: WeeChat 2.4]
<cocreature>
:/
<turion>
I don't know how they'll handle stack-2.0
<gchristensen>
can I tell firefox no really it is okay to open PDFs you downloaded?
selfsymmetric-pa has quit [Remote host closed the connection]
<turion>
When using stack, I often run into "I don't know how to install GHC on your system configuration, please install manually". E.g. `stack --no-nix` on the aforementioned project. Running it with --verbose doesn't give much insight. What could be the matter?
<clever>
turion: have you tried haskell.packages.ghcjs.ghcWithPackages and just skip stack?
<turion>
Which means basically rewriting all the stack.yaml as nix, it seems
leocp1 has joined #nixos
<stites>
is there any way to run nixos-rebuild switch without having dbus running?
<clever>
turion: almost done
jbgi has joined #nixos
<clever>
stites: why is dbus not running?
o1lo01ol1o has joined #nixos
___laika has quit [Quit: WeeChat 2.4]
<stites>
I am still in recovery mode and nothing is running (and running systemctl run <anything>) triggers some sort of hangup that requires me to restart
<clever>
stites: you probably want `nixos-rebuild boot`
<clever>
switch wont work in recovery mode
<stites>
cool! thanks
<laalf>
i have a new nixos iso booted. how can i use fetchtarball/git with nixos-install? nixos-install asks for git, but doesnt throw any useful error when it runs fetchtarball and just failes later
<stites>
hmmm -- anyone here know much about zfs? nix is failing to boot with "cannot import 'tank': more than one matching pool" but when falling into recovery mode zpool import only shows one 'tank' (I have 4 disks set with with raidz1).
selfsymmetric-pa has quit [Remote host closed the connection]
<Izorkin>
Mic92: not cheked build in darwin
<clever>
stites: read the stage1 script in the initrd and see how its trying to import the pool
<clever>
stites: if you add boot.shell_on_fail, it will allow you to get a shell inside the initrd to debug things
<clever>
stites: then read /init to see what its trying to do
<clever>
stites: `boot.trace` will also make it print everything as it does it
<stites>
thank! I will check this out now
<Henson>
is there a way in a derivation to find the nix store path of a package set you're using? Presumably it would be what /nix/var/nix/profiles/per-user/root/channels points to
<Henson>
clever: but from within a derivation. I was to create a derivation whose output is a symbolic link to the package store path that created it
o1lo01ol1o has joined #nixos
<clever>
Henson: ln -sv ${<nixpkgs>} $out/foo
<hyper_ch>
Hmmm, in a nixos module, I still can't understand how exactely a config file in /etc/.... is written by the module. I'm trying to add ZED options to zfs.nix
<stites>
oh! for some reason I'm not getting the verbose output of the boot menu (also not getting an option to choose my configuration from grub)
ornx has quit [Read error: Connection reset by peer]
<clever>
stites: the problem is in systemd, so the initrd debug flags wont help much
Myhlamaeus1 has joined #nixos
__monty__ has quit [Quit: rebootying]
amakthel has joined #nixos
selfsymmetric-pa has joined #nixos
<stites>
the import-tank-start script runs some bash functions that it defines in a foor loop: poolReady "tank" && poolImport "tank" && break
<clever>
stites: and what is the definition of poolReady and poolImport?
polmaan has joined #nixos
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__monty__ has joined #nixos
<stites>
poolReady is running: zpool import | awk "/pool: $pool/ { found = 1 }; /state:/ {if (found == 1) { print \$2; exit } } ; END { if (found == 1) { print \"MISSING\" } } ")
<clever>
stites: and if you run `zpool import` what does it say?
<stites>
poolImport is ""zpool import -d "/dev" -N $ZFS_FORCE "$pool"
<clever>
stites: and if you try to import the pool the same way poolImport does, what happens?
<stites>
then I only see one 'tank'
<{^_^}>
[nixpkgs] @veprbl merged pull request #64250 → wafHook: Refactored wafHook to use callPackage → https://git.io/fj6kw
<{^_^}>
[nixpkgs] @veprbl pushed commit from @xbreak to master « wafHook: Refactored wafHook to use callPackage (#64250) »: https://git.io/fj6YW
<stites>
poolImport breaks with the same output
<clever>
stites: and if you remove the `-d /dev/` what happens?
<stites>
everything works fine (not setting force, also)
<clever>
stites: is `boot.zfs.devNodes = "/dev";` set in your config?
<{^_^}>
[nixpkgs] @bdesham opened pull request #64262 → weechat: prevent impure use of system Python → https://git.io/fj6Yl
<stites>
it was!
<stites>
I thought i removed it, though
<stites>
and it looks like it's not there anymore
<clever>
there is likely a duplicate device node in /dev/ causing it to get confused
<clever>
stites: if `nixos-rebuild boot` is failing, it wont update /boot to remove it
<clever>
and if /boot isnt mounted, it cant update /boot at all
<stites>
maybe it has something to do with the fact that I can't select the NixOS configuration in grub?
<clever>
stites: what is stopping you from selecting it?
<stites>
oops, the message before that was "/boot is mounted and nixos-rebuild boot succeeds"
<stites>
not sure! my screen is totally blank until stage 2 starts
<clever>
stites: that sounds like a bios problem
<stites>
I haven't been able to boot into BIOS either
<stites>
yeah
<stites>
hold on
mexisme_ has joined #nixos
growpotkin has joined #nixos
<growpotkin>
for NixOps is there some phase where I can set up mutable files and folders?
<growpotkin>
I basically just want a place to write a script that hooks right after the installs
<clever>
growpotkin: what is the main purpose for those files? and do they have to be synced between things?
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<growpotkin>
clever: we are copying over our SQL database and it needs to be write able. I am sneaking it into the build through a derivation, and trying to copy it out and dump it into a read/write area like `/usr/mydb.sqlite3` or something
<tokudan>
I'm getting a error: cannot coerce a set to a string at this entry: http://paste.debian.net/1090209/. is there a way to figure out what exactly is the issue or what causes this?
o1lo01ol1o has joined #nixos
<clever>
tokudan: try deleting line 19 and see what happens, then try 15, 13, and 7, one at a time
selfsymmetric-pa has quit [Remote host closed the connection]
<tokudan>
clever, apparently this is enough to cause the error: ${lib.mkIf (!cfg.allowReboot) "${config.system.build.nixos-rebuild}/bin/nixos-rebuild switch ${toString cfg.flags}"}
o1lo01ol1o has quit [Remote host closed the connection]
<tokudan>
and "${config.system.build.nixos-rebuild}/bin/nixos-rebuild switch ${toString cfg.flags}" is copy&paste from the existing auto-update module that works
<tokudan>
so it is the lib.mkIf (!cfg.allowReboot)
mexisme_ has joined #nixos
<tokudan>
but allowReboot is defined here: http://paste.debian.net/1090213/ and is pretty much just a copy of cfg.enable... so it's probably the !
<clever>
tokudan: oh, yeah, mkIf doesnt work like that
<clever>
tokudan: mkIf returns a special attrset, that the module system will dynamically ignore
<clever>
tokudan: you want lib.optionalString
o1lo01ol1o has joined #nixos
<tokudan>
ah...
<mkaito>
anyone consider using `config.docker-images` instead of `docker-compose`? how was it?
<Henson>
clever: thanks for the tip on the path to <nixpkgs>
psyanticy has quit [Quit: Connection closed for inactivity]
<Henson>
is there a way to make fetchTarball use a local file?
orivej has quit [Ping timeout: 248 seconds]
<clever>
Henson: paths already do that, src = ./path/to/thing;
<tokudan>
clever, yay, that worked. thanks clever :)
selfsymmetric-pa has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<Henson>
clever: I'm trying to import the contents of a local package archive, like importedPackages = import (fetchTarball { url = "./package.file.tar.gz" }) {}. It works fine if I point fetchTarball to an HTTP URL of the file. But if I just put in the file path, or the file name, it complains.
<Henson>
clever: and file://./package.file.tar.gz doesn't work as a URL
baconicsynergy has joined #nixos
<baconicsynergy>
hello friends :)
<lordcirth>
baconicsynergy, hi
leocp1 has quit [Quit: leaving]
<clever>
Henson: what about importedPackages = import (fetchTarball { url = ./package.file.tar.gz; }) {}
erasmas has quit [Read error: Connection reset by peer]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
wildtrees has quit [Remote host closed the connection]
<Henson>
clever: no, it says "value is a path while string was expected". Then if I enclose it in quotes it vainly tries connecting to a URL that is the filename
<clever>
Henson: why does it need to be fetchTarball?
erasmas has joined #nixos
wildtrees has joined #nixos
<matt`>
hey all. i'm just getting started using nixos and i'm having trouble figuring out how to use overlays. i've got an overlay defined in a ./overlays subdir (i've split them up by package). how do i get configuration.nix to use overlays when they're available? normally, previusly I've been using something like this: environment.systemPackages = with pkgs; [ ... ];. How do I get pkgs to refer to all nixpkgs with overlays applied? thanks!
<hyper_ch>
hmmm, in a nixos module option: is it not possbile to have a type = types.path but then also default = false meaning either provide nothing or give a full filesystem path?
<matt`>
s/normally,//
<Henson>
clever: well, because fetchTarball decompresses the file. The tar.gz file is about 15 MB, whereas the uncompressed path is about 150 MB. I want to refer to the compressed file and not the decompressed path.
<clever>
Henson: and you need to import a default.nix within it?
<alexarice[m]>
matt`: If they are in a seperate file you can do something like ``` let overlay1 = import /path/to/overlay.nix; in { nixpkgs.overlays = [ overlay1 ]; ... rest of config ... }
<alexarice[m]>
not exactly sure on the syntax there but that's the idea
<alexarice[m]>
you then use environment.systemPackages as you did before
judson has quit [Ping timeout: 276 seconds]
<matt`>
alexarice[m]: thanks. is there a way to set `let overlay` to all overlays in a dir?
<matt`>
or i have to set them individually?
<{^_^}>
[nixpkgs] @ramirez7 opened pull request #64264 → [Golang] nix-shell: Symlink src root under package path in GOPATH → https://git.io/fj6OE
<alexarice[m]>
matt`: I am unsure, sorry
<matt`>
no worries, thanks for the help
<alexarice[m]>
is there a reason you need them all as seperate overlays?
<{^_^}>
[nixpkgs] @ramirez7 closed pull request #46553 → [Golang] Link src root w/package path prefix in nix-shell → https://git.io/fAoke
<matt`>
alexarice[m]: some are large files, so i like the idea of splitting them up
<alexarice[m]>
matt`: fair enough, if you wanted a hacky way to do it I think you can probably get a list of files in a directory through nix and then map over them to import them
<matt`>
alexarice[m]: makes sense, i'll look into that.
<alexarice[m]>
though I am not sure this is a good idea/ will be a nice solution unless you really have a lot of overlays / change them often
knupfer has joined #nixos
Netsu has quit [Remote host closed the connection]
cjpbirkbeck has quit [Quit: Quitting now.]
<hyper_ch>
In a nixos module option: is it not possbile to have a type = types.path but then also default = false meaning either provide nothing or give a full filesystem path?
<philipp[m]>
How exactly does the nixpkgs staging branch work? What is the process of staging getting into releases?
<clever>
philipp[m]: staging gets merged into master, and releases are cut from master every 6 months
<matt`>
alexarice[m]: ok, i'll try different things out, maybe just import each manually unless that become cumbersome? most people just put them all in a single file?
<philipp[m]>
clever: And the unstable releases are just snapshots of master that made it through an entire hydra run without breaking?
stites has quit [Remote host closed the connection]
<alexarice[m]>
matt`: I personally just define them all in `configuration.nix` but I only have a couple
<matt`>
alexarice[m]: gotcha
<clever>
philipp[m]: yep
<philipp[m]>
clever: Thanks!
<hyper_ch>
clever: I'm trying to optionalize the ZED stuff for zfs
<stites>
The blank screen had to do with a bad graphics card, I swapped it out for another one and am getting all expected output
Jackneill has joined #nixos
ym555_ has joined #nixos
<stites>
the other thing that's happening is that I was trying to switch from using grub.efi to just using the systemd.efi module (at this point I've provisioned 3 new boxes and have just been sticking to the default bootmanager)
bemyak has quit [Quit: Konversation terminated!]
<clever>
stites: i prefer grub, more familiar with it and it has more features
<stites>
I also bumped this box from 18.09 to 19.03, so it looks like all old configurations are in grub, but for some reason grub hasn't been replaced with the nixos default
<stites>
I'm not very familiar with either -- I figured I'd go with whichever has more support for nix
<stites>
What's the difference between the systemd boot menu and grub anyhow? I didn't even know that systemd could manage boots
<stites>
okay, I sort of get the difference now
<clever>
stites: grub is practically an entire os, with a wide range of features and a fairly rich config language and interactive menu and repl
<clever>
stites: while systemd-boot is just a dumb (efi only) bootloader
chris____ has joined #nixos
<stites>
if I wanted to switch to using systemd-boot, or switch vice-versa (which I am expecting might be a problem), would I need to.... delete the alternative folder in /boot? (the /boot/efi vs /boot/grub)?
<clever>
stites: nope
<clever>
stites: just set the right enable flags in configuration.nix
<stites>
okay -- how does one get chosen over the other?
<clever>
boot.loader.grub.enable vs boot.loader.systemd-boot.enable
<stites>
hmm... I think I did that
<clever>
stites: one min
<stites>
well, I'm staring at it and nixos-rebuild boot worked, so I think it is working
<clever>
stites: can you pastebin `efibootmgr -v`'s output?
<clever>
Boot0004* UEFI OS HD(1,GPT,27c99b08-455d-4dfe-a44f-6150cbc09ef8,0x800,0x100000)/File(\EFI\BOOT\BOOTX64.EFI)..BO
<clever>
-rwxr-xr-x 1 root root 119K Oct 29 2017 /boot/EFI/BOOT/BOOTX64.EFI
judson has joined #nixos
<clever>
and then that path witnin the partition (which is mounted to /boot) exists
<clever>
[root@system76:~]# nix-shell -p
<clever>
[nix-shell:~]# strings /boot/EFI/BOOT/BOOTX64.EFI | grep -i grub | head
<clever>
grub_mod_fini
<clever>
grub_mod_init
<clever>
Welcome to GRUB!
Myhlamaeus1 has quit [Remote host closed the connection]
<clever>
stites: and there are signs of grub within the file, on my end
<clever>
stites: double-check the whole path on your end, and see if it looks right
<stites>
oh! efi variables are not supported on this system
<stites>
that's what's going on
<clever>
stites: if you dont boot via efi, then you cant configure efi
<stites>
oh... hold on maybe I don't even have an efi partition
<clever>
stites: what FS is /boot/ ?
<stites>
it's a /dev/sdc1
<clever>
stites: blkid /dev/sdc1
<stites>
it's... ext4!
<clever>
stites: then efi will never work
<clever>
stites: go back to grub!
<stites>
there is also a partition with an EF02 (the efi filesystem code, I believe) which I seem to have ignored (and the BIOS is UEFI compatible)
Jackneill has quit [Remote host closed the connection]
<Ankhers>
Does anyone know how frequently hackage2nix gets run, and how it gets run (does someone do it manually, does Nix have some way of running these things automatically, something else)?
<stites>
so I guess my bug is right there and I need to figure out how long I want to spend on this
<stites>
thanks for helping, clever!
Myhlamaeus1 has joined #nixos
lambda-11235 has joined #nixos
<stites>
I'm fairly sure you also help me set up my first nixos+zfs configuration (which also happens to be this box)
<stites>
: )
<clever>
stites: if you mount the EF02 to /boot/ and use boot.loader.grub.efiInstallAsRemovable then it will treat the disk like a usb stick
<clever>
stites: and configure it to boot without using efi vars
<clever>
grub only of course
<stites>
thanks for the pointer!
<Ankhers>
Also, is there any sort of preference to having language dependencies reside inside of nixpkgs?
Myhlamaeus1 has quit [Remote host closed the connection]
<stites>
Ankhers: If you are running into trouble you can always override your haskellPackges and pull in dependencies from github (or skip it all and use stackage2nix, but you get huge json blobs)
<stites>
I realize that I'm not really answering your question, though
<Ankhers>
stites: Not quite. I'm thinking about whether or not I should generate one large file like that for Erlang, or if I should just have each project download directly from hex.pm. I'm hoping someone knows the tradeoffs for something like this.
<gchristensen>
Ankhers: probably nicer to go a route like bundix/node2nix/yarn2nix/carnix
m0rphism has quit [Ping timeout: 245 seconds]
Ariakenom has quit [Quit: Leaving]
<{^_^}>
[nixpkgs] @Ericson2314 merged pull request #63904 → cc-wrapper: use -iframework instead of -F → https://git.io/fjoKg
<{^_^}>
[nixpkgs] @Ericson2314 pushed 2 commits to staging: https://git.io/fj63a
<Ankhers>
gchristensen: I'm not overly familiar with those tools. Do they just download deps on demand from their respective package sites?
Myhlamaeus1 has joined #nixos
<gchristensen>
usually the interpret like a dependency lockfile and convert it in to a Nix expression of exactly those dependencies at those versions, with fetchers to get them
<Ankhers>
Gotcha. Thanks.
<gchristensen>
yep!
wildtrees has quit [Quit: Leaving]
<stepcut>
I am a bit confused about how nixops rollback and generations work. If I do `nixops delete-generation 2 -d some-deployment` does that only remove the generation from the machine I am running nixops on? Or will it at some point also be removed from some-deployment?
knupfer has quit [Ping timeout: 264 seconds]
<manveru>
Ankhers: check out mixnix
zacts has joined #nixos
Miyu-chan has quit [Ping timeout: 272 seconds]
Neo-- has quit [Ping timeout: 272 seconds]
eskim0 has quit [Remote host closed the connection]
selfsymmetric-pa has quit [Remote host closed the connection]
earldouglas has joined #nixos
<earldouglas>
Certain programs, e.g. gnucash, seem to be missing icons within the application. Is there some shared icons package I can install?
<earldouglas>
Not sure if this is some GTK/QT/etc problem.
<Thra11>
If I'm writing a simple custom linux kernel derivation, can I refer to the original `nativeBuildInputs` so that I can append something to the list instead of repeating all the members?
zacts has quit [Quit: WeeChat 2.4]
Denommus has quit [Remote host closed the connection]
chris____ has quit [Remote host closed the connection]
sheeldotme has quit [Ping timeout: 245 seconds]
erasmas has quit [Quit: leaving]
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
turion has quit [Ping timeout: 252 seconds]
o1lo01ol1o has joined #nixos
<{^_^}>
[nixpkgs] @risicle opened pull request #64266 → [r19.03] expat: add patch for CVE-2018-20843 → https://git.io/fj6sI
xcthulhu has joined #nixos
<infinisil>
Thra11: Well if you're using overrideAttrs, you can do `.overrideAttrs (old: { nativeBuildInputs = old.nativeBuildInputs or [] ++ [ ... ]; })`
lambda-11235 has quit [Quit: Bye]
<Thra11>
infinisil: what if I've just got something like the linux-hardkernel-4.14.nix in nixpkgs, but I want to add `hello` to its `nativeBuildInputs`?
eskim0 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @tokudan opened pull request #64267 → system.autoUpgrade: optionally allow rebooting the system on kernel change → https://git.io/fj6sm
o1lo01ol1o has quit [Remote host closed the connection]
Soo_Slow has quit [Remote host closed the connection]
wolfy47 has joined #nixos
o1lo01ol1o has joined #nixos
<wolfy47>
hii!!! im here to kick some butt and ask if anybody here knows if its possible to install multiple operating systems, lets say, Void Linux, or Ubuntu under ZFS installation of NixOS.
<wolfy47>
it might sound weird, im not sure if its even possible, but the ZFS guide on the wiki hints at it being an option.
<gchristensen>
I can't imagine why not :)
<gchristensen>
just choose a different dataset as the root filesystem
__monty__ has quit [Quit: leaving]
jackdk has joined #nixos
<{^_^}>
[nixos-weekly] @nh2 pushed to master « weekly 11: Add entries on about bootstrapping, static-haskell-nix, gstreamer »: https://git.io/fj6so
wfranzini has quit [Remote host closed the connection]
mexisme_ has joined #nixos
wfranzini has joined #nixos
MmeQuignon has quit [Ping timeout: 248 seconds]
xcthulhu has quit [Quit: xcthulhu]
<wolfy47>
sorry was away for a sec! so i just have to use, for example, /mnt/root/<name of os> instead of /mnt/root/nixos. So its the Inode ( File) being different.
<wolfy47>
and alright, thanks, i just was wondering since Ubuntu doesn't use regular ZoL
<Thra11>
infinisil: Where do I put the overrideAttrs exactly? buildLinux.overrideAttrs ?
MmeQuignon has joined #nixos
ericsagnes has quit [Ping timeout: 258 seconds]
laerling has quit [Remote host closed the connection]
fusion809 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @jameysharp opened pull request #64268 → nixos/nscd: DynamicUser and other cleanups → https://git.io/fj6sy
lambda-11235 has joined #nixos
<wolfy47>
one last question guys! now that i know to create a new dataset, how do i configure the bootloader? is Systemd-boot able to detect multiple OSs? or what do i do?
<wolfy47>
sorry if too much questions, i really don't want to screw this up :D
clacke_movim has left #nixos [#nixos]
o1lo01ol1o has joined #nixos
<Thra11>
infinisil: I'll try to make sense of it tomorrow. Thanks for you help and patience.
ericsagnes has joined #nixos
baconicsynergy has quit [Remote host closed the connection]
baconicsynergy has joined #nixos
hio has quit [Quit: Connection closed for inactivity]
mac10688 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<emilsp>
was it a known issue that using gnome-control-center to try and connect to a hidden wifi network results in a failed assertion (munmap_chunk(): invalid pointer) ?
mexisme_ has joined #nixos
<fresheyeball>
clever: I am running pg_ctl in a nix shell as part of an integration test
<clever>
fresheyeball: you may need to set an env var to control where the server is
<fresheyeball>
clever: hmm
mexisme_ has quit [Ping timeout: 245 seconds]
<{^_^}>
[nixpkgs] @alyssais pushed commit from @risicle to release-19.03 « rdesktop: 1.8.3 -> 1.8.6 »: https://git.io/fj6Gt
alex`` has quit [Ping timeout: 245 seconds]
<switchy>
is it preferable to build things as shared or static libs?
<clever>
switchy: i generally go shared, not much benefit to static
<switchy>
yeah, that's my thought. I'm wondering why liblapack defaults to static -- makes it a little awkward because you have to link in libgfortran too
mexisme_ has joined #nixos
wolfy47 has quit [Remote host closed the connection]
fusion809 has quit [Remote host closed the connection]
<fresheyeball>
clever: so it looks like this is controlled by postgresql.conf
<stites>
hey clever, so I finally got around to attempting the fixes with grub -- but I'm still hitting that boot.zfs.devNodes (this time, zfs gets set to `-D /dev/disk/by-id/` by default)
ddellacosta has quit [Ping timeout: 246 seconds]
<stites>
I tried to remove the path, since `zpool import -a` and `zpool import -N tank` both work, but I don't know how to get nixos to remove the `-d` parameter
<clever>
switchy: maybe the #zfsonlinux channel knows more?
<stites>
I'm guessing that's for me
<stites>
I'll check it out
<stites>
alternatively, how would I overwrite this service file?
<clever>
stites: disabledModules, but its probably better to find out why its finding dups
cjpbirkbeck has joined #nixos
<stites>
kk, thanks!
zacts has quit [Quit: WeeChat 2.4]
fusion809 has joined #nixos
v0|d has quit [Ping timeout: 244 seconds]
zacts has joined #nixos
MmeQuignon has quit [Read error: Connection reset by peer]
Drakonis has joined #nixos
<fresheyeball>
clever: any idea why this would happen?
<fresheyeball>
I am at a total loss
silver has joined #nixos
<clever>
fresheyeball: is postgresql actually running?