kleisli_ has quit [Remote host closed the connection]
kleisli_ has joined #nixos
nixbitcoin_ is now known as nixbitcoin
bdju has quit [Remote host closed the connection]
bdju has joined #nixos
jmeredith has joined #nixos
nekroze has joined #nixos
<nekroze>
How can I change the python version CMake uses? I am in a `nix-shell` with cmake but I am getting "Could NOT find PythonInterp: Found unsuitable version "2.7.18", but required is at least "3"
<infinisil>
nekroze: Add python 3 to the nix-shell?
<nekroze>
infinisil: that did not change anything
<infinisil>
Well you probably need to remove 2 as well
<clever>
nekroze: how is cmake trying to detect python?
<nekroze>
tried `nix-shell --pure` too
<nekroze>
which left me unable get a python2 even from my system
<infinisil>
nekroze: What's the full command
wiml has quit [Ping timeout: 260 seconds]
<nekroze>
I am trying to run a rust something with `cargo run` but it needs to build deps which use cmake
<nekroze>
I guess from the stacktrace that whatever dependency is using cmake is calling FindPythonInterp
nick_h has quit [Ping timeout: 264 seconds]
nick_h has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJvrG
slack1256 has joined #nixos
zeromorphism has joined #nixos
<scoates>
gchristensen: I replied on #90584. Not sure if it's helpful tbh (-:
<Fuuzetsu>
Hi; on one of our machines, the nix install suddenly became completely broken in that any `nix` command fails to run with "error while loading shared libraries: libsodium.so.23: cannot open shared object file: No such file or directory". If I strace on this machine and compare with strace output on another, I see that on one, the /nix/store/ya2xrk06bjj52s5jcv5yyx5hjnxjjjak-libsodium-1.0.18/lib/libsodium.so.23 path exists but on the
<Fuuzetsu>
broken machine, it does not. It used to work however: could it have been GC'd? Why would something nix itself depends on get GC'd? How do I go about fixing it seeing I can't do any nix commands...
<Fuuzetsu>
I should clarify that these are Ubuntu machines with multi-user nix install, not NixOS.
turion has quit [Ping timeout: 265 seconds]
ryantm_ has quit [Ping timeout: 264 seconds]
ryantm_ has joined #nixos
AstroBadger has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
AstroBadger_ has joined #nixos
BellRooks has joined #nixos
<BellRooks>
wheres the configure file from the git repo? can i install this on armv6?
<drakonis>
how can i crosscompile nix to another architecture?
<drakonis>
so i can build one that runs on arm
dansho has joined #nixos
<drakonis>
this is a mac step mind you
<Fuuzetsu>
As follow-up, I managed to run `LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libsodium.so.23 /nix/var/nix/profiles/default/bin/nix-store --repair-path /nix/store/ya2xrk06bjj52s5jcv5yyx5hjnxjjjak-libsodium-1.0.18`... but very strange.
<clever>
BellRooks: oh, but the above tarball is arm7, not arm6
lawr3nce has joined #nixos
nekroze has quit [Quit: Lost terminal]
<drakonis>
by the way
<drakonis>
anyone using flakes should be able to help me out with this
<drakonis>
i can't upgrade my system to the new revision because the hydra flake lock version is unsupported
<drakonis>
any way to get around checking existing flakes to build the new one?
<bqv>
update nix
<bqv>
install a newer version of nix
<bqv>
then you'll be able to do it
<bqv>
i can send you a NAR if you want
<bqv>
drakonis: fwiw, if you're not using the nix flake, you should be, pkgs.nixFlakes is just set to a random successful hydra build and it falls weeks behind often
<clever>
a closure uses a different arg to unpack it
<drakonis>
hmm
<bqv>
Oh
<clever>
--import is for a closure
<bqv>
Why are nars so arcane
<clever>
and that one does register it as valid
<clever>
bqv: a nar is basically just a tar, with less features
<drakonis>
lacks a valid signature
<clever>
but if its a closure, its not a nar, its a collection of several nar's with something else
<drakonis>
oof
<drakonis>
error: cannot add path '/nix/store/y6rz84wgq466ngp9djy0y7pvi5r6aa9g-libunistring-0.9.10' because it lacks a valid signature
<clever>
drakonis: --option require-sigs false
<bqv>
Jesus
<clever>
drakonis: you can also just `nix-store -r /nix/store/q8yjc393xglp1szq7s87492pi5rjvd9f-nix-2.4pre20200623_09fc06d` to download it from any binary cache
<drakonis>
not a trusted user
<drakonis>
hot diggity
sigmundv_ has quit [Ping timeout: 246 seconds]
<drakonis>
well
<bqv>
hydra saves the day
<drakonis>
gotta be root
<drakonis>
hooray it works
<drakonis>
still getting unsupported lock version lol
<drakonis>
the lock it is complaining about is hydra's lock
<drakonis>
hmm no this is nix's lockfile
<drakonis>
ghat dangit
<bqv>
too old or too new?
<drakonis>
too old
<bqv>
Update the input
<drakonis>
its looking at my source
<bqv>
Oh yours? Recreate the lock
<drakonis>
i cant update the input
<drakonis>
yes
zupo has quit [Ping timeout: 264 seconds]
<bqv>
Nix flake update --recreate-lock-file or something
<bqv>
Should be fine with new nix
<drakonis>
its fetching now
<bqv>
Jee
<drakonis>
had to do it as root
<drakonis>
jeeze finally
<bqv>
Might be having a language barrier with the daemon
<drakonis>
ughhhhh
<drakonis>
its now unsupported version 7
<drakonis>
it was 6
<bqv>
what
<bqv>
You're kidding
<bqv>
My lock is version 7
<bqv>
Using that nix
<drakonis>
this is baffling
wiml has quit [Quit: Leaving]
<bqv>
Are you building with new nix?
<drakonis>
yeah?
<drakonis>
well, using nixos-rebuild
<bqv>
Oh
<bqv>
That will use old nix
<drakonis>
hmm
<bqv>
Youll have to edit it
<bqv>
Or do it manually
<drakonis>
what's the tip
<bqv>
I'd just copy $(which nixos-rebuild) and replace each call to nix with your new one
das_j has quit [Quit: killed]
ajs124 has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
mrpi has quit [Quit: killed]
<bqv>
Or, maverick solution, mount the store rw and copy new nix over old
<drakonis>
haha welp
<drakonis>
alright i'll do that
<drakonis>
the former
das_j has joined #nixos
Scriptkiddi has joined #nixos
mrpi has joined #nixos
ajs124 has joined #nixos
rajivr has joined #nixos
<bqv>
The manual nix call is nix build .#nixosConfigurations.<hostname>.config.system.build.toplevel, then run result/bin/switch-to-configuration switch, but bear in mind that won't update your profile properly
lord| has quit [Ping timeout: 265 seconds]
lord| has joined #nixos
<drakonis>
works for me...
<drakonis>
finally
felixfoertsch has quit [Ping timeout: 260 seconds]
<drakonis>
escaping this loop
felixfoertsch23 has joined #nixos
<drakonis>
its been a while since i've updated
<drakonis>
i'm hoping to have functional printing again ever since python 2 got removed
felixfoertsch23 is now known as felixfoertsch
<bqv>
Wait python2's gone?
<drakonis>
i think it is?
orivej_ has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
<drakonis>
or maybe one of the dependencies requires python 2 and it complained about python 2, so it didnt let me install it
<drakonis>
still no kde 5.18
<drakonis>
kde on nix is 2 versions behind release now
<drakonis>
maybe i should just use gnome lol
<bqv>
Kde is a whole ordeal, tbf, I'm not surprised
markus1199 has quit [Ping timeout: 240 seconds]
<drakonis>
kde is nice but hoo boy it has some annoying stuff at times
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos
Chiliparrot has joined #nixos
icey_ has joined #nixos
<drakonis>
well, i guess i can rebuild using your profile now
<drakonis>
most of the cleanup should be over now
<drakonis>
hmm nevermind, legacy folder still around
iceypoi has quit [Ping timeout: 246 seconds]
<bqv>
Lol yeah but thats just for my server's code
<bqv>
Theres a fair bit of containers stuff I need to triage
lawr3nce has quit [Quit: Leaving]
<bqv>
As well as how I'm sorting out my http middleware
<drakonis>
the question however, is, how do i start using the newer nix flake instead of the one provided by nixpkgs?
<bqv>
Add it as an input and use the overlay
<bqv>
inputs.nix.overlay, or inputs.nix.defaultPackage.x86_64-linux
<drakonis>
i see
<drakonis>
neat.
domogled has quit [Quit: domogled]
orivej has quit [Ping timeout: 265 seconds]
<drakonis>
hmm, one of those days i'll build my config from orgmode
<drakonis>
i want to use it to flatten multiple files into a single one
Supersonic112 has joined #nixos
<aleph->
Oh yeah flakes
<aleph->
Should use those at some point
<drakonis>
those are great.
Supersonic has quit [Ping timeout: 265 seconds]
Supersonic112 is now known as Supersonic
<bqv>
Why would you want *more* files in one?
<bqv>
Org is cool, though
<bqv>
Ill be using it more, one day
is_null has quit [Ping timeout: 264 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
cosimone has quit [Quit: Quit.]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<colemickens>
how do I do import ./machines/${hostname}/config.nix in flakes?
<colemickens>
I can't remember how to interpolate with an absolute path
<colemickens>
If I do "${./.}/machines/${hostname}/config.nix" then it resolves to the store path and fails in --pure-eval mode
<clever>
colemickens: + works on paths
<clever>
./. + "/machines/${hostname}/config.nix"
<clever>
the result of that is still a path
<clever>
not a string
<colemickens>
it still fails in pure eval mode :(
<clever>
not sure then, ive not had a chance to play with flakes yet
<colemickens>
I know it's possible, the nixflk example repo imports a directory that imports its children items without specifying them, so it's possible to walk ./ and dynamically import stuff. I just haven't cracked the code yet. thanks though!
<colemickens>
It turns out I actually wanted the opposite? Weird, now it works with: `p = "${toString ./.}/machines/${hostname}/configuration.nix";`. cc: clever
<clever>
toString ./. returns the absolute path of . as a string
<clever>
"${./.}" copies . to the store, and returns the path of the copy
eoli3n has quit [Remote host closed the connection]
<BellRooks>
/usr/include/c++/8/bits/atomic_base.h:514: undefined reference to `__atomic_fetch_add_8'
<BellRooks>
getting this compiling nix
eoli3n has joined #nixos
orivej has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
LambdaDuck has quit [Ping timeout: 265 seconds]
bahamas has joined #nixos
<bahamas>
how can I use mkdir in the ExecStartPre of a systemd service config?
<hazel[m]1>
carefully
<bahamas>
simply using mkdir gives me Executable mkdir not found in path "/no-such-path"
orivej has quit [Quit: No Ping reply in 180 seconds.]
mallox has joined #nixos
LambdaDuck has joined #nixos
orivej has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
<bahamas>
''${pkgs.coreutils}/bin/mkdir ...''
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
dansho has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #nixos
<bahamas>
ok, so I can't create a dir in /var/lib/ because "cannot create directory ‘/var/lib/tiddlywiki’: Read-only file system". is there no way around it?
<bqv>
Any committers available? #89744 needs reverting
<sphalerite>
Graypup_: still not clear what the parameters are?
mrosenbe has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @danieldk opened pull request #91752 → oneDNN: add aarch64-linux to platforms → https://git.io/JJvSk
itshaydendev has joined #nixos
<itshaydendev>
Hi, I'm having some issues with font scaling in my configuration for my PC, and I'm not sure where I messed it up
<itshaydendev>
The issue comes when an application uses GTK for its UI font scale
orivej has quit [Ping timeout: 260 seconds]
<bqv>
sphalerite: thanks. Not sure why
orivej has joined #nixos
dansho_ has joined #nixos
<bahamas>
sphalerite: I don't know. I'm running NixOS inside VirtualBox using the nixos-19.09 image
dansho has quit [Ping timeout: 264 seconds]
cfricke has joined #nixos
<Graypup_>
sphalerite, so this is a mildly cursed program: it has two parts, one of which needs to build some packages from the source git repo with ghcjs and the other with ghc. I want to pass the ghcjs version
<sphalerite>
Graypup_: I don't see why this should be a parameter for the overlay?
<Graypup_>
sphalerite, I don't know what I'm doing ^^ it's not obvious in the docs how you're supposed to build programs like this one, which contain multiple packages
<Graypup_>
the haskell docs for nixpkgs say to go put stuff in ~/.config which is absolutely not correct for my use case
<Graypup_>
the plan is to make two nix files, client.nix and server.nix, which I think should each be derivations as server depends on client but I don't get how to structure the dependency graph and the callPackage stuff
<bahamas>
Graypup_: are you creating a package.nix for each of your packages?
<Graypup_>
bahamas, each one has a thing generated by cabal2nix in it, if that is what you mean
<bahamas>
Graypup_: yeah, a derivation file
<bahamas>
Graypup_: how are you referring to those files? are you using callPackage?
orivej has quit [Ping timeout: 240 seconds]
<Graypup_>
that is the plan, but I don't know /where/ to do that
<bahamas>
Graypup_: probably in client.nix and server.nix
orivej has joined #nixos
<bahamas>
Graypup_: I assume you want to create a derivation for each
<Graypup_>
yes, since I think I need to for having them depend on each other
<bahamas>
Graypup_: which things depend on each other?
<Graypup_>
Client side has a dep tree of `Carnap` <- `Carnap-Client` <-
<Graypup_>
`Carnap-GHCJS`. Server side is `Carnap` <- `Carnap-Client` <- `Carnap-Server`.
<Graypup_>
`AllActions` JS executable into its static folder.
<Graypup_>
`Carnap-Server` also depends on an evil link/copy of the `Carnap-GHCJS`
orivej has quit [Quit: No Ping reply in 180 seconds.]
<bahamas>
Graypup_: how I think you could do it: create a client.nix that looks like release5.nix for example
<bahamas>
and a separate file which contains mkDerivation and specify how to actually build client.nix
FRidh has joined #nixos
<Graypup_>
I've read that tutorial, yes, but I can't remember why I gave up trying to use its method at the time. I'll poke around it again
werner291 has joined #nixos
orivej has joined #nixos
m0rphism has joined #nixos
<bahamas>
Graypup_: if the client has a cabal file, you can generate a derivation for it with cabal2nix. then client-release.nix could look like that release5.nix
craftyguy has quit [Ping timeout: 260 seconds]
magnetophon has quit [Ping timeout: 260 seconds]
<bahamas>
I get an assertion failed while running nix-build. but how can I get the assertion and the actual value?
<clever>
assertion failed at /nix/store/apnn10fiqg0gz1xf87vg0qnm6gk6sd7c-nixos-20.03/pkgs/os-specific/linux/kernel/generic.nix:56:1
<clever>
bahamas: and what is line 56 of that generic.nix file?
<bahamas>
clever: yes, and that says "assert stdenv.isLinux;
<clever>
bahamas: you need to set nixpkgs.system = "x86_64-linux"; in your configuration.nix file
<clever>
to force it to build for 64bit linux, instead of the default (which is whatever the host is)
Fuuzetsu has quit [Remote host closed the connection]
<colemickens>
Should `nix eval ".#nixosConfigurations.${machine}.config.system.build.toplevel"` work in flakes? That same attribute does build correctly.
<bahamas>
clever: the build started. awesome! thank you!
<tobiasBora>
Hello, I'm installing a new system with encryption + swap + btrfs. I want to be able to unlock with ssh, so I don't want to encrypt /boot (and anyway I'm not convinced that encrypting /boot brings any additional security). Now, since the system uses UEFI, my question is as follow: should I create a separate /boot partition, or can I directly use the UEFI one?
__monty__ has joined #nixos
nikita` has quit [Quit: leaving]
orivej has quit [Ping timeout: 258 seconds]
nikita` has joined #nixos
orivej has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed 251 commits to haskell-updates: https://git.io/JJvHW
pax-12 has joined #nixos
fendor_ is now known as fendor
boxscape has joined #nixos
<pax-12>
If I try to install neovim with nix-env -iA nixpkgs.neovim it get this warning: name collision in input Nix expressions, skipping '/home/pax/.nix-defexpr/channels_root/nixos'
<pax-12>
error: attribute 'nixpkgs' in selection path 'nixpkgs.neovim' not found
<tobiasBora>
pax-12: still a beginner so not sure my advise is the good one, but what about nixos.neovim instead of nixpkgs?
<pax-12>
tobiasBora, thank you
<tobiasBora>
pax-12: np. If I'm not wrong the "nixpkgs/nixos" depends on the name you gave to the channel.
<pax-12>
tobiasBora, do you know where the init.vim is on nixos?
<tobiasBora>
it should be in "~/.config/nvim/init.vim"
eoli3n has quit [Excess Flood]
<tobiasBora>
and maybe this helps " you can get more info with :help nvim-configuration from your neovim instance."
Chiliparrot has joined #nixos
eoli3n has joined #nixos
cosimone has quit [Quit: Quit.]
<typetetris>
Looks like nvidia graphics driver doesn't build with linuxPackages_5_7 in nixos-20.03 ..
<etu>
That's fairly standard with out of tree drivers
<etu>
If you run an older kernel (like 5.6) for a bit it will probably be fixed whenever nvidia releases a new driver
<clever>
pax-12: and the collision warning, is because you have a nixos channel on both root and pax, compare `nix-channel --list` with and without sudo
thc202 has joined #nixos
<clever>
pax-12: usually, only root needs the channels configured, and everybody else can inherit from root
orivej has quit [Ping timeout: 265 seconds]
* clever
heads off to bed
orivej has joined #nixos
<dutchie>
tangentially, i am curious, i don't have a nixpkgs channel defined in root or my user, but I can still install packages with `nix-env -iA nixpkgs.foo`. is there some magic in nix-env and friends to automatically set that to `import <nixpkgs>`?
<dutchie>
(but then where would <nixpkgs> be)
<dutchie>
hmm, nix repl tells me that it expands to /nix/var/nix/profiles/per-user/root/channels/nixos
<clever>
dutchie: what does `ls -ld ~/.nix-defexpr/*/nixpkgs` report?
<clever>
dutchie: ah, thats normal nixos, `echo $NIX_PATH`
<clever>
it maps <nixpkgs> to the nixos channel
<dutchie>
ah yeah
* clever
heads off to bed
<dutchie>
heh sorry to delay you
asymptotically has joined #nixos
NeoCron has joined #nixos
arjen-jonathan has joined #nixos
<Graypup_>
bahamas, thank you so much for holding my hand a little bit :) I have it building now and I have confidence I can make this work
aleph- has quit [Read error: Connection reset by peer]
<pax-12>
if I install anything via python3.8 pip I get this error (here I was install keyboard) ,,, ERROR: Could not install packages due to an EnvironmentError: [Errno 30] Read-only file system: '/nix/store/jli50q24fvik6pfsnjs1jd90g3dy4p6y-python3-3.8.3/lib/python3.8/site-packages/keyboard'
<FRidh>
don't install globally but in a virtualenv
<pax-12>
ok
sbetrium has quit [Quit: sbetrium]
sbetrium has joined #nixos
bahamas has quit [Ping timeout: 246 seconds]
itshaydendev has quit [Quit: WeeChat 2.7.1]
meh` has joined #nixos
<pax-12>
if I try to install jdk11 I get this error: build of '/nix/store/36n1vs2cnl3nz5h0q0d4jvm9y26aciyh-user-environment.drv' failed
mounty has joined #nixos
dansho__ has joined #nixos
dansho_ has quit [Ping timeout: 246 seconds]
<Graypup_>
weeeeeeeeeeeeeeeeeeeee for some reason nix is still compiling and running some haskell test suites despite me overriding mkDerivation to not do that
<Graypup_>
doCheck = false is always true
<Graypup_>
and yet diagrams-lib is trying to run a test suite
<Graypup_>
i dont have time for this, nix
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Graypup_>
fixed by applying dontCheck to diagrams-lib which makes literally no sense since my mkDerivation override should already be doing it. regardless,,,
pax-12 has quit [Remote host closed the connection]
michiel_ has joined #nixos
sheepfleece has quit [Ping timeout: 240 seconds]
<betaboon>
iron_houzi: that seems like a python related question? did you mean to ask that here?
sbetrium has quit [Read error: Connection reset by peer]
<Graypup_>
iron_houzi, might be an oversight but you just put 0o644 or whatever
<iron_houzi>
sorry :) Wrong channel :)
sbetrium has joined #nixos
mrosenbe has quit [Ping timeout: 260 seconds]
<Graypup_>
iron_houzi, also recommend reading the manual page `man 2 chmod`
<Graypup_>
:)
nate48423 has joined #nixos
<nate48423>
the american government and denaro are getting my human brain they are able to have me not able to comprehend and change my taste of drinks and food at times. can you please tell your world leaders to help me I am nathan biernatt if you have questions you can message me
bahamas has quit [Ping timeout: 260 seconds]
ixxie has joined #nixos
<michiel_>
Is anybody aware of a method for working with more recent Android tools in Nixos than indicated here? https://nixos.wiki/wiki/Android
<michiel_>
I see some movement in doc/languages-frameworks/android.section.md
<michiel_>
And I can generate new expressions with the generate.sh script
<michiel_>
but there is no description on the wiki what to do after that...
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
Siyo has quit [Ping timeout: 256 seconds]
Siyo has joined #nixos
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
reactormonk has joined #nixos
<reactormonk>
I'm looking for the name of the python package for python -m http.server - It doesn't seem to exist under `http` nor `http.server`. How's the name mangling done here?
cosimone has quit [Read error: Connection reset by peer]
cosimone has joined #nixos
pbb has joined #nixos
<{^_^}>
[nixos-homepage] @garbas merged pull request #491 → index: do not use IDs for styles → https://git.io/JJeQb
sheepfleece has joined #nixos
<b42>
reactormonk: works for me just with "python3"
<reactormonk>
So it should be in the base packages?
werner291 has quit [Ping timeout: 240 seconds]
<b42>
i think so
<b42>
be careful not to use python2 though, the library name was different
bahamas has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
<michiel_>
reactormonk, it is a standard module of Python3
<patagonicus>
AFAIK http.server is part of the standard library http module, so as long as you don't get some weird minimal version without the standard library it should be included with Python3.
cosimone has quit [Ping timeout: 260 seconds]
smatting has joined #nixos
<Graypup_>
reactormonk, it was called SimpleHTTPServer on Python 2 (yes, with that case. it's dumb)
<Graypup_>
(they changed it for a reason)
bahamas has quit [Ping timeout: 260 seconds]
cosimone has joined #nixos
asbachb has joined #nixos
cfricke has quit [Quit: WeeChat 2.8]
dansho__ has quit [Quit: Leaving]
smatting has quit [Ping timeout: 260 seconds]
ixxie has quit [Ping timeout: 264 seconds]
magnetophon has quit [Read error: Connection reset by peer]
<pax-12>
how do I configure xmonad on nixos? I copied my config from my old arch install and it does not work anymore
<patagonicus>
Can I use boot.kernelPatches to change the defconfig being used? Or do I need to make my own package for that? (This is for an ARM board, which has a custom defconfig in the mainline kernel)
<srk>
pax-12: maybe you just needs xmonad --recompile
<betaboon>
is it considered bad practice to use `super.config` in an overlay ?
orivej has quit [Ping timeout: 264 seconds]
sbetrium has quit [Quit: sbetrium]
arjen-jonathan has quit [Ping timeout: 246 seconds]
sbetrium has joined #nixos
meh` has joined #nixos
sheepfleece has quit [Quit: Lost terminal]
karetsu has quit [Quit: WeeChat 2.8]
pax-12 has quit [Remote host closed the connection]
arjen-jonathan has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
magnetophon has quit [Read error: Connection reset by peer]
pax-12 has joined #nixos
st3r4g[m] has left #nixos ["User left"]
magnetophon has joined #nixos
<pax-12>
srk, I tried your home manager thing (the file is /home/pax/.config/nixpkgs/home.nix) the error I get is: error: The option `home-manager' defined in `/home/pax/.config/nixpkgs/home.nix' does not exist.
<pax-12>
There are 109 unread and relevant news items.
<pax-12>
(use '--show-trace' to show detailed location information)
<pax-12>
Read them by running the command 'home-manager news'. The file is: https://bpa.st/TDBA
werner291 has joined #nixos
acarrico has joined #nixos
kleisli_ has quit [Ping timeout: 260 seconds]
sbetrium has quit [Quit: sbetrium]
<srk>
pax-12: that's hm installed for your user. you can install home-manager as a NixOS module
<{^_^}>
[nixos-weekly] @domenkozar pushed 13 commits to production: https://git.io/JJfvm
<{^_^}>
[nixos-weekly] @domenkozar pushed to master « Call for Content: 2020/07 »: https://git.io/JJfvO
<{^_^}>
[nixos-weekly] @domenkozar opened pull request #125 → Call for Content: 2020/07 → https://git.io/JJfvs
<srk>
looks good except your now mixing services.xserver.windowManager.xmonad and home-managers xsession.windowManager.xmonad - try with services.xserver.desktopManager.xterm.enable = true; instead of the former
<infandum>
I'm trying to support macOS for a program. One of the dependencies is edgeR which errors out with: "ld: library not found for -liconv". How can I solve this issue? I tried adding pkgs.darwin.libiconv to buildInputs, but that did not work.
<BellRooks>
im getting "while setting up the build environment: executing '/bin/bash': No such file or directory" on a self compiled pi os nix
<BellRooks>
what is causing this? /bin/bash exists
<BellRooks>
searching this error provided me with two irc logs, neither were solved
dermetfan has joined #nixos
<cransom>
BellRooks: i assume the build sandbox is enabled, prohibiting access to /bin/bash. you could fix the reference and use a bash that's in the nix store (better) or turn off sandboxing (not so great)
codygman has quit [Read error: Connection reset by peer]
Ox4A6F has joined #nixos
DamienCassou has joined #nixos
Ericson2314 has joined #nixos
Elorm[m] has joined #nixos
MilkManzJourDadd has joined #nixos
Minijackson[m] has joined #nixos
NobbZ[m] has joined #nixos
metheflea has joined #nixos
tet[m] has joined #nixos
Strubbl[m] has joined #nixos
Valodim[m] has joined #nixos
adit[m] has joined #nixos
sparogy has joined #nixos
aanderse has joined #nixos
alexfmpe has joined #nixos
alienpirate5 has joined #nixos
alexherbo2[m] has joined #nixos
alexarice[m] has joined #nixos
arcnmx has joined #nixos
aterius has joined #nixos
atopuzov[m] has joined #nixos
bachp has joined #nixos
azazel has joined #nixos
basilbunting[m] has joined #nixos
axx[m] has joined #nixos
balsoft has joined #nixos
bbigras has joined #nixos
bennofs[m] has joined #nixos
bohan[m] has joined #nixos
chvp has joined #nixos
catharsis_[m] has joined #nixos
chreekat[m] has joined #nixos
cmcaine[m] has joined #nixos
comrandroxaos[m] has joined #nixos
colemickens has joined #nixos
cyberwolf[m] has joined #nixos
danielrf[m] has joined #nixos
Dandellion has joined #nixos
davidak[m] has joined #nixos
david-sawatzke[m has joined #nixos
denbrahe[m] has joined #nixos
domenkozar[m] has joined #nixos
dpc has joined #nixos
dngray has joined #nixos
drozdziak1 has joined #nixos
dtz has joined #nixos
dxu[m] has joined #nixos
echel0n[m] has joined #nixos
eadwu[m] has joined #nixos
edrex has joined #nixos
eddyb has joined #nixos
emily has joined #nixos
faewenys[m] has joined #nixos
d4rkshad0w has joined #nixos
fgaz has joined #nixos
freeman42x[m] has joined #nixos
fsmnarmosta[m] has joined #nixos
codygman has joined #nixos
gcoakes[m] has joined #nixos
gnxlxnxx[m] has joined #nixos
gsals[m] has joined #nixos
LeBronse[m] has joined #nixos
gs93 has joined #nixos
adamblackwater[m has joined #nixos
grin[m] has joined #nixos
goibhniu has joined #nixos
hiroshi[m] has joined #nixos
hazel[m] has joined #nixos
nicolas[m] has joined #nixos
M|[m]1 has joined #nixos
AberDerBart[m] has joined #nixos
Houtworm[m] has joined #nixos
MawKKe[m] has joined #nixos
hpfr[m] has joined #nixos
hsiktas[m] has joined #nixos
acys[m] has joined #nixos
alj[m] has joined #nixos
TheSirC[m] has joined #nixos
aquarial has joined #nixos
icetan has joined #nixos
interro[m] has joined #nixos
apple_at_cha[m] has joined #nixos
yoctocell[m] has joined #nixos
Irenes[m] has joined #nixos
aleph9[m] has joined #nixos
anarchomoh[m] has joined #nixos
antpic01[m] has joined #nixos
sibachian[m] has joined #nixos
boogiewoogie[m] has joined #nixos
askatasun[m] has joined #nixos
atgo[m] has joined #nixos
cab404[m] has joined #nixos
iwvt[m] has joined #nixos
phittacus has joined #nixos
jameshjacksonjr4 has joined #nixos
jneplokh has joined #nixos
JJJollyjim has joined #nixos
jluttine[m] has joined #nixos
jordandoyle has joined #nixos
chrismatheson has joined #nixos
Cadey1 has joined #nixos
chmod222[m] has joined #nixos
adam[m]4 has joined #nixos
blindidiotgod has joined #nixos
jschievink has joined #nixos
Jake[m] has joined #nixos
jtojnar has joined #nixos
keithy[m] has joined #nixos
kaychaks_riot has joined #nixos
coyoneda[m] has joined #nixos
dammndot[m] has joined #nixos
dasj19[m] has joined #nixos
cryptix has joined #nixos
kriteus[m] has joined #nixos
bricewge has joined #nixos
leons has joined #nixos
das-g[m] has joined #nixos
d3c[m] has joined #nixos
Luigi[m] has joined #nixos
dbirks[m] has joined #nixos
delroth[m] has joined #nixos
ma27[m] has joined #nixos
dwagenk[m] has joined #nixos
develobster[m] has joined #nixos
dxtr[m] has joined #nixos
marius851000[m] has joined #nixos
demoulin[m] has joined #nixos
maralorn has joined #nixos
matthewbauer has joined #nixos
easamuilov[m] has joined #nixos
michaelpj has joined #nixos
DanP[m] has joined #nixos
mindtree[m] has joined #nixos
dkellner[m] has joined #nixos
efra[m] has joined #nixos
emmanuelrosa[m] has joined #nixos
mkg20001 has joined #nixos
porphyrogenetos has joined #nixos
felschr[m] has joined #nixos
fresheyeball[m] has joined #nixos
etrigan63[m] has joined #nixos
musicmatze[m] has joined #nixos
evanjs[m] has joined #nixos
exel[m] has joined #nixos
flip[m] has joined #nixos
mt[m] has joined #nixos
faya01[m] has joined #nixos
nilsirl[m] has joined #nixos
geemili has joined #nixos
grahamc[m] has joined #nixos
chris[m]7 has joined #nixos
gildedlink[m] has joined #nixos
greghab[m] has joined #nixos
hr[m] has joined #nixos
nikola[m] has joined #nixos
haaksmash[m] has joined #nixos
nocent has joined #nixos
nolan_d has joined #nixos
nurelin has joined #nixos
observer_alpha[m has joined #nixos
ongy[m] has joined #nixos
ohhaimark[m] has joined #nixos
Notkea[m] has joined #nixos
mica[m] has joined #nixos
geekimerssive[m] has joined #nixos
guiber[m] has joined #nixos
philipp[m]2 has joined #nixos
Philipp[m]1 has joined #nixos
phirsch has joined #nixos
pitch has joined #nixos
Poscat[m] has joined #nixos
hsngrmpf[m] has joined #nixos
infinisil-m has joined #nixos
frobenius[m] has joined #nixos
idontgetoutmuch[ has joined #nixos
hleb[m] has joined #nixos
Nacho[m]1 has joined #nixos
ibinzari[m] has joined #nixos
ptotter[m] has joined #nixos
qbit[m] has joined #nixos
quiet_laika[m] has joined #nixos
bqy has joined #nixos
rednaZ[m] has joined #nixos
regnat has joined #nixos
rellen[m] has joined #nixos
rgamma[m] has joined #nixos
roberth has joined #nixos
jlv[m] has joined #nixos
rschulman has joined #nixos
Caleb[m]1 has joined #nixos
ivank[m] has joined #nixos
rnhmjoj has joined #nixos
srxl has joined #nixos
rycee has joined #nixos
Hayden[m] has joined #nixos
sabry97[m] has joined #nixos
puzzlewolf has joined #nixos
JameySharp[m] has joined #nixos
jjwatt[m] has joined #nixos
siraben has joined #nixos
koozz[m] has joined #nixos
koschitzky[m] has joined #nixos
layus[m] has joined #nixos
l33[m] has joined #nixos
jonreeve[m] has joined #nixos
slby[m] has joined #nixos
jlv[m]1 has joined #nixos
sonerhalis[m] has joined #nixos
solomon[m]1 has joined #nixos
spinlock[m] has joined #nixos
tokudan[m] has joined #nixos
init_6 has joined #nixos
kuznero[m] has joined #nixos
kai_w has joined #nixos
srid has joined #nixos
Superleaf1995 has joined #nixos
jojosch[m] has joined #nixos
limpid-kzonix[m] has joined #nixos
sasyctu[m] has joined #nixos
logan12358[m] has joined #nixos
LinuxHackerman has joined #nixos
thefloweringash has joined #nixos
theduke has joined #nixos
theotherjimmy[m] has joined #nixos
thequux[m] has joined #nixos
timclassic has joined #nixos
timokau[m] has joined #nixos
toraritte has joined #nixos
TobiasKratzlitsc has joined #nixos
utdemir[m] has joined #nixos
unclechu has joined #nixos
contrun has joined #nixos
vaibhavsagar has joined #nixos
michaelstrogoff[ has joined #nixos
mdlayher1 has joined #nixos
mullein[m] has joined #nixos
Markus[m]2 has joined #nixos
kraem[m] has joined #nixos
leonardp has joined #nixos
mlvzk[m] has joined #nixos
mudrii[m] has joined #nixos
nanashi0x74[m] has joined #nixos
wak-work has joined #nixos
watzon has joined #nixos
wedens[m] has joined #nixos
worldofpeace has joined #nixos
mlatus[m] has joined #nixos
neumantm[m] has joined #nixos
nh2[m] has joined #nixos
xavierm02 has joined #nixos
neonfuz2 has joined #nixos
Yakulu[m] has joined #nixos
mzafkismugi[m] has joined #nixos
xfix has joined #nixos
yangm has joined #nixos
zannzen[m] has joined #nixos
nanashi0x74Old[m has joined #nixos
yutyo[m] has joined #nixos
nlgila[m] has joined #nixos
ZerataX has joined #nixos
ngerstle[m] has joined #nixos
zarathustra[m] has joined #nixos
michael[m]5 has joined #nixos
mkfart[m] has joined #nixos
q3ax[m] has joined #nixos
piotrszegda[m] has joined #nixos
NickHu has joined #nixos
printfn[m] has joined #nixos
quidome[m] has joined #nixos
randnoise[m] has joined #nixos
redcedar[m] has joined #nixos
regivanx[m] has joined #nixos
pinion[m] has joined #nixos
sab7iryudpgf6[m] has joined #nixos
rawas[m] has joined #nixos
sayanarijit[m] has joined #nixos
CRTified[m] has joined #nixos
sebass[m] has joined #nixos
sshow[m] has joined #nixos
sjanes[m] has joined #nixos
billsun has joined #nixos
Stphan[m] has joined #nixos
spherinder[m] has joined #nixos
Smith[m]1 has joined #nixos
sty86[m] has joined #nixos
tyrion-mx has joined #nixos
trufas[m] has joined #nixos
tbenst[m] has joined #nixos
tristan[m] has joined #nixos
terrymunro[m] has joined #nixos
vegai1 has joined #nixos
user51[m] has joined #nixos
Wouter[m]1 has joined #nixos
wangoe[m] has joined #nixos
vpfeiffer[m] has joined #nixos
vtest[m] has joined #nixos
vojta001[m] has joined #nixos
zrsk[m] has joined #nixos
yusdacra[m] has joined #nixos
Vykook[m] has joined #nixos
rk04[m] has joined #nixos
<BellRooks>
i don't seems to be able to install anything nix yet, how would i do each?
CMCDragonkai1 has quit [Quit: CMCDragonkai1]
<patagonicus>
When do you get the error? And how'd you compile the OS?
<BellRooks>
os is just default pi os lite, wrrors are from nix-vhannel --update
waleee-cl has joined #nixos
shibboleth has joined #nixos
KarlJoad` has quit [Quit: ERC (IRC client for Emacs 26.3)]
mrosenbe has quit [Ping timeout: 240 seconds]
codygman has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 244 seconds]
maier has joined #nixos
drakonis has joined #nixos
maier has quit [Client Quit]
<BellRooks>
disabling sandboxing let me update and install bash, but is it supposed to be building that much?
orivej has joined #nixos
zertox has quit []
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
<BellRooks>
error: Nix was not compiled with libsodium, required for signed binary cache support
<BellRooks>
i am now rwcieving this error
<patagonicus>
Ah. I'm guessing that's a 32 bit ARM then. There's no official caches for Nix as far as I know, so it will build everything on your Pi, which is not going to be very fast.
<patagonicus>
*32 bit ARM OS
<patagonicus>
However, I'm not sure why it's complaining about /bin/bash.
<BellRooks>
how do i fix the libsodium error? ./configure doesn't seem to have an option for that
kwork_ is now known as kwork
<BellRooks>
also it was complaining about bash because i think no sandboxable bash was installed?
codygman has joined #nixos
<{^_^}>
[nixpkgs] @fgaz opened pull request #91766 → littlegptracker: init at unstable-2019-04-14 → https://git.io/JJfUX
proofofkeags has quit [Remote host closed the connection]
<balsoft>
Is there a function that would make a zip (or at least tarball) from some paths? Like buildEnv but resulting in a zip file instead of a directory.
orivej has quit [Quit: No Ping reply in 180 seconds.]
metheflea has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
<betaboon>
anyone familiar with musnix ?
<drakonis>
ask away and someone might be able to help out
Chiliparrot has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
<betaboon>
I'm trying to use musnix to build a realtime-kernel but running into it pulling in amdgpu-pro-... which is marked as unfree. how can i prevent that ?
dsg has joined #nixos
o1lo01ol1o has joined #nixos
<betaboon>
actually it seems like it tries to pull in all the firmwares, nvidia-x11, amdgpu, ati-drivers, wireguard etc
o1lo01ol_ has quit [Ping timeout: 265 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<Taneb>
How does hydra.nixos.org sign distributed builds? Does it put the key on all machines?
<gchristensen>
you'll want it to only be readable by that user :)
<Taneb>
Ah, that might be where I was going wrong
gnxlxnxx[m] has quit [Quit: Idle for 30+ days]
dermetfan has quit [Ping timeout: 260 seconds]
o1lo01ol_ has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
sheepfleece has quit [Ping timeout: 258 seconds]
erasmas has quit [Read error: Connection reset by peer]
gustavderdrache has quit [Quit: Leaving.]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<Taneb>
gchristensen: thank you so much, it looks like it's working now :D
<Taneb>
gchristensen++
<{^_^}>
gchristensen's karma got increased to 324
<gchristensen>
yep! great! :)
<gchristensen>
maybe you could open an issue on Hydra describing what you were trying, what was wrong, how you fixed it?
o1lo01ol1o has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
cosimone has joined #nixos
<typetetris>
What do you use as a build cache solution? (I used a nixos host with jenkins, which built the nix-expressions, and kept the result links to prevent them from getting gced, but there certainly is a more professional variant?)
orivej has joined #nixos
erasmas has joined #nixos
bahamas has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
<Athas>
Are there instructions on installing Nix on macOS?
<Athas>
The installer on the website doesn't work anymore, and doesn't even mention that there are problems.
<Taneb>
"possibly transient failure building ‘/nix/store/mc25bkg491ybybdq9wni305pbx3g5x80-foo.drv’ on ‘nix@machine’: cannot add path '/nix/store/x3ic7n9m09lislc3p67zi7rzjkg496yr-foo' because it lacks a valid signature"
<betaboon>
gchristensen: thanks for the insight. i realy dislike the first style
<gchristensen>
me too
<gueorgui>
Hi, I built a custom kernel for my machine by using the boot.kernelPackages option in configuration.nix. Is there a way to just cache the built kernel and avoid rebuilding every time I run nixos-rebuild --switch, or does that kind of defeat the purpose?
<gueorgui>
Basically, I'd like to keep making changes to configuration.nix without having to wait 2 hours for a kernel to be built every time I make a change
<betaboon>
gueorgui: it shouldnt rebuild the kernel if your changes dont affect it oO
<chloekek>
On nixos.org, where did the link to the packages list go? It used to be in the navigation bar after selecting NixOS, but I can’t even find a link to NixOS anymore.
<chloekek>
Ah, it is in the footer now.
<typetetris>
So a machine with hydra an nix-serve would be an option?
<cransom>
hydra is already serves up a binary cache, you shouldn't need nix-serve on top of that.
proofofk_ has quit [Remote host closed the connection]
proofofkeags has joined #nixos
wunderbrick has joined #nixos
o1lo01ol_ has joined #nixos
Ariakenom has joined #nixos
knupfer has quit [Remote host closed the connection]
noudle has quit []
knupfer has joined #nixos
EsperLily has joined #nixos
<typetetris>
cransom: The configuration options in nixos only seem to be concerned with the web interface. Which port would hydra serve the packages on? Where does it get a key to sign those packages?
o1lo01ol1o has quit [Ping timeout: 240 seconds]
chloekek has quit [Quit: WeeChat 2.8]
rajivr has quit [Quit: Connection closed for inactivity]
<cransom>
it's over the web interface, same port.
<cransom>
iirc, the packages should be signed when built. nix.conf should have a `secret-key-files = /path/to/secretkey`
<cransom>
(you'd have to add that)
justanotheruser has quit [Quit: WeeChat 2.7.1]
justanotheruser has joined #nixos
arjen-jonathan has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
tpw_rules has joined #nixos
sangoma has joined #nixos
<typetetris>
cransom: Thanks, didn't know about that nix option.
<typetetris>
cransom: With nix-serve I always had to provide it a key file.
<numkem>
I'm on unstable and I can't use nix-shell anymore... it says the nix-deamon isn't running. When I start nix-daemon.socket I get an error saying nix-store.mount is masked
<srhb>
numkem: If your mounts are okay really (despite that error message) maybe logs from the daemon startup attempt could be helpful (not the socket, probably)
<magnetophon>
betaboon: are you sure you meant me? I don't get the question.
orivej has quit [Ping timeout: 260 seconds]
<betaboon>
magnetophon: i think so as you seem to be one of the most active contributors of musnix (next to henrytill)
orivej has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<magnetophon>
betaboon: ah, musnix. No, sorry, I don't know. henrytill wrote all of the kernel part.
<betaboon>
magnetophon: i was working on converting the repo to a proper overlay and the question came to mind
<srhb>
betaboon: I'm not sure I completely understand your question, but I'd suppose it's like the rest of the linuxPackages_$foo -things, where linuxPackages contains kernel stuff for $foo -- in this case an _opt_imized(?) kernel
kenran has joined #nixos
<srhb>
like, rt, I
<srhb>
I guess :)
<betaboon>
srhb: musnix provides linux_rt packages, but it also provides a special linux_opt package which i dont understand the purpose of. :D
<magnetophon>
betaboon: ooh, cool! A r-ryantm for musnix! :D
<betaboon>
magnetophon: more like the approach that colemickens does for nixpkgs-wayland. a metadata.nix (which versions and hashes), packages use those and a script to update the metadata.nix
<magnetophon>
betaboon: I didn't know that one. thanks.
<betaboon>
magnetophon: saw it in his stuff first. i realy like that approach
lunik1 has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}>
[nix] @Ma27 opened pull request #3764 → Fix segfault if a file from an invalid searchpath-entry is attempted to get built → https://git.io/JJfWg
<etrigan63[m]>
Can anyone point me to a proper `configuration.nix` file and set of instructions for setting up i3-gaps and home-manager? I don't want it as an alternate Window Manager but as the main with all of the necessary support bits.
<infinisil>
betaboon: I'd recommend metadata.nix -> metadata.json. No need to use Nix for that, and json can easily be imported with builtins.fromJSON. Also json is easier to properly generate
<magnetophon>
betaboon: nice work! Thank you!
<betaboon>
infinisil: i thought about that as well. i totaly agree. but didnt come up with a good solution how to create proper json from a bash script :/
<betaboon>
infinisil: any suggestion ?
<betaboon>
magnetophon: just noticed the update.sh seems to have a bug. the metadata for 4.14 is broken
<etrigan63[m]>
<magnetophon "etrigan63: When I need examples,"> Yes, I am keenly aware of how to do that. Which of the 53 code results works and is complete? That is what I am asking.
m0rphism has joined #nixos
<magnetophon>
etrigan63[m]: sorry to state the obvious then.
<cole-h>
etrigan63[m]: Why don't you just try them out until you're satisfied? It sounds like you're asking us to do the legwork for something that is totally subjective (does "working" and "complete" just mean "doesn't segfault"?).
<infinisil>
betaboon: jq should be able to
lunik1 has quit [Quit: :x]
Neo-- has quit [Ping timeout: 246 seconds]
lunik1 has joined #nixos
<betaboon>
infinisil: yeah you can create json with jq, but that realy doesnt help readability of the code
Ariakenom has quit [Ping timeout: 240 seconds]
<infinisil>
I mean you can also just echo it manually as well
<infinisil>
I just think json as a format for storing this is better suited
<etrigan63[m]>
Not trying to be snarky or anything but`complete = fully functioning system without months of tweaking (other than ricing)'. Something I can save and use to rebuild my system if anything ever goes south. The process Nix/NixOS uses is exactly like using `ansible` only more so.
<infinisil>
Just echo/printf it, then run the result through jq to check for syntax errors might be a reasonable thing to do
<{^_^}>
[nix] @edolstra pushed to master « NAR parser: Fix missing name field check »: https://git.io/JJfWp
<{^_^}>
[nix] @Ericson2314 opened pull request #3765 → Fix and ci static builds → https://git.io/JJfWj
<srhb>
etrigan63[m]: How do you figure it's the same or more so? That's not my experience.
<etrigan63[m]>
* Not trying to be snarky or anything but`complete = fully functioning system without months of tweaking (other than ricing)`. Something I can save and use to rebuild my system if anything ever goes south. The process Nix/NixOS uses is exactly like using`ansible` only more so.
<srhb>
etrigan63[m]: (I don't have an answer for you, I don't use i3, fwiw)
<betaboon>
infinisil: currently I printf nix and then running it through nixfmt
arjen-jonathan has quit [Ping timeout: 240 seconds]
proofofkeags has joined #nixos
codezero has quit [Ping timeout: 260 seconds]
Ariakenom has joined #nixos
seku has quit [Quit: Connection closed]
QuickWango has joined #nixos
codezero has joined #nixos
thc202 has quit [Ping timeout: 260 seconds]
Quick_Wango has quit [Ping timeout: 265 seconds]
robogoat has joined #nixos
ericnoan has joined #nixos
benedikt93 has joined #nixos
thc202 has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<etrigan63[m]>
<srhb "etrigan63: How do you figure it'"> `Ansible` is a declarative system for remote configuring multiple servers simultaneously. I have used it to install my default set of applications, drivers, and even add disks to fstab, all from a set of simple playbooks. If I want to update anything , I just run the script again and it updates the apps to the latest releases. By providing the playbook with a list of hosts, you
<etrigan63[m]>
can deploy simultaneously across an entire server farm. I see this in Nix/NixOS and truly want to experience it but not in the way Arch makes you magnetize zeroes and ones on the disk platter by hand and suffer the trials of Sisyphus in order to install it.
magnetophon has quit [Read error: Connection reset by peer]
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
magnetophon has joined #nixos
<srhb>
etrigan63[m]: I am familiar with ansible. I must say I think you're missing some of the key features that distinguish Nix quite a lot from Ansible and similar mutate-the-world-but-really-fast approaches, but maybe those aren't important to you. :) Anyway, I know that most users I've guided into the Nix/NixOS world found the learning curve really steep. Perhaps that's worth considering.
<cransom>
the only way ansible fits the 'declaritive' aspect of system config is if you wipe/completely reinstall the os before each run.
<srhb>
cransom: Some shops do exactly that.
<srhb>
But yes :)
cosimone has quit [Quit: Quit.]
<cransom>
and thats coool for them. it would be how puppet/chef would claim the same.
<l33[m]>
puppet, chef, ansible..all based on cfengine...
<srhb>
Last time I tried to install Ubuntu, the partitioning phase defeated me.
sbetrium has quit [Quit: sbetrium]
<srhb>
Sobering moment.
<etrigan63[m]>
If the ansible script uses the key "latest" when installing applications the newest version will be pulled. Run it again and nothing changes unless there is a new version. I don't see how that is "nuke/repave".
<srhb>
etrigan63[m]: A very good ansible script will do just that
<{^_^}>
[nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.index: 1.2.0 → 1.2.1 »: https://git.io/JJflu
<srhb>
etrigan63[m]: The main difference is that Nix can't _not_ do that by design, more or les.
NeoCron has quit [Ping timeout: 260 seconds]
<srhb>
etrigan63[m]: Because Nix essentially nukes and repaves.
orivej has quit [Ping timeout: 240 seconds]
<srhb>
etrigan63[m]: Anyway, I was just curious, I don't see the comparison often, and I don't find it fitting except in a very meta sense.
<cransom>
etrigan63[m]: it's more for when you remove that app from the list. does it get removed from the system?
<l33[m]>
comparing nixops to ansible, is like comparing a apple to a washing machine.
orivej has joined #nixos
sbetrium has joined #nixos
<srhb>
l33[m]: I don't think that's helpful. :-)
cole-h has quit [Quit: Goodbye]
<srhb>
Especially considering nixops mutates all sorts of meta state on infrastructure and you better hope it got it right.
<etrigan63[m]>
Yes, but the atomic aspect of using pointers to handle the upgrades is what makes NixOS interesting to me.
<srhb>
etrigan63[m]: Aha, ok :) That was essentially the point I was getting at.
<srhb>
etrigan63[m]: I think the advice to try out configs (or fragments) is sane, even if it might feel like magnetizing the bits yourself.
<srhb>
etrigan63[m]: At least, I don't think there's a much better alternative for you right now.
knupfer has quit [Ping timeout: 260 seconds]
<etrigan63[m]>
No, to remove an app requires that you tell the script to remove it.
whatisRT has joined #nixos
rtjure has joined #nixos
ryzokuken has quit []
<etrigan63[m]>
<l33[m] "comparing nixops to ansible, is "> I realize that, but one has to apply their own life experiences to new situations in order to get a handle on things quickly. I have worked with Ansible, not with Nix. I see some basic similarities and accept that the comparison breaks down if you look deeply ee
<etrigan63[m]>
> <@l33:1312.media> comparing nixops to ansible, is like comparing a apple to a washing machine.
<etrigan63[m]>
* I realize that, but one has to apply their own life experiences to new situations in order to get a handle on things quickly. I have worked with Ansible, not with Nix. I see some basic similarities and accept that the comparison breaks down if you look deeply enough.
globin has quit [Ping timeout: 272 seconds]
<{^_^}>
error: syntax error, unexpected '<', at (string):317:1