<LnL>
perhaps we could introduce a similar concept for the nixos modules
<bennofs>
LnL: nixos already has an overridable activation & post build script. we "just" need to bring nixos modules to user environments, perhaps even using systemd --user?
danharaj has quit [(Ping timeout: 258 seconds)]
<LnL>
yes, you can add an attribute to system.activationScripts and run a script with su $USER -c ${script}
markus1199 has joined #nixos
markus1189 has quit [(Ping timeout: 264 seconds)]
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cjhowe has joined #nixos
james_rth has quit [()]
thc202 has quit [(Ping timeout: 252 seconds)]
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jgertm_ has quit [(Ping timeout: 258 seconds)]
cjhowe has joined #nixos
bennofs has quit [(Quit: WeeChat 1.6)]
tokyo_jesus has quit [(Ping timeout: 260 seconds)]
tokyo_jesus has joined #nixos
danielrf has quit [(Ping timeout: 258 seconds)]
mizu_no_oto has joined #nixos
aarvar has joined #nixos
justicefries has joined #nixos
kampfschlaefer has quit [(Ping timeout: 258 seconds)]
justicefries has left #nixos []
justicefries has joined #nixos
mudri` has quit [(Ping timeout: 248 seconds)]
<justicefries>
is there a way to support things like AWS VPC creation in nixops? is it something I can add?
<simpson>
justicefries: You'd have to roll up your sleeves and write some Python for nixops, but yeah, that kind of thing is probably possible.
<justicefries>
That's fine! Is there a plugin architecture for it or would I have to fork nixops?
<simpson>
You'd fork, write your patch, and send in a PR.
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<justicefries>
I guess long-term thinking beyond PRs, is it possible to have private backends if for some reason I need them?
<simpson>
Not without forking, but Nix makes that easier than you'd think.
<simpson>
More practically, writing a new backend doesn't appear to be a small easy task. Which cloud provider did you want support for?
<justicefries>
I more want to extend the existing AWS one, and perhaps add internal higher level concepts, but maybe there's a better mechanism for that.
<justicefries>
I should maybe do some more nix before I really get things messy with nixops. I'd like to get away from our Terraform infrastructure, basically.
ryanartecona has joined #nixos
Shou has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
aarvar has quit [(Ping timeout: 260 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
zagy1 has joined #nixos
aarvar has joined #nixos
zagy has quit [(Ping timeout: 240 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
danharaj has joined #nixos
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
eacameron has quit [(Remote host closed the connection)]
mkoenig has quit [(Ping timeout: 248 seconds)]
tokyo_jesus has quit [(Quit: Leaving.)]
aarvar has quit [(Ping timeout: 245 seconds)]
tokyo_jesus has joined #nixos
justicefries has left #nixos []
zraexy has quit [(Ping timeout: 265 seconds)]
PragCyphr has joined #nixos
PragCyph1 has quit [(Ping timeout: 256 seconds)]
ebzzry has quit [(Ping timeout: 248 seconds)]
ebzzry has joined #nixos
aarvar has joined #nixos
<ToxicFrog>
So playonlinux is in the repos, but it doesn't seem to have any modifications to run in an FHS or to patch the wine binaries it downlods
<ToxicFrog>
So it doesn't actually work
<ToxicFrog>
Should I file a bug?
Xackle has quit [(Quit: C-x C-c)]
fractal has quit [(Ping timeout: 258 seconds)]
Matrixiumn has joined #nixos
hexagoxel has quit [(Ping timeout: 264 seconds)]
hexagoxel has joined #nixos
zraexy has joined #nixos
sigmundv has quit [(Ping timeout: 252 seconds)]
fractal has joined #nixos
symm- has quit [(Quit: Leaving...)]
Wizek has quit [(Ping timeout: 252 seconds)]
Wizek_ has quit [(Ping timeout: 256 seconds)]
tokyo_jesus has quit [(Quit: Leaving.)]
eacameron has joined #nixos
<simpson>
ToxicFrog: You could open a dialog with upstream, but it sounds like the sort of thing that really would need a serious update to work on NixOS.
mguentner has quit [(Quit: WeeChat 1.6)]
mguentner has joined #nixos
Wizek has joined #nixos
Wizek_ has joined #nixos
<ToxicFrog>
simpson: I mean a bug against nixpkgs, since this seems like something that should be fixable by running in an FHS
<simpson>
ToxicFrog: Try it and see.
<ToxicFrog>
(the issue is that POL has a feature to download wine binaries and run those rather than using the system wine install, since some games need very specific versions of wine to run)
<ToxicFrog>
And whether it is or not, POL is not usable in its current state, so it should at least be marked broken
eacameron has quit [(Remote host closed the connection)]
indi_ has joined #nixos
zraexy has quit [(Ping timeout: 248 seconds)]
aarvar has quit [(Ping timeout: 268 seconds)]
amarsman has quit [(Ping timeout: 256 seconds)]
filterfish__ has quit [(Ping timeout: 248 seconds)]
mguentner2 has joined #nixos
aarvar has joined #nixos
indi_ has quit [(Remote host closed the connection)]
mguentner has quit [(Ping timeout: 256 seconds)]
indi_ has joined #nixos
joepie91_to_go has joined #nixos
roconnor has joined #nixos
joepie91_to_go has quit [(Ping timeout: 258 seconds)]
indi_ has quit [(Remote host closed the connection)]
roconnor has quit [(Ping timeout: 246 seconds)]
Wizek_ has quit [(Ping timeout: 258 seconds)]
Wizek has quit [(Ping timeout: 252 seconds)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
rmrfroot` has quit [(Remote host closed the connection)]
filterfish has joined #nixos
MercurialAlchemi has joined #nixos
pi3r has quit [(Ping timeout: 245 seconds)]
filterfish_ has joined #nixos
filterfish has quit [(Read error: Connection reset by peer)]
zagy has joined #nixos
zagy has quit [(Client Quit)]
pi3r has joined #nixos
cjhowe has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
pi3r2 has joined #nixos
pi3r has quit [(Ping timeout: 246 seconds)]
indi_ has quit [(Ping timeout: 252 seconds)]
cfricke has joined #nixos
pi3r2 has quit [(Ping timeout: 260 seconds)]
reinzelmann has joined #nixos
indi_ has joined #nixos
aarvar has quit [(Ping timeout: 258 seconds)]
Itkovian has joined #nixos
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
pi3r has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
zagy has joined #nixos
teknico has joined #nixos
zagy1 has joined #nixos
Itkovian has joined #nixos
aarvar has joined #nixos
zagy has quit [(Ping timeout: 258 seconds)]
fritschy has quit [(Remote host closed the connection)]
filterfish_ has quit [(Remote host closed the connection)]
filterfish_ has joined #nixos
zagy1 has quit [(Quit: Leaving.)]
cfricke has quit [(Quit: WeeChat 1.6)]
reinhardt has joined #nixos
reinzelmann has quit [(Ping timeout: 252 seconds)]
ambro718 has joined #nixos
zraexy has quit [(Ping timeout: 258 seconds)]
MichaelRaskin has quit [(Quit: MichaelRaskin)]
thc202 has joined #nixos
cutuchiqueno3 has joined #nixos
__Sander__ has joined #nixos
aarvar has quit [(Ping timeout: 260 seconds)]
Matrixiumn is now known as Xackle
pierron has quit [(Remote host closed the connection)]
fritschy has joined #nixos
pierron has joined #nixos
aarvar has joined #nixos
jgertm_ has joined #nixos
cfricke has joined #nixos
dgn has joined #nixos
sitedyno has quit [(Ping timeout: 252 seconds)]
kriztw has quit [(Quit: Changing server)]
tvon_ has quit [(Quit: Peace out, y'all!)]
kriztw has joined #nixos
gchristensen has quit [(Ping timeout: 256 seconds)]
DavidEGrayson has quit [(Ping timeout: 256 seconds)]
DavidEGrayson has joined #nixos
mudri` has joined #nixos
gchristensen has joined #nixos
sitedyno has joined #nixos
phanimah1sh has joined #nixos
derjohn_mob has joined #nixos
phanimahesh has quit [(Ping timeout: 248 seconds)]
nanobapt has joined #nixos
<nanobapt>
hi there
<nanobapt>
I try to run pulseaudio-dlna under nixos, any people tried to do that ?
phanimahesh has joined #nixos
<nanobapt>
I am to the point where 01-02 09:51:59 pulseaudio_dlna.pulseaudio CRITICAL PulseAudio seems not to be running or PulseAudio dbus module could not be loaded. The application cannot work properly!
<nanobapt>
:)
phanimah1sh has quit [(Ping timeout: 245 seconds)]
<LnL>
do you have pulseaudio configured and running?
<nanobapt>
actually I made a new nix environment for the first time
joepie91_to_go has joined #nixos
<nanobapt>
in order to make pulseaudio
<nanobapt>
pulseaudio-dlna
<nanobapt>
and make return no error
<nanobapt>
so before running pulseaudio-dlna, I make a load-env-pulse
<nanobapt>
is it possible that due to this, dbus isn't working well in this environment ?
<joepie91_to_go>
unfortunately did not get the chance to visit the NixOS assembly at 33C3... my day 4 turned out to be more packed than I'd expected :(
ixxie has joined #nixos
systemfault has quit [(Quit: Bye!)]
<LnL>
nanobapt: not sure then
<nanobapt>
LnL: arf ...
<LnL>
you're running it as the same user right?
<nanobapt>
LnL: after making an environment, Do I need to make a derivation ?
<rod_>
LnL: thanx ... then i am using that package ... however ... got it working ... had to pass pkgconfig
<LnL>
ah that's why it couldn't find it
Justelex has joined #nixos
hotfuzz has quit [(Quit: WeeChat 1.6)]
nanobapt has joined #nixos
<nanobapt>
hi back
<nanobapt>
I've got pulse audio that have trouble to contact dbus
<nanobapt>
[pulseaudio] main.c: Unable to contact D-Bus:
<nanobapt>
Any idea ?
<Justelex>
Hey guys, I replaced my laptop with a (slightly) newer one. I replaced the harddisk and the System is basically working. I know that there is a kind of hardware scan running on installation. Can i rerun this?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen>
Justelex: nixos-generate-config, you can re-run it, but you'll want to backup /etc/nixos/hardware-configuration.nix to somewhere else beforehand, delete it, the re-run it, and then compare to see if it looks sane
ertesx has joined #nixos
wangoe has joined #nixos
ertes has quit [(Ping timeout: 245 seconds)]
ertesx is now known as ertes
wangoe has quit [(Client Quit)]
danieli has quit [(Remote host closed the connection)]
<Avaq>
Hi. I'm having some problems configuring services.xserver.xkbOptions, it seems like the derivations are not built (and files not written) unless the value is "grp:alt_shift_toggle".
<Avaq>
So if I set it to anything else, eg. "grp:alts_toggle", no derivations are built during nixos-rebuild.
<gchristensen>
manveru: yayay! so nice!
<kmicu>
Hi Avaq: could you share the output of ‘nixos-option services.xserver.xkbOptions’ command?
phreedom has quit [(Remote host closed the connection)]
<Avaq>
(Except for "building the system configuration")
<jluttine>
is there a package search for unstable?
<kmicu>
jluttine: web pages reflect Stable channel. So NextCloud will be available in the next Stable update around ~17.05.
<Avaq>
kmicu: The only thing I can do to this line that seems to trigger a rebuild of the xserver configs (without including other X options) is to remove the line, or place it back after removal.
<kmicu>
Avaq: ‘nixos-version’?
<Avaq>
16.03.1346.2946482 (Emu)
<gchristensen>
I wonder if nothing is rebuilding because you already built it in this other state
<Avaq>
Actually removing the line didn't trigger a build this time.
<Avaq>
But it did change in the output of `nixos-option services.xserver.xkbOptions`.
mudri`` has quit [(Ping timeout: 265 seconds)]
<Avaq>
I thought it may have something to do with "NOT restarting the following changed units: display-manager.service", but after rebooting the device the problem persists.
<Avaq>
Note: This line only appeared when I managed to trigger rebuilds, something I haven't been able to do any more during this session.
<kmicu>
‘nixos-rebuild switch’ does not apply changes to not kill your X session. It’s by design.
<gchristensen>
which has the opposite problem of only supporting master, heh
m` has quit [(Ping timeout: 246 seconds)]
<kmicu>
Avaq: maybe there is no free space in /boot or maybe you already have a config for ‘services.xserver.xkbOptions = "grp:alts_toggle";’ so the output is empty, but then you should have /nix/store/<hash>-xserver-conf with ‘grp:alts_toggle’ in nix store.
<kmicu>
(Or maybe during boot you choose an older boot entry w/o changes applied… oh, where is the Nix(OS) debugger/inspector.)
<kmicu>
gchristensen: could you confirm that ‘nix-env -qaP '.*' --description -f https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz’ results in ‘cannot import path ‘/nix/store/8aq3zwn3a241xlq97bx9fwww4i0yh1qr-nixos-unstable.tar.gz’ because it lacks a valid signature’?
<gchristensen>
kmicu: no, I get a list of packages
<Avaq>
kmicu: I just changed the value to "terminate:ctrl_alt_bksp, grp:alts_toggle", which triggered a build. I realized the only time a build is triggered is when I set it to an option I've never used before. I guess that makes sense because for any previously existing option there would already be a compiled file in the nix store.
<kmicu>
gchristensen has solved the mystery. Kudos.
<gchristensen>
oh
<gchristensen>
?
<kmicu>
Avaq: ‘You already have that. Doing nothing’ would be a less confusing output of nixos-rebuild I presume :P
schneefux has joined #nixos
<gchristensen>
oh interesting yes
schneefux has quit [(Ping timeout: 248 seconds)]
<Avaq>
I didn't realize that Nix was building to a different path for every differing config. This explains why my naive debugging method of `cat`ting the same Nix Store file every time wasn't coming up with any results.
<NixOS_GitHub>
[nixpkgs] bendlas opened pull request #21583: webkitgtk: make 2.14 the default (master...update-webkitgtk) https://git.io/vMqDz
phanimah1sh has joined #nixos
<gchristensen>
Avaq: it is key to how NixOS works so nicely :)
<Avaq>
Yeah. I knew the theory, I just hadn't experienced its implications in practice. I suppose that's a good thing because it shows that after a year of use, the system has never gotten in my way.
<gchristensen>
wow! cool :D
mokasin has joined #nixos
phanimahesh has quit [(Ping timeout: 246 seconds)]
tvon has quit [(Remote host closed the connection)]
<kmicu>
Avaq: you can inspect a merged xserver.conf with ‘ nixos-option services.xserver.config’.
<kmicu>
(XkbOptions value is merged from ‘services.xserver.xkbOptions’.)
<mokasin>
Hi. I can update my nixos with `nixos-rebuild switch --upgrade`. But how can I see, which packages will/were be updated?
<gchristensen>
sheesh, kmicu, I've never used nixos-option (why? I don't know) and this is really incredibly neat.
<kmicu>
‘man nixos-option’ is pretty fun like its BUGS section :P
<gchristensen>
LOL
<kmicu>
mokasin: ‘nixos-rebuild dry-build --upgrade’ should show what will be updated.
<mokasin>
kmicu, thank you
<kmicu>
mokasin: also maybe https://github.com/madjar/nox ‘I'm working on a new command, nox-update, that will display information about what is about to be updated, especially giving info not provided by nixos-rebuild:’ could be helpful.
<ixxie>
is there a way to list all nixos users? w seems to give nothing....
ebzzry has quit [(Ping timeout: 256 seconds)]
<kmicu>
Maybe ‘getent passwd’ if you want not only currently logged on users.
civodul has joined #nixos
Shou has joined #nixos
manjaroCinnamon has joined #nixos
bennofs has quit [(Ping timeout: 246 seconds)]
<LnL>
kmicu: have you seen the source of nixos-option? it's ... interresting
mguentner2 is now known as mguentner
bennofs has joined #nixos
<ixxie>
that works kmicu
<ixxie>
but shows a lot system defined users
Itkovian has joined #nixos
<flxw>
on declarative config files: Assuming there is a module, providing a config file in /etc. Let's say /etc/foo. And assuming I'm happy with all the lines it offers, except for one or two. How would you go about adapting /etc/foo? In the derivation, would you maintain a stack of patches for such cases, or is there an easier way? (/etc/foo gets provided by environment.etc.foo = {sources ...}).
<ToxicFrog>
What's the difference between targetPkgs and multiPkgs in buildFHSUserEnv?
<ToxicFrog>
It's completely undocumented except on the wiki, and the wiki doesn't say either
systemfault has quit [(Quit: Bye!)]
<bennofs>
flxw: if possible, change the module so that it accepts an extraConfig option allowing you to add custom lines to the config file
aarvar has quit [(Read error: Connection reset by peer)]
<nanobapt>
I'm trying one again: I have a pulseaudio conf that don't want to connect via dbus
<nanobapt>
does anyone have any Idée on this ?
<nanobapt>
idea not idée
<ToxicFrog>
Aah, found it in the source code
<ToxicFrog>
targetPkgs are installed for the host arch
<ToxicFrog>
multiPkgs are installed for both x86 and amd64
<nanobapt>
[pulseaudio] module-jackdbus-detect.c: Unable to contact D-Bus session bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: /nix/store/shkjdcd92c6kf7h6jiq6nlajyrz4ba6c-dbus-1.10.12-lib/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization
manjaroCinnamon has quit [(Quit: Leaving)]
phreedom has joined #nixos
<bennofs>
nanobapt: wait, so your problem is that pulseaudio does not start?
<joko>
Hello, is anyone aware of a blog post (made last year I think) on installing some wiki / note taking software on NixOS? I think the software was in Haskell and there was also a mentioning on how to write and render maths
<nanobapt>
bennofs: actually yes it start, but it seems that he have some trouble to communicate with dbus
<nanobapt>
dbus is running
<nanobapt>
pulseaudio as well
<bennofs>
nanobapt: what does loginctl show-session print?
<nanobapt>
and I need both for pulseaudio-dlna
<nanobapt>
EnableWallMessages=no
<nanobapt>
NAutoVTs=6
<nanobapt>
KillUserProcesses=no
<nanobapt>
RebootToFirmwareSetup=no
<nanobapt>
IdleHint=no
<nanobapt>
IdleSinceHint=0
<nanobapt>
IdleSinceHintMonotonic=0
<nanobapt>
DelayInhibited=sleep
<nanobapt>
InhibitDelayMaxUSec=5s
<nanobapt>
HandlePowerKey=poweroff
<nanobapt>
HandleSuspendKey=suspend
<nanobapt>
HandleHibernateKey=hibernate
<nanobapt>
HandleLidSwitch=suspend
<nanobapt>
HandleLidSwitchDocked=ignore
<nanobapt>
HoldoffTimeoutUSec=30s
<nanobapt>
IdleAction=ignore
<gchristensen>
nanobapt: in the future, please use a pastebin.
<nanobapt>
IdleActionUSec=30min
<nanobapt>
PreparingForShutdown=no
<nanobapt>
PreparingForSleep=no
<nanobapt>
Docked=no
<LnL>
aaaaaaah
<nanobapt>
RemoveIPC=yes
<nanobapt>
RuntimeDirectorySize=796454912
<nanobapt>
InhibitorsMax=8192
nanobapt was kicked from #nixos by gchristensen [(nanobapt)]
c0bw3b has joined #nixos
pi3r has quit [(Ping timeout: 268 seconds)]
nanobapt has joined #nixos
<nanobapt>
back, again: sorry :)
<gchristensen>
nanobapt: please use ix.io, gist.github.com, hastebin.com, pastebin.com, etc. :)
<nanobapt>
gchristensen: yes, won't do it again promise :)
<nanobapt>
LnL: any information then ?
<bennofs>
nanobapt: so you start pulseaudio from the command line and it gives the error posted above?
<nanobapt>
bennofs: no it start with daemon and the error is from jounalctl
<rwtvfvxq>
I'm working on extending the available configuration options of the postgrey
<rwtvfvxq>
module
<bennofs>
nanobapt: ah! try to start it manually from command line instead
<bennofs>
nanobapt: just to check if that works
<joko>
bennofs: bingo! It was hidden under uml, was too scary to click it :P
<nanobapt>
bennofs: do you how to stop the daemon ? systemctl stop pulseaudio don't work
<bennofs>
nanobapt: hmm, what does systemctl status pulseaudio say?
<nanobapt>
[#nixos]
<nanobapt>
[#nixos]
<nanobapt>
sorry
pi3r has joined #nixos
<dweller>
nanobapt: pulseaudio -k
<nanobapt>
gchristensen: I've got a new machine under nixos, Still some stuff to understand
<rwtvfvxq>
Postgrey either binds to a tcp port or a unix socket, I had the idea of configuring that via two submodules and types.either; what happens when I give an option that type (types.either (submodule inetSocket) (submodule unixSocket)) the value {} ? Does it use the default values of the first argument to either?
<nanobapt>
dweller: THX
<flxw>
bennofs: Thank you. You mean like substitute and --subst-var?
<dweller>
nanobapt: or systemctl --user stop pulseaudio
<bennofs>
nanobapt: then post the link here
<dweller>
htop
<bennofs>
flxw: most modules I know work like this: they have a configuration variable `services.bla.extraConfig` and then in the implementation they do `environment.etc.foo = { ...; text = '' <module generated text> ${cfg.extraConfig} ''; }
<bennofs>
flxw: so that you can set services.bla.extraConfig to add some custom text to /etc/foo but that has to be supported by the module
<bennofs>
(except perhaps if pulseaudio is running in system mode, but that is not recommended for desktop systems)
<nanobapt>
bennofs: no just put some pulseaudio conf inside configuration.nix
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMq7z
<NixOS_GitHub>
nixpkgs/master 9c61571 Falco Peijnenburg: Strongswan: enable rdrand and aes-ni only on X86...
<NixOS_GitHub>
nixpkgs/master c882915 Michael Raskin: Merge pull request #21548 from FPtje/patch-2...
itsn1x has joined #nixos
<bennofs>
nanobapt: hmm, does sound perhaps work already? it looks to me like you've got two pulseaudio instances running (the log says: "E: [pulseaudio] socket-server.c: bind(): Address already in use")
schneefux has quit [(Quit: ZNC 1.6.4 - http://znc.in)]
tommyangelo has joined #nixos
<nanobapt>
bennofs: sounds work fine, I just want to send audio through dlna
<bennofs>
nanobapt: oh...
<nanobapt>
using pulseaudio-dlna
sigmundv has joined #nixos
schneefux has joined #nixos
<bennofs>
nanobapt: can you paste the part of your configuration.nix where you configure pulseaudio?
<aszlig>
probably for DO you don't need to change partitioning because you might have storage separated from a droplet, but I'm not sure whether that's the case, just guessing
<gchristensen>
I think so
<gchristensen>
I'm trying to add some Packet.net support
<aszlig>
ah, cool
<bennofs>
nanobapt: your log says D: [pulseaudio] dbus-util.c: Successfully connected to D-Bus session bus 19cbc6754f6cf46b73749dd7586a58bd as :1.3 though
<nanobapt>
bennofs: yeah ...
<gchristensen>
which has both big disks on the device and remote storage
<aszlig>
gchristensen: i guess it's very similar to DO then, but not sure =)
<gchristensen>
aszlig: well it is also bare metal like hetzner
<aszlig>
gchristensen: do you have something similar to a rescue system?
<gchristensen>
and has a rescue mode, yeah
<aszlig>
ah, cool
Wizek has quit [(Read error: Connection reset by peer)]
Wizek has joined #nixos
<aszlig>
but you probably don't want to add the same partitioning stuff that's used for hetzner, because that's very ugly right now and doesn't blend in very well with nixos configurations
<aszlig>
(you commented on this already so you probably know about it :-D)
<gchristensen>
aszlig: clever's kexec method of installing nixos seems very nice, and a bit more flexible than alternatives I think. It creates a minimal system which the host kexec's and becomes a fully-operable nixos system which no longer has any disks mounted
<nanobapt>
bennofs: ok thx anyway
<gchristensen>
no need for lustrate or a rescue system in that case
<aszlig>
gchristensen: ah, so it's using an initrd and does partitioning then?
<NixOS_GitHub>
[nix] edolstra pushed 1 new commit to master: https://git.io/vMqdy
<NixOS_GitHub>
nix/master b6b142b Eelco Dolstra: Provide /var/run/nscd/socket in the sandbox...
<aszlig>
gchristensen: ah, okay
<aszlig>
gchristensen: however i still think the rescue system has an advantage: you don't need a running system on the host and can redeploy anytime anything goes wrong
<gchristensen>
yes, that is very true
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vMqdx
<NixOS_GitHub>
nixpkgs/master 277e711 Michael Raskin: openvpn: 2.3.13 -> 2.4.0
<aszlig>
gchristensen: and it also allows to easily roll back when in rescue state
<gchristensen>
especially when considering hardware which you can't pretend is disposable
copumpkin has joined #nixos
Shou has quit [(Quit: 🛏)]
bennofs has quit [(Ping timeout: 258 seconds)]
bennofs has joined #nixos
nanobapt has quit [(Ping timeout: 256 seconds)]
nanobapt has joined #nixos
<NixOS_GitHub>
[nixpkgs] pngwjpgh opened pull request #21586: Postgrey (master...postgrey) https://git.io/vMqFj
Seichi has joined #nixos
amarsman_ has joined #nixos
itsn1x has quit [(Quit: Page closed)]
amarsman has quit [(Ping timeout: 258 seconds)]
amarsman_ is now known as amarsman
ryantm____ has joined #nixos
sigmundv has joined #nixos
fritschy has quit [(Quit: Leaving.)]
MercurialAlchemi has quit [(Ping timeout: 268 seconds)]
nanobapt has quit [(Ping timeout: 258 seconds)]
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 246 seconds)]
rwtvfvxq has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub>
[nixpkgs] peterhoeg opened pull request #21587: puddletag: get rid of pypkgs variable (master...f/puddletag) https://git.io/vMqAa
aarvar has quit [(Ping timeout: 245 seconds)]
alx741_ has joined #nixos
alx741 has quit [(Ping timeout: 246 seconds)]
eacameron has joined #nixos
pstn has quit [(Ping timeout: 246 seconds)]
alx741_ has quit [(Quit: alx741_)]
alx741 has joined #nixos
derjohn_mob has quit [(Ping timeout: 248 seconds)]
brh has joined #nixos
JagaJaga has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to release-16.09: https://git.io/vMqxF
mkoenig has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vMqjQ
<NixOS_GitHub>
nixpkgs/master 90deca3 gnidorah: nixos-generate-config: detect CPU governor...
mkoenig has joined #nixos
reinhardt has quit [(Quit: Leaving)]
<gchristensen>
aszlig: can you take a look-see? I'm having a hard time. I've created a Resource for an SSH Key, and specified it in create_after, but still my code attempts to create the server first
<NixOS_GitHub>
[nixpkgs] aszlig pushed 3 new commits to nixpart: https://git.io/vMqjh
<NixOS_GitHub>
nixpkgs/nixpart 1c746cc aszlig: nixos/tests/blivet: Add support for HFS+...
<NixOS_GitHub>
nixpkgs/nixpart ddc083d aszlig: blivet: Include patch fixing tests...
<aszlig>
gchristensen: did you push your changes somewhere?
<gchristensen>
on my way to doing that
ryantrinkle has joined #nixos
<ryantrinkle>
i'm having some trouble with ssh -X; even with forwardX11 set for both client and server, and setXauthLocation = true, it can't seem to find xauth
mkoenig has quit [(Read error: Connection reset by peer)]
<ryantrinkle>
"ssh -Xv" adds some debugging output including: debug1: No xauth program
<ryantrinkle>
which makes me think that setXauthLocation has somehow not worked
<NixOS_GitHub>
[nixpkgs] domenkozar created ghc-split-sections (+1 new commit): https://git.io/vMme7
<NixOS_GitHub>
nixpkgs/ghc-split-sections f750dee Domen Kožar: GHC 8.0.2: use -split-sections...
<NixOS_GitHub>
[nixpkgs] domenkozar opened pull request #21589: GHC 8.0.2: use -split-sections (master...ghc-split-sections) https://git.io/vMmed
derjohn_mob has quit [(Ping timeout: 248 seconds)]
<gchristensen>
aszlig: unfortunately it seems the best bet for implementing new backends is stumble around looking at examples, so this is how I got to where I am
mkoenig has joined #nixos
phanimahesh has joined #nixos
<aszlig>
gchristensen: ah, that token is only used for uploading, right?
nanobapt has quit [(Ping timeout: 248 seconds)]
phanimah1sh has quit [(Ping timeout: 260 seconds)]
aarvar has joined #nixos
<gchristensen>
aszlig: the token is a general purpose API key
zagy has joined #nixos
<ryantrinkle>
hmm, based on strace, it looks like ssh is ignoring the XAuthLocation config parameter in /etc/ssh/ssh_config
<gchristensen>
aszlig: they call it a "token" though so I called it a token in the code
<ryantrinkle>
that parameter is set correctly, but ssh is still looking at /usr/X11R6/bin/xauth
pi3r has quit [(Ping timeout: 256 seconds)]
<aszlig>
gchristensen: yeah, but in the ssh keypair resource it's only used for uploading, right?
<gchristensen>
and deleting, yeah
hotfuzz_ has quit [(Quit: WeeChat 1.6)]
hotfuzz has joined #nixos
<aszlig>
hm, i think using an extra resource for that kind of purpose is a bad idea, i mean after all it's a singleton and per machine, right?
<gchristensen>
no :( packet.net doesn't let you create a key per machine, only a key per user (they have a key per project, but that isn't exposed through the API)
<aszlig>
this leads to duplication of a lot of code, especially if it's something solely backend-specific like with the token
<aszlig>
ah
<gchristensen>
so this key will get re-used per machine
<aszlig>
gchristensen: it looks like the resource type for resources.packetSSHKeys is missing
<aszlig>
ah, it doesn't
eacameron has quit [(Remote host closed the connection)]
danharaj has quit [(Ping timeout: 268 seconds)]
<gchristensen>
aszlig: it is missing?
zagy has quit [(Quit: Leaving.)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
rwtvfvxq has joined #nixos
zagy has joined #nixos
<aszlig>
gchristensen: you're requesting the keypair from the MachineState but it's only existing at the definition so far
jgertm_ has quit [(Ping timeout: 264 seconds)]
leothrix has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
<aszlig>
so the defined key is in defn.ssh_key
leothrix has joined #nixos
ertesx has joined #nixos
<gchristensen>
aszlig: where am I doing that? :/
<aszlig>
it's a bit confusing the way this is handled in nixops, because the properties in the machine state are added to the db while the definition is what you actually have in the network expression
ertes has quit [(Ping timeout: 268 seconds)]
ertesx is now known as ertes
rwtvfvxq has quit [(Quit: leaving)]
<gchristensen>
I'm not seeing where I use the keypair from the state when it is only in the definition, other than in get_ssh_private_key_file
__Sander__ has quit [(Quit: Konversation terminated!)]
<aszlig>
so your code is expecting the key pair in the machine state while it's only existing in the definiton, so you need to add it to the db using something like with self.depl._db: self.ssh_key = defn.ssh_key
mizu_no_oto has joined #nixos
<NixOS_GitHub>
[nixpkgs] polyrod opened pull request #21590: chase: init at 0.5.2 (master...master) https://git.io/vMmJg
mkoenig has quit [(Read error: Connection reset by peer)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
derjohn_mob has joined #nixos
mkoenig has joined #nixos
sigmundv has quit [(Ping timeout: 258 seconds)]
brh has joined #nixos
Seichi has quit [(Quit: Konversation terminated!)]
brh has quit [(Ping timeout: 258 seconds)]
<yorick>
does anyone here use custom cursors?
mkoenig has quit [(Read error: Connection reset by peer)]
<yorick>
I'm thinking maybe xcb-util-cursor should know about ~/.nix-profile/share/icons
tokudan has joined #nixos
brh has joined #nixos
teknico has left #nixos []
pi3r has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 2 new commits to master: https://git.io/vMmTp
<gchristensen>
I'll take a look at export and show-physical to try and understand
<aszlig>
gchristensen: actually the dict you return in create_after() should be a list instead of a dict, but that should work nevertheless because it should result in a set (not sure if that's intended), which in turn is iterable
cjhowe has joined #nixos
<gchristensen>
aszlig: that is what I was thinking, but other implementations have it written as I do. it doesn't end up making much difference.
<aszlig>
gchristensen: what does create_after() return in your case?
mizu_no_oto has joined #nixos
gilligan_ has joined #nixos
<jazzencat>
A puzzle: launching cutegram from the application menu doesn't work the first time, but does the second time. Also when attempting to uninstall it the entry never is removed from the menu even after a reboot.
<gilligan_>
evening
<gchristensen>
set([<nixops.resources.packet_sshkey.PacketSSHKeyState object at 0x7ff07771be90>], aszlig
<gchristensen>
aszlig: changing it to a list ([<nixops.resources.packet_sshkey.PacketSSHKeyState object at 0x7f75081bce90>]) has the same behavior
<aszlig>
yeah
mizu_no_oto has quit [(Client Quit)]
brh has joined #nixos
<aszlig>
so in theory it *should* issue .create() on PacketSSHKeyState, which it doesn't...
<aszlig>
from the db point of view everything should also be created as expected
<gilligan_>
hey aszlig
<aszlig>
hey gilligan_
mudri`` is now known as mudri
<gilligan_>
aszlig, do you know anything about chromium embedded framework?
<gchristensen>
running 'show-physical', it has the server in there, but not the ssh key. maybe I need to destroy it and start over?
<gchristensen>
hrm... no, that made no difference. the key isn't being created first still.
<bennofs1>
talking about chromium, is it necessary that I have to build chromium myself if I want to use widevine?
bennofs1 is now known as bennofs
<gchristensen>
bennofs: you can use google-chrome instead
<bennofs>
and if I want chromium and not google-chrome? :d
<gchristensen>
well
<gchristensen>
then you build chromium yourself to get widevine
<aszlig>
bennofs: well, why would a DRM module be proprietary? ;-)
<gilligan_>
aszlig, would like to fix it but I really don't know the first thing about it. What is it anyway? why isn't it bundled with spotify etc?
<aszlig>
gilligan_: hm, couldn't it just be added via patchelf'ing the hell out of a binary?
acertain has quit [(Ping timeout: 244 seconds)]
<gilligan_>
aszlig, really no clue about that tbh
<aszlig>
bennofs: looking at the source of recent chromium it's now a library, which i believe is still unsandboxed, but i haven't digged too much into it
<gchristensen>
aszlig: oh I see what you meant. I'll try again. interesting.
<gchristensen>
no, they were all tracked this time and had the same behavior.
<gchristensen>
aszlig: I'd be happy to share my key with you, for you to try this.
<aszlig>
gchristensen: well, let me dig a bit whether i can figure this out without throwing pdb at it
<aszlig>
though the latter would certainly help :-)
<ixxie>
aszlig: I have been wondering if it is rediculously difficult / stupid to create a way to autogenerate options for all plugins for chromium
mbrgm has joined #nixos
<ixxie>
unfortunately that is something way out of my league to do, I am just a nixn00b
<gchristensen>
aszlig: sure can, thank you for the idea
digitalmentat has joined #nixos
cjhowe has joined #nixos
<gchristensen>
aszlig: so it sees nixops.resources.packet_sshkey.PacketSSHKeyState in the create_after list, waits for it to finish, _errored is False.
<gilligan_>
Hm, could someone backport https://github.com/NixOS/nixpkgs/pull/21242 to 16.09 ? teamviewer does not build on 16.09 (invalid hash, download binary changed i suppose)
<gchristensen>
aszlig: :| sorry ... :( I've been using "--include" to only deploy my one node.
<gchristensen>
which means it refuses to build dependent resources too
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 23 new commits to master: https://git.io/vMmYM
<NixOS_GitHub>
nixpkgs/master a541999 Michael Raskin: libgphoto2: 2.5.10 -> 2.5.11
<NixOS_GitHub>
nixpkgs/master f2abc2d Michael Raskin: imagemagick7: fix references in the lighter versions
<NixOS_GitHub>
nixpkgs/master d94706e Michael Raskin: baresip: 0.4.20 -> 0.5.0
cfricke has quit [(Quit: WeeChat 1.6)]
<aszlig>
ixxie: well, a way would be to have something like ninja2nix, which should solve the whole headache of building chromium
digitalmentat has quit [(Ping timeout: 258 seconds)]
<aszlig>
gchristensen: X-D
mudri` has joined #nixos
<aszlig>
gchristensen: yeah, a machine is a resource as well and with --include/exclude you specify resources
Itkovian has joined #nixos
<aszlig>
gchristensen: although it would make sense if nixops could warn if one resource depends on an excluded one
mudri has quit [(Ping timeout: 260 seconds)]
<gchristensen>
yeah
<gchristensen>
I've had this problem before
emmanueloga has left #nixos []
<gchristensen>
BTW I revoked that token I sent you now that I sorted that out
<aszlig>
gchristensen: good :-)
<aszlig>
now heading back to nixpart :-) want to have this done if possible this week
<gchristensen>
sounds good. thank you for helping me here
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cjhowe has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to release-16.09: https://git.io/vMmOn
danharaj has quit [(Remote host closed the connection)]
<aszlig>
ixxie: it's a make replacement with a very limited syntax, which really helps for something like ninja2nix
<ixxie>
and chromium plugins are packaged in ninja or what?
<aszlig>
ixxie: well, they use a generator for ninja files (GN)
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<aszlig>
ixxie: so it's like fetch source tree -> generate ninja file -> generate nix expression from ninja file using nix2ninja -> build the resulting derivation
<aszlig>
although recursive nix would help here, it's not a necessity, because we could add pregenerated nix expressions for the generic build(s) and use import-from-derivation if the input options differ
<ixxie>
well that is far beyond my skills at this point
roberth has joined #nixos
<aszlig>
ninja2nix itself should generate a derivation for each build object, so you can re-use the binary cache
<ixxie>
first I will backage something simple
gilligan_ has quit [(Quit: Leaving)]
<aszlig>
and you also get distributed building for free
<ixxie>
package*
<aszlig>
ixxie: i'm no longer maintaining chromium, so it's not in my todo list anymore, but maybe someday[TM] or (even better, because i hate modern browsers) somebody else will do it :-D
mizu_no_oto has joined #nixos
<aszlig>
ixxie: maybe after submitting your first package? :-D
<Ralith>
ooh, ninja2nix exists?
<AtnNn_>
aszlig: what broser do you use?
<aszlig>
Ralith: no, unfortunately not
AtnNn_ is now known as AtnNn
<aszlig>
AtnNn_: i used to browse using w3m until about 5 years ago where it came a pain in the butt to dig through the sheer amount of JS that most sites today are comprised of
<Ralith>
aw
mizu_no_oto has quit [(Read error: Connection reset by peer)]
<aszlig>
AtnNn: but now i'm using chromium :-/
cjhowe has joined #nixos
mizu_no_oto has joined #nixos
<manveru>
chromium with ublock origin and privacy badger isn't that bad
<aszlig>
manveru: it's still too much for my taste
DerGuteMoritz has quit [(Ping timeout: 258 seconds)]
<manveru>
well, i got used to the internet not adopting my taste :P
<aszlig>
hehe
pstn has quit [(Ping timeout: 248 seconds)]
<manveru>
but yeah, most pages are hopelessly bloated, i just don't pay per byte and my machine is usually fast enough that i don't notice it much
<AtnNn>
I found my own compromise in vimperator and the reader view
<aszlig>
manveru: it's not the bloat it's more like you can't realistically browse most sites without JS, because the definition of site has shifted towards full-fledged program rather than just markup and a bit of styling
<manveru>
since i build such pages for a living, my apologies :(
bret has joined #nixos
<ixxie>
aszlig: yeah after I package something else I will give it a go but I think Gnome extensions would be more useful (if it is not significantly harder to do)
<aszlig>
manveru: well... i work at a browser games company...
<gchristensen>
hehe
<manveru>
lol
sellout- has joined #nixos
<aszlig>
manveru: so that's probably the perversion of what i stated ;-)
sellout- has quit [(Remote host closed the connection)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<aszlig>
manveru: i know that already (backed it X-D)
indi_ has joined #nixos
<manveru>
just got it on steam today, was surprised that it was html...
<symm->
hi. anyone running awesome with nixos?
brh has joined #nixos
<aszlig>
manveru: yeah, more like js with a big canvas, although i have to admit that this also makes the js-stuff way less painful... you just need a small shim for the canvas stuff and just compile your stuff to js without caring a lot about browser support
m0rphism has quit [(Quit: WeeChat 1.4)]
m0rphism has joined #nixos
ixxie has quit [(Quit: leaving)]
<gchristensen>
aszlig: thinking through how to implement the bootstrapping is very stressful, trying to balance ease of getting it done / likelihood of it actually getting merged
ixxie has joined #nixos
ixxie has quit [(Client Quit)]
Ivanych has quit [(Quit: Leaving.)]
indi_ has quit [(Ping timeout: 258 seconds)]
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<aszlig>
manveru: like that old nixos logo animation i posted a while ago: https://redmoonstudios.org/~aszlig/fdbc/nixos.html - it's basically just compiled js and can run natively as well as a telnetd service... which makes it less painful if you hate browsers :-D
<aszlig>
gchristensen: well, try to get it done and clean up afterwards?
<aszlig>
gchristensen: where afterwards is "before merging"
<aszlig>
gchristensen: what could become interesting as well for the packet backend is testing
<gchristensen>
aszlig: like implementing tests for the packet backend?
<ajp>
does anyone know where to find the build scripts for other distros (e.g. debian)? I want to figure out if/how they package tensorflow (it has a pretty adversarial bazel-based build system)
<aszlig>
you could probably re-use some things from the hetzner tests if that's applicable for packet...
<gchristensen>
yeah, maybe so
brh has quit [(Ping timeout: 258 seconds)]
<aszlig>
don't know about their rescue system, but hetzner uses debian so the test expression build a debian live cd in order to simulate the rescue state
<aszlig>
but even the hetzner stuff could use some API mockups, so that we don't need a "test mode" in the code
<NixOS_GitHub>
[nixpkgs] ryantrinkle opened pull request #21595: ghc: when building with 8.0.2 or later, enable parallel builds (master...ghc-8.0.2-parallel-builds) https://git.io/vMmGD
<berce>
not tested, but read earlier on irc: just copy the sha256 sum of any other package and try compiling, it will throw an error mentioning the correct one
acertain has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vMmC0
<NixOS_GitHub>
nixpkgs/master 7c5784d Michael Raskin: maxima: 5.38.1 -> 5.39.0
<peter-holm>
Will try that., ty berce
<peter-holm>
I did this... Packaged the c-file and the make-file. Ten i executed nix-prefetch-url file:////home/peter/.fvwm/bin/sascha/v1/T/tst/thumbxyz.tar.gz
<peter-holm>
WHich gave me a path to nix-store. After that I did -> nix-env -i /nix/store/9gm9lbf0wkfp0s0qns34scgdp1z5hd6k-thumbxyz.tar.gz
nanobapt has joined #nixos
<peter-holm>
In thre hope it should produce an executabke. But cant find it. So I am stuck.
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
[0x4A6F]1 has joined #nixos
cjhowe has joined #nixos
nanobapt has quit [(Ping timeout: 268 seconds)]
Itkovian has joined #nixos
brh has quit [(Ping timeout: 256 seconds)]
<LnL>
why do I have to compile nix from the unstable channel?
[0x4A6F] has quit [(Ping timeout: 265 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
<LnL>
that doesn't sound right
AllanEsp1nosa has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<hodapp>
"output path ‘/nix/store/pbnk63bqgaxy3hyzsdvbkpy72n7ryii8-frame-fns.el’ has sha256 hash ‘00b2bb3rfraps47mcv0vb51ygjx0f311i95g0b7dh1jqi6nxdfb1’ when ‘0lvlyxb62sgrm37hc21dn7qzlrq2yagiwpspa926q6dpzcsbam15’ was expected" hrmph
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cjhowe has joined #nixos
symm- has joined #nixos
symm has quit [(Ping timeout: 264 seconds)]
georges-duperon has joined #nixos
johnw has joined #nixos
johnw has quit [(Read error: Connection reset by peer)]
nomachine has joined #nixos
johnw has joined #nixos
pstn has joined #nixos
<nomachine>
I am trying to package NoMachine 5, their scripts check the required binaries by checking availability in /bin and /usr/bin and otherwise fail. Is there a handy way (e.g. a built-in) to replace these references with where they can be in found in the nix store?
danielrf has joined #nixos
justinkaz has quit [(Ping timeout: 260 seconds)]
bfrog_ has quit [(Ping timeout: 260 seconds)]
mizu_no_oto has joined #nixos
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cjhowe has joined #nixos
m0rphism has joined #nixos
<kriztw>
Hey, I am having trouble building a local haskell project on NixOS, I keep getting "Package ‘cabal-0.0.0.0’ in '...' is marked as broken, refusing to evaluate.". cabal2nix also keeps writing Cabal instead of cabal, which should I use?
<nomachine>
LnL: Yeah, I knew of that, but that means I will have to that like 50 times or so, ah well, then I will just generate a hardcoded list of --replace arguments
symm- has quit [(Quit: Leaving...)]
<nomachine>
LnL: Do you by any chance know of a way to determine where binaries can be found, so e.g. ssh-keygen would give me openssh?
<nomachine>
That would simplify determining the dependencies of all those binaries
brh has quit [(Ping timeout: 256 seconds)]
<simpson>
nomachine: BTW there's no shame in having a first draft use the FHS user env.
<simpson>
It's not *that* heavy.
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
indi_ has joined #nixos
<LnL>
nomachine: command -v ssh-keygen once you have everything in your $PATH
<nomachine>
simpson: I have never used that myself yet, but from what I understood, that creates an virtual environment in which the binaries and such can be found in the locations that match most other distributions?
<LnL>
that's basically how patchShebangs works, but it only looks at the first line
<simpson>
nomachine: Sure. Specifically, it's the FHS, which is *the* standard Linux filesystem layout.
<simpson>
nomachine: Your tools might assume some other certain binaries, like apt or rpm, are available, but we can't help much with that.
cjhowe has joined #nixos
<nomachine>
simpson: Alright, thanks for the tip! I am going to look into that now, I am probably more likely to succeed that way initially, and then I can always try and do it by patching once I know it at least works via the FHS way
cjhowe has quit [(Client Quit)]
indi_ has quit [(Ping timeout: 268 seconds)]
johnw has quit [(Read error: Connection reset by peer)]
<nomachine>
simpson: Luckily NoMachine 5 is also packaged in AUR (Arch Linux User Repository), since they are also not officially supported, and they applied minor patches to make it work, so hopefully when using FHS on NixOS it should be as simple
johnw has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<simpson>
nomachine: If you need examples or hints, the Steam derivation uses the same FHS tooling and is somewhat commented.
cjhowe has joined #nixos
<nomachine>
simpson: I seems to be well documented, there is a wiki entry and it is explained in the nixpkgs manual as well I see, but thanks for the tip, I will look at Steam for additional insights as well
<simpson>
nomachine: Beware the wiki; it's out-of-date often.
<gchristensen>
aszlig: is there a way to get the physical representation of a machine?
bennofs has quit [(Ping timeout: 258 seconds)]
<gchristensen>
oh. ... derp, get_physical_spec.
pstn has quit [(Quit: leaving)]
<gchristensen>
hrm ... no, that isn't it. that is for overriding. I want to know what nixops deploy will build
bennofs has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
brh has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
itsn1x has joined #nixos
Itkovian has joined #nixos
<gchristensen>
domenkozar: sorry you got caught :P
sboosali has joined #nixos
itsn1x has quit [(Client Quit)]
itdg has joined #nixos
<itdg>
.
<sboosali>
Hi, I can't access the virtual box shared folder (NixOS guest, Windows 10 host) without sudo. I've tried chown'ing /media/sf_*, and adding vboxsf to my groups.