sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
thc202 has quit [Ping timeout: 268 seconds]
yunratobe has joined #nixos
<yunratobe> I got a problem, it seems vaapi not workin for me, I got following error https://pastebin.com/r4Q00VUt, I have followed instruction from https://nixos.wiki/wiki/Accelerated_Video_Playback. I'm using T440p with intel hd
<ivan> yunratobe: are you using Wayland?
Adluc has quit [Quit: ZNC - http://znc.in]
hexo has quit [Write error: Connection reset by peer]
Anton-Latukha has quit [Ping timeout: 268 seconds]
acowley has quit [Ping timeout: 268 seconds]
<pie_> i await the day i can git clone /other people's/ repos and just drop myself into a nix shell...
<pie_> nix shell or nix hell? ;D (just kidding)
ToxicFrog has quit [Ping timeout: 246 seconds]
ToxicFrog has joined #nixos
levdub has joined #nixos
<yunratobe> ivan yes
Adluc has joined #nixos
<yunratobe> but vaapi not working too when on X11
hexo has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjoPq
justanotheruser has joined #nixos
mexisme has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @lopsided98 opened pull request #63911 → nixos/release-notes: fix bad merge of cargo-vendor entry and formatting → https://git.io/fjoPm
srk has joined #nixos
Perfectionist has joined #nixos
LogicAside has quit [Ping timeout: 272 seconds]
genesis has quit [Remote host closed the connection]
yunratobe-1 has joined #nixos
alp has quit [Ping timeout: 252 seconds]
sindrip has quit [Ping timeout: 260 seconds]
LogicAside has joined #nixos
Ariakenom has quit [Quit: Leaving]
iyzsong has joined #nixos
ToxicFrog has quit [Ping timeout: 268 seconds]
ToxicFrog has joined #nixos
dansho has quit [Quit: Leaving]
<lordcirth_> samueldr, error: moving build output '/nix/store/zn909yj9ax5sv3358drxwwlyk7d1na3b-documentation-highlighter' from the sandbox to the Nix store: Permission denied
<samueldr> lordcirth_: hm?
Perfectionist has quit [Quit: ⭐⭐Join: ##truth ⭐⭐]
<lordcirth_> samueldr, trying to use your arm build script
<samueldr> never seen that error
<lordcirth_> Probably because I'm not on NixOS
<lordcirth_> If I do it as root, the paths don't work :P
<kyren> what do I do if I want to override a nixos module, but the module I'm overriding has a renamed option in nixos/modules/rename.nix?
<kyren> (and the renamed option doesn't exist in the overriden module)
<kyren> I get a "The option <some_option> defined in '<path>/nixos/modules/rename.nix' does not exist error (in case that part wasn't obvious)
<kyren> eh, I can just make a placeholder module with type `types.enum [ "DEPRECATED" ]` or something
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
domogled has quit [Quit: domogled]
yunratobe-1 has quit [Quit: WeeChat 2.4]
waleee-cl has quit [Quit: Connection closed for inactivity]
levdub has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
snajpa has quit [Quit: ZNC 1.7.1 - https://znc.in]
aither has quit [Quit: ZNC 1.7.1 - https://znc.in]
ddellacosta has quit [Ping timeout: 244 seconds]
martyet-o has quit [Ping timeout: 244 seconds]
levdub has joined #nixos
yunratobe has quit [Remote host closed the connection]
ym555 has quit [Read error: Connection reset by peer]
yunratobe_ has joined #nixos
ym555 has joined #nixos
<lordcirth_> How did a file in my Nix store (namely sudoers.so) manage to be owned by my user instead of root?
<{^_^}> [nixpkgs] @marsam merged pull request #63883 → nodejs-12_x: 12.4.0 -> 12.5.0 → https://git.io/fjo8o
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjoP9
MmeQuignon has quit [Ping timeout: 248 seconds]
silver has quit [Read error: Connection reset by peer]
snajpa has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/6f0b781bc1c (from 11 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
xkapastel has quit [Quit: Connection closed for inactivity]
Ralith_ has quit [Remote host closed the connection]
Guest77 has joined #nixos
snajpa has quit [Ping timeout: 245 seconds]
snajpa has joined #nixos
<lordcirth_> Do I need to do something special to set the root password, or should setting users.users.root.hashedPassword work?
<lordcirth_> Because it's not working.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8f6c65fa045 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
ericsagnes has quit [Ping timeout: 264 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
Okinan has quit [Quit: Konversation terminated!]
Cale has quit [Ping timeout: 264 seconds]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
Guest77 has quit [Read error: Connection reset by peer]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #63907 → vivaldi: widevine-support, fixed ffmpeg-support → https://git.io/fjo6o
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/fjoXT
qqii has quit [Ping timeout: 260 seconds]
steshaw has joined #nixos
stepcut has quit [Ping timeout: 258 seconds]
hio has quit [Quit: Connection closed for inactivity]
ericsagnes has joined #nixos
datakurre has joined #nixos
xelxebar has quit [Ping timeout: 260 seconds]
xelxebar has joined #nixos
levdub has quit [Remote host closed the connection]
levdub has joined #nixos
Ralith_ has joined #nixos
<lordcirth_> Ah, it seems that when creating the libvirtd image, nixops is creating the files as uid 1000, presumably because it's running as uid 1000 on the host
Miyu-chan has quit [Ping timeout: 268 seconds]
<clever> lordcirth_: ah, sounds like a purity issue, it should be forcing a uid when creating the image
* Ralith kicks his bouncer
<lordcirth_> clever, any idea how to fix it? Running it as root seems to cause it's own problems
<clever> lordcirth_: you want to run nix-daemon as root, and make sure root owns /nix/store/
<clever> lordcirth_: then run the normal nix-build without root
<clever> lordcirth_: root should also own everything under /nix/var/
<lordcirth_> I could have sworn I did a proper multi-user install
<lordcirth_> But there's no nix-daemon systemd service?
<lordcirth_> clever, what about /nix/store ?
<clever> lordcirth_: when in multiuser mode, root should own it
lordcirth_ has quit [Remote host closed the connection]
lordcirth_ has joined #nixos
alex`` has joined #nixos
Supersonic has quit [Ping timeout: 264 seconds]
Supersonic has joined #nixos
ym555 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #63912 → Mesa Darwin support → https://git.io/fjoX9
tmaekawa has joined #nixos
domogled has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/2516c454c35 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> [nixpkgs] @pacien opened pull request #63913 → nodePackages.tedicross: 0.8.7 -> 0.9.1 → https://git.io/fjoXN
tmaekawa has quit [Ping timeout: 258 seconds]
kim0 has quit [Quit: Connection closed for inactivity]
cjpbirkbeck has quit [Quit: Quitting now.]
acowley has joined #nixos
szicari has quit [Ping timeout: 246 seconds]
szicari has joined #nixos
szicari has quit [Ping timeout: 245 seconds]
szicari has joined #nixos
prometheus_falli has joined #nixos
hmpffff has joined #nixos
alex`` has quit [Ping timeout: 245 seconds]
ikwildrpepper has quit [Changing host]
ikwildrpepper has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
Guest77 has joined #nixos
ym555 has joined #nixos
domogled has quit [Quit: domogled]
security_sudo has joined #nixos
alp has joined #nixos
security_sudo has left #nixos [#nixos]
palo1 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1ab2e927a63 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
palo has quit [Ping timeout: 244 seconds]
palo1 is now known as palo
hoijui has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
hoijui has quit [Ping timeout: 252 seconds]
aither has joined #nixos
Guest77 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wfranzini has joined #nixos
Guest77 has joined #nixos
mexisme has joined #nixos
hio has joined #nixos
endformationage has quit [Quit: WeeChat 2.5]
prometheus_falli has quit [Ping timeout: 246 seconds]
mexisme has quit [Ping timeout: 246 seconds]
prometheus_falli has joined #nixos
zupo has joined #nixos
Guest77 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anon has joined #nixos
anon is now known as Guest54985
wfranzini has quit [Remote host closed the connection]
Guest77 has joined #nixos
stranger___ has joined #nixos
zupo has quit [Read error: Connection reset by peer]
wfranzini has joined #nixos
Guest77 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
puck has quit [Quit: nya]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1ab2e927a63 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
puck has joined #nixos
lord| has quit [Ping timeout: 245 seconds]
root has joined #nixos
root is now known as Miyu-chan
Miyu-chan has joined #nixos
Miyu-chan has quit [Changing host]
kvaster has joined #nixos
lord| has joined #nixos
alp has quit [Ping timeout: 250 seconds]
kvaster has quit [Ping timeout: 272 seconds]
linarcx has joined #nixos
polmaan has quit [Ping timeout: 248 seconds]
polmaan has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
kvaster has joined #nixos
<aveltras> how would one set up the partition table of a nixos install in an optimal way for a 10GB disk space and 1 GB ram of a cloud instance ?
<ivan> aveltras: are you sure you want to use a cloud instance with 10GB/1GB
<aveltras> for a starter yes :) i don't even have an app to put on it yet
<aveltras> just wondering if people usually keep a swap partition on sth like that
<ivan> you might not even have enough room for software
<ivan> just do everything on / with no swap
<ivan> you can use a swap file later if you really need one
<aveltras> ok
<aveltras> boot partition should still hold 500MB or no boot partition either ?
<aveltras> not really sure how things are done on a server
<ivan> you don't need a boot partition for that setup, nixos/grub works just fine without
<aveltras> and for your desktop install, do you use the recommended setup detailed in the manual ?
<ivan> I use XFS on LUKS
<ivan> separate unencrypted /boot
<hyper_ch> 10Gb is terribly low IMHO
<aveltras> ye in fact, it'll be 25go
<hyper_ch> ivan: look at clever's kexec to get the nixos installer starting
<aveltras> was looking at https://www.vultr.com/products/cloud-compute/ but the low ones aren't available in my region
<stranger___> ok? #63024
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63024 (by gnidorah, 2 weeks ago, open): midisheetmusic: always bring timidity dependency
<ivan> aveltras: which region do you want?
<aveltras> would be france
knupfer has joined #nixos
<aveltras> i like that they have the possibility to upload our own iso
<aveltras> can directly install nixos without relying on nixos infect
<ivan> aveltras: hetzner cloud is in germany and finland, scaleway is in france and netherlands
<aveltras> ye, already did taht on an ovh cloud, it worked well
<aveltras> but then you have to do it on every install
<{^_^}> [nixpkgs] @gnidorah opened pull request #63915 → openjk: 2018-09-17 -> 2019-06-24 → https://git.io/fjoMU
<hyper_ch> aveltras: or just use self-built kexec
<aveltras> hyper_ch: reading your link right now :)
<aveltras> hyper_ch: so i guess the nice thing with your link is to be able to partition the disk as we want VS nixos-infect which just seems to keep the same partitions, right ?
init_6 has joined #nixos
<hyper_ch> aveltras: the kexec loads a very basic nixos install "iso" into ram
<hyper_ch> you have can continue like you inserted a usb stick or cd
<hyper_ch> so feel free to do with the partitions as you want
<hyper_ch> aveltras: instead of setting ssh key, you could also use password.... and maybe also dhcp works on the server, see https://github.com/sjau/nix-expressions/blob/master/customIsoFiles/ovh_cloud_vps_kexec_configuration.nix
kvaster has quit [Ping timeout: 268 seconds]
<hyper_ch> I then also use a small script that I add to more or less automate the basic installaion https://github.com/sjau/nix-expressions/blob/master/customIsoFiles/ovh_cloud_vps_install_script
<hyper_ch> thanks goes to clever :)
<baum> newbie question: how can i create a link from /run/current-system/sw/share/<some-folder> to /nix/store/<some-package>/share/<some-folder> ?
<aveltras> i see
<aveltras> hyper_ch: thanks
<hyper_ch> baum: what are you trying to achieve?
<clever> baum: put some-package into environment.systemPackages
kvaster has joined #nixos
* clever heads off to bed
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #63916 → nixos/synapse-bt: init → https://git.io/fjoMn
<baum> hyper_ch: i'm trying to debug why the postgres service won't start on any of my machines
evax has quit [Quit: WeeChat 2.4]
<hyper_ch> systemctl status postgres
<baum> clever: i did that, however it didn't seem to work?
lukego has joined #nixos
<hyper_ch> journalctl -b0 -u postgres?
<baum> hyper_ch: no real error message, just that there was a timeout
<hyper_ch> I prefer mariadb over postgres... I always found postgres administration weird :) can't help you
<baum> well, i considered just using maria in the meantime too, however postgres seems to be packaged with quite a lot of software (e.g. gitlab)
<baum> clever: and if this didn't work?
* baum just realized that he repeated himselfe, sry
<clever> baum: did you services.postgresql.enable = true?
<hyper_ch> most people say postgres is far better than mysql/mariadb but I never really got the gist of it...
<baum> clever: yes
knupfer has quit [Ping timeout: 252 seconds]
<clever> baum: out of ideas then, thats about the limit of my psql knowledge, lol
wfranzini has quit [Remote host closed the connection]
* clever heads off to bed
<ar> baum: wait. did you add postgresql to system packages, or did you actually enable the postgres servce (services.postgresql.enable)?
<baum> alright, thanks
<ar> oh. nvm you did
<baum> ar: i tried both: http://paste.debian.net/1089716/
<baum> if i deploy this conf via nixops i get a timeout error message from postgres, thus i sshed into the machine and i'm trying to start it manually
<baum> this is where postgres errors out with: FATAL: could not open directory "/run/current-system/sw/share/timezonesets": No such file or directory
<ar> huh
<baum> (which does exist in /nix/store)
<baum> i'm not sure how to continue debugging from there
ym555_ has joined #nixos
ym555 has quit [Ping timeout: 268 seconds]
mexisme has joined #nixos
<lukego> If I build with '--option sandbox false' then should I have network access? Trying to make this work: nix-build --option sandbox false -E 'with import <nixpkgs> {}; runCommand "test" { buildInputs = [ wget ]; } "wget -O- http://google.com/"'
<lukego> (This is me looking for a neat way to package up impure code that generates pure nix expressions i.e. scraping the internet to create a list of sources with sha256. I suppose people usually do this with nix-shell but I thought nix-build could be neater.)
WilliamHamilton has joined #nixos
hlolli_ has joined #nixos
slack1256 has joined #nixos
<yorick> lukego: you have to be a trusted user (or root) for that to work
<lukego> yorick: ok thanks. I'd expected a warning if it weren't working, but seems like that's asking too much. I'll try to formulate this with nix-shell instead.
ent has joined #nixos
<yorick> lukego: would be good to make a warning for that, yes
Anton-Latukha has joined #nixos
orivej has joined #nixos
<nilsirl[m]> How can I enable AddKeysToAgent in ssh
<ar> baum: well, I just added services.postgresql = { enable = true; package = pkgs.postgresql96; }; to my configuration.nix, it works, /run/current-system/sw/share/timezonesets doesn't exist and nothing complains about that
<{^_^}> [systemd] @Mic92 merged pull request #29 → systemd v242 stable backports → https://git.io/fjraf
<nilsirl[m]> ?
<{^_^}> [systemd] @Mic92 pushed 32 commits to nixos-v242: https://git.io/fjoM2
<baum> ar: and the service starts/keeps running?
<ar> baum: yup
<ar> baum: but listens on loopback
<ar> but otherwise works
<baum> strange, i'm running two machines, and it doesn't work on either of them
<ar> i'm on nixos-unstable on that machine
griffithudm2 has joined #nixos
<baum> ar: i'm running 18.09
griffithudm2 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<baum> ar: well i'm not sure how to continue from here, basicly my plan was to setup gitea/hydra via nixops (for now in a vm and once everything works to deploy it on a server)
hazefpj1 has joined #nixos
hazefpj1 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
antinrlo2 has joined #nixos
antinrlo2 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
hlolli_ has quit [Ping timeout: 264 seconds]
hershelmea3 has joined #nixos
justanotheruser has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
hershelmea3 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
cyraxjoe has quit [Quit: I'm out!]
<lukego> yorick: I heard a rumour that one way to avoid the sandbox restriction is to wrap the build script in a qemu virtual machine. I can't immediately find a howto on that though. Is that really true and easy to do?
<lukego> Hurts a bit to switch from nix-build to nix-shell because the result is not really composable anymore.
amz3 has quit [Quit: WeeChat 2.2]
linarcx has quit [Quit: WeeChat 2.5]
* baum currently tries to update his 18.09 version, if unsuccessful he'll try to upgrade to 19.03
mexisme has quit [Ping timeout: 246 seconds]
Ariakenom has joined #nixos
Perfectionist has joined #nixos
Guest77 has joined #nixos
WilliamHamilton has quit [Remote host closed the connection]
linarcx has joined #nixos
justanotheruser has joined #nixos
gxt has joined #nixos
<andi-> baum: you are aware that 18.09 is EOL since a while and doesn't receive any updates anymore?
<baum> andi-: i was not... thanks
<{^_^}> [nixpkgs] @bricewge opened pull request #63917 → stow: 2.2.2 -> 2.3.0 → https://git.io/fjoDv
fusion809 has quit [Remote host closed the connection]
asheshambasta has joined #nixos
ericsagnes has quit [Ping timeout: 268 seconds]
<alexarice[m]> is it possible for a graphics card to become unsupported on nixos, I'm getting errors that suggest my card is not support when I haven't changed it or the configuration
<srhb> alexarice[m]: As in as the consequence of an upgrade? Sure, it's possible. Probably not intentionally though. What's the card, what's the error?
<alexarice[m]> srhb: the error is on opening sway `[backend/backend.c:399] Failed to open any DRM device`
<alexarice[m]> and the card is some integrated intel on lenovo x1 carbon 2nd gen
<srhb> That seems unlikely to be unsupported.
<alexarice[m]> and I have a generation from a week ago where everything works fine
evax has joined #nixos
karetsu has joined #nixos
<alexarice[m]> is my best bet trying to bisect?
<srhb> It may be helpful unless there's a mass rebuild in between.
<srhb> But even that is more information.
linarcx has quit [Quit: WeeChat 2.5]
ericsagnes has joined #nixos
jbaum98 has quit [Quit: Connection closed for inactivity]
rfold has joined #nixos
<baum> ar: alright, thanks for your help, turns out i didn't follow rule nr-1: don't use EOL systems. after upgrading nixos everything works as expected...
init_6 has quit []
<infinisil> alexarice[m]: the intel driver has been removed from the default drivers due to its bugginess apparently
stranger___ has quit [Quit: Connection closed for inactivity]
<infinisil> See #55583, not sure if that's the cause
<{^_^}> https://github.com/NixOS/nixpkgs/pull/55583 (by 7c6f434c, 19 weeks ago, merged): nixos/xserver: drop intel from videoDrivers
<infinisil> But if it is it should be fixable by setting services.xserver.videoDrivers = [ "intel" ]
MmeQuignon has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
<alexarice[m]> infinisil: thanks I'll give it a try
lopsided98 has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #63919 → Add missing semicolon → https://git.io/fjoDu
kvaster has quit [Ping timeout: 246 seconds]
WilliamHamilton has joined #nixos
<WilliamHamilton> I am installing nixos on a new machine, but it doesn't seem able to start slim or xmonad (using a config that works in another computer). I suspect the culprit might be the video drivers (I'm using for now the integrated graphics in a i7-9700K processor)
m0rphism has joined #nixos
<WilliamHamilton> I tried adding explicitly `services.xserver.videoDrivers = [ "intel" ];` and not setting that option, but none of that works
<WilliamHamilton> how could I debug the issue further?
<{^_^}> [nixpkgs] @Ma27 opened pull request #63920 → zsh-you-should-use: init at 1.1.0 → https://git.io/fjoDw
<WilliamHamilton> (I am connected via hdmi, for what's worth, but I can login in a virtual console, so I don't think that's the problem)
<WilliamHamilton> also, I get `hdaudio hdaudioc0d2: unable to bind the codec ` when I insert the hdmi cable, I think
<yorick> WilliamHamilton: "modesetting" instead of 'intel' is recommended but it should be set by default
<yorick> WilliamHamilton: check xorg.log
<WilliamHamilton> yorick thanks, give me a sec
JonReed has joined #nixos
linarcx has joined #nixos
prometheus_falli has quit [Ping timeout: 244 seconds]
<WilliamHamilton> yorick it seems strange, but I don't have a `xorg.log` neither in `/var/log/` nor in `~./local/share/xorg`
<yorick> WilliamHamilton: it's probably X.0.log
<WilliamHamilton> no, nothing of that sort exists in the two location I mentioned
<yorick> WilliamHamilton: `journalctl -fu display-manager.service`
Izorkin has joined #nixos
<WilliamHamilton> thanks
<yorick> (or just -u)
linarcx has quit [Client Quit]
<WilliamHamilton> yorick not much there https://termbin.com/di1y
thc202 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<JonReed> `journalctl -fu display-manager.service` I'm new to systemd. Does this command give you output or it's just used to express your honest feelings towards a service?
<yorick> JonReed: both
<yorick> WilliamHamilton: what does journalctl -u display-manager.service say?
<WilliamHamilton> JonReed I suspect it's the second :D , anyway -f should be for following the output, and -u for the specific unit
<yorick> JonReed: it's like netstat -pantsu
karetsu has quit [Quit: WeeChat 2.4]
hlolli_ has joined #nixos
Anton-Latukha has quit [Ping timeout: 245 seconds]
<WilliamHamilton> yorick I posted here the output https://termbin.com/di1y
<yorick> WilliamHamilton: wthat's the entire thing?
<JonReed> yorick: :D
<WilliamHamilton> yep, unfortunately it is
<yorick> WilliamHamilton: even without the f?
sg2002 has joined #nixos
karetsu has joined #nixos
<alexarice[m]> I am getting similar error messages to that, am trying to bisect atm as adding intel to display drivers did not fix the issue
<WilliamHamilton> yorick no, my bad, without the -f is this https://termbin.com/0rz4
<yorick> "Jun 29 05:48:12 h2 display-manager[1095]: modprobe: FATAL: Module fbcon not found in directory /run/current-system/kernel-modules/lib/modules/4.19.56" well there you go
<yorick> WilliamHamilton: now try it with modesetting
<WilliamHamilton> explicitly setting "modesetting" as the driver?
<yorick> oh modesetting fails because no /dev/dri/card0
<WilliamHamilton> wait what's `fbcon`?
<WilliamHamilton> also `Screen(s) found, but none have a usable configuration.` seemed problematic?
<yorick> if you have modesetting it should manage to open /dev/dri/card0
<yorick> WilliamHamilton: what's your dmesg say about i915?
<yorick> (the output of journalctl -b -g i915)
<yorick> WilliamHamilton: also, what's your nix config?
<yorick> nixos*
o1lo01ol1o has quit [Remote host closed the connection]
<WilliamHamilton> yorick: https://termbin.com/0qvn is the output of `journalctl -b -g i915`; where did you find i915?
<yorick> i915 is how the intel driver is called
<yorick> hmmmmm
<yorick> are you sure you have an intel gpu?
<ivegotasthma> hello
<ivegotasthma> recently I've had packages failing to be retrieved from the nix cache on the latest channel
<ivegotasthma> is this a known problem?
<WilliamHamilton> yorick I don't yet have a discrete gpu beside the one included in my processor
<yorick> WilliamHamilton: oh, kernel 4.19 is too old for that
<yorick> WilliamHamilton: add boot.kernelPackages = linuxPackages_5_1; to the nixos config
<WilliamHamilton> yep, give me a sec
o1lo01ol1o has joined #nixos
<karetsu> what's the nixos preferred way of grabbing my gnome keyring info, preferences etc. when using a WM like xmonad? Afaik there is gnome-session in flashback but I feel I've missed gnome-thing in services.[foo] that just turns access to it on regardless of what my xinitrc says
Guest77 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest77 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
JonReed has quit [Remote host closed the connection]
silver has joined #nixos
srid6390803 has quit [Read error: Connection reset by peer]
ma27[m] has joined #nixos
<WilliamHamilton> yorick: adding the boot.kernelPackages solved the issue, thanks! Should I try to enable the intel drivers now or just stay with the default modesetting?
srid6390803 has joined #nixos
o1lo01ol1o has joined #nixos
orivej has joined #nixos
<yorick> WilliamHamilton: modesetting is probably better, intel is deprecated
<WilliamHamilton> yorick I see, thanks again for the help in troubleshooting!
<{^_^}> [nixpkgs] @risicle opened pull request #63921 → libvirt: 5.3.0 -> 5.4.0 + patches for CVE-2019-10161, CVE-2019-10166, CVE-2019-10167 and CVE-2019-10168 → https://git.io/fjoyo
asheshambasta has quit [Remote host closed the connection]
ma27[m] has left #nixos ["User left"]
Guest77 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yunratobe_ is now known as yunratobe
karetsu has quit [Quit: WeeChat 2.4]
karetsu has joined #nixos
slack1256 has quit [Ping timeout: 246 seconds]
Guest77 has joined #nixos
lukego has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Remote host closed the connection]
WilliamHamilton9 has joined #nixos
o1lo01ol1o has joined #nixos
<WilliamHamilton9> trying to understand why I get no sound from the hdmi monitor. What program should I use to check where the audio is going? `alsamixer` seem not to be enough
<karetsu> pavucontrol?
o1lo01ol1o has quit [Remote host closed the connection]
<WilliamHamilton9> karetsu thanks, checking
<karetsu> decent GUI for managing pulseaudio, unless you don't want one or aren't using pa
o1lo01ol1o has joined #nixos
<karetsu> if you prefer command line then pactl i think is the one
baum has quit [Quit: Lost terminal]
orivej has quit [Ping timeout: 272 seconds]
adamantium has quit [Remote host closed the connection]
srid6390803 has quit [Ping timeout: 258 seconds]
adamantium has joined #nixos
WilliamHamilton9 has quit [Remote host closed the connection]
WilliamHamilton3 has joined #nixos
<WilliamHamilton3> sorry, disconnected, I might have lost some messages
<karetsu> WilliamHamilton3: only if you sent some after you said you were trying pavucontrol
<WilliamHamilton3> pavucontrol is ok, if I select the HDMI output I can even see the sound bar moving when I have sound, however I can't yet hear any sound from the monitor
fendor has joined #nixos
<WilliamHamilton3> but I can hear sound from the audio jack, if i set the audio exit to that
o1lo01ol1o has quit [Remote host closed the connection]
<karetsu> don't suppose you have a creative zxr?
<karetsu> / sound blaster
<WilliamHamilton3> no, sorry, I don't have that
<karetsu> yeah, I realised after I said that its hdmi -> monitor rather than dedicated sound card
<karetsu> my b
srid6390803 has joined #nixos
b has joined #nixos
karetsu has quit [Quit: WeeChat 2.4]
<yorick> WilliamHamilton3: configuration -> profile?
<WilliamHamilton3> Digital Stereo (HDMI2) Output
<WilliamHamilton3> which is the only one mentioning HDMI that's not `(unavailable)`
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Read error: Connection reset by peer]
sindrip has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #63921 → libvirt: 5.3.0 -> 5.4.0 + patches for CVE-2019-10161, CVE-2019-10166, CVE-2019-10167 and CVE-2019-10168 → https://git.io/fjoyo
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fjoSE
<WilliamHamilton3> hmm, seems to work now, don't know what was the problem before :O
<WilliamHamilton3> next question: if I try to start steam, I get the error: `glxChooseVisual failed`. Googling it seems to
<WilliamHamilton3> mention something about libraries, but nothing nixos specific
lukego has joined #nixos
<{^_^}> #47932 (by Chiiruno, 38 weeks ago, closed): steam: glXChooseVisual failed
<infinisil> It's always a good idea to search through the nixpkgs issues
stepcut has joined #nixos
<WilliamHamilton3> infinisil thanks! I'm going to try adding `hardware.opengl.driSupport32Bit = true;` which might be the problem, let's see
o1lo01ol1o has quit [Remote host closed the connection]
Ariakenom has quit [Quit: Leaving]
Ariakenom has joined #nixos
<WilliamHamilton3> infinisil and indeed that fixed it, thanks! I'll remember checking the issues, the fact is I expect them to pop in a google search :D
<infinisil> Yeah unfortunately that rarely works with Nix issues I find
steshaw has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
alex`` has joined #nixos
dansho has joined #nixos
xkapastel has joined #nixos
Anton-Latukha has joined #nixos
WilliamHamilton3 has quit [Remote host closed the connection]
WilliamHamilton5 has joined #nixos
tsrt^ has quit []
shah^ has joined #nixos
MmeQuignon has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
hmpffff has joined #nixos
xok has joined #nixos
MmeQuignon has joined #nixos
anderslundstedt has quit [Quit: leaving]
<xok> hello...
<xok> I've setup cron for my nixos but it doesn't seem to be running..
<xok> the cron script is very simple, it writes to a file in /tmp/ directory just to check if it's running...
<xok> but the file doesn't get looged, that means the cron doesn't even run...
<xok> can anyone help with this?..
o1lo01ol1o has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a9391661856 (from 45 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<symphorien> maybe use a systemd timer instead ?
<{^_^}> [nixpkgs] @contrun opened pull request #63922 → sslsplit: init at 0.5.4 → https://git.io/fjo9e
o1lo01ol1o has quit [Ping timeout: 245 seconds]
WilliamHamilton5 has quit [Remote host closed the connection]
WilliamHamilton1 has joined #nixos
<xok> symphorien: can you help with that?..
<xok> how do I do it?..
lopsided98 has joined #nixos
sindrip has quit [Ping timeout: 260 seconds]
sg2002 has quit [Disconnected by services]
sg2002 has joined #nixos
Perfectionist has quit [Quit: Leaving]
WilliamHamilton1 has quit [Remote host closed the connection]
WilliamHamilton1 has joined #nixos
<xok> Thanks, I am taking a look..
sg2002 has left #nixos ["ERC (IRC client for Emacs 26.2)"]
FieryHorse has joined #nixos
WilliamHamilton1 has quit [Remote host closed the connection]
WilliamHamilton7 has joined #nixos
FieryHorse has quit [Quit: Leaving]
<WilliamHamilton7> ok, so this is a fairly important problem I'm having: my wired connection drops every few minutes on my new computer. If I disable it and re-enable it, from `nmtui` say, then it works as before. I'd like some help in debugging this
<WilliamHamilton7> for example, what's the relevant `systemctl` log?
mexisme has joined #nixos
mexisme has quit [Ping timeout: 244 seconds]
<WilliamHamilton7> infinisil^
acowley has quit [Ping timeout: 272 seconds]
<xok> yunratobe: I've used the example from the link... The cron service seems to be running ( systemctl status cron shows it's running ) but the command "date >> /tmp/cron.log" doesn't log anything in that file...
<xok> when I remove /tmp/cron.log it doesn't even get created...
<xok> the cron is not running at all...
kisik21 has joined #nixos
<kisik21> how to override Emacs packages' sources without copying the whole derivation over?
<kisik21> emacsPackagesNg.multi-term.override { src = {...}; } doesn't seem to work :c
Havvy has quit [Ping timeout: 268 seconds]
<mpickering> How do I debug cachix not caching?
Ariakenom has quit [Read error: Connection reset by peer]
Havvy has joined #nixos
<mpickering> This is what I am trying to build and cache
<mpickering> CI just rebuilds everything every restart - https://travis-ci.org/mpickering/old-ghc-nix/builds/552122352
<domenkozar[m]> it's saying retrying all the time
<domenkozar[m]> so most likely wrong key?
<domenkozar[m]> or wrong binary cache name
<domenkozar[m]> mpickering: ^^
<mpickering> I copied the CI config from where it works - https://github.com/mpickering/eventlog2html
bvdw4 has quit [Quit: bvdw4]
<mpickering> oh, do I have to encrypt the key for each different repo?
bvdw has joined #nixos
bvdw has quit [Killed (livingstone.freenode.net (Nickname regained by services))]
Guest63279 has joined #nixos
<domenkozar[m]> yeah it's a different key
wfranzini has joined #nixos
<mpickering> right, thanks a lot.
<domenkozar[m]> I'm not sure how to improve this, maybe it could verify the paths that are being pushed with the public keys listed for the cache?
Guest63279 has quit [Client Quit]
<domenkozar[m]> I guess that would help to have a clear error message then.
<mpickering> It's the second time I have run into having the wrong signing key
<mpickering> but no clear error message
bvdw8 has joined #nixos
<domenkozar[m]> that needs to be improved, I'll make an issue
bvdw8 is now known as bvdw
<gchristensen> domenkozar[m]++
<{^_^}> domenkozar[m]'s karma got increased to 3
<mpickering> There is already an issue :) Robert helped me with the exact same problem the other day
<mpickering> when I was using the wrong key for CACHIX_SIGNING_KEY
<mpickering> It's working now thanks
<mpickering> although `travis encrypt` and `travis encrypt --add` gave me different answers 🤷
<gchristensen> probably a different IV in the encryption
Lears has quit [Remote host closed the connection]
Lears has joined #nixos
<domenkozar[m]> waiting on a first rainy weekend to hack on a few UX improvements
<domenkozar[m]> shouldn't take long :P
<domenkozar[m]> mpickering: thank you for reporting :)
<domenkozar[m]> it's often hard to distiguish between "this happened once" and "this is a reoccuring issue" where it's very clear in this case but not so much in others
Guest77 has quit [Read error: Connection reset by peer]
bvdw has quit [Quit: bvdw]
Guest77 has joined #nixos
asheshambasta_m has joined #nixos
andreas31 has quit [Remote host closed the connection]
hmpffff has quit [Quit: nchrrrr…]
andreas31 has joined #nixos
eraserhd has quit [Ping timeout: 246 seconds]
kisik21 has quit [Remote host closed the connection]
bvdw has joined #nixos
Soo_Slow has joined #nixos
wfranzini has quit [Quit: wfranzini]
wfranzini has joined #nixos
szicari has quit [Ping timeout: 258 seconds]
szicari has joined #nixos
<alexarice[m]> WilliamHamilton7: are you rebuilding the system between each dropout?
<WilliamHamilton7> alexarice[m] I don't think I am, but that's something to watch for, thanks!
<WilliamHamilton7> dropouts have become more erratic since when I posted the first time
<alexarice[m]> WilliamHamilton7: I just know that my wifi drops whenever I rebuild, has something to do with resolvconf, the only fix I know is reconnecting like you said
andreas31 has quit [Remote host closed the connection]
<WilliamHamilton7> alexarice[m] hope that's the reason, that would be wonderful; will post here if I ever get a dropout not connected to rebuilding
<alexarice[m]> if it does check /etc/resolv.conf and see if it is generated by resolvconf or networkmanager
andreas31 has joined #nixos
o1lo01ol1o has joined #nixos
Neo-- has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 248 seconds]
patrol02 has joined #nixos
v88m has quit [Ping timeout: 258 seconds]
linarcx has joined #nixos
linarcx has quit [Client Quit]
eraserhd has joined #nixos
v88m has joined #nixos
karetsu has joined #nixos
<patrol02> My `cc --version` shows `Apple LLVM version 10.0.1 (clang-1001.0.46.4)`, but when build with GHC (installed with Nix) it seems to be using `clang version 7.1.0 (tags/RELEASE_710/final)`. And then it errors out. What would be a way to tell it to use `clang` that is available and not the older version that pops up somehow?
<{^_^}> [nixpkgs] @zimbatm merged pull request #63910 → tflint: 0.8.3 -> 0.9.0 → https://git.io/fjoir
<{^_^}> [nixpkgs] @zimbatm pushed commit from @marsam to master « tflint: 0.8.3 -> 0.9.0 (#63910) »: https://git.io/fjoHY
<alexarice[m]> to anyone who is interested, my issue was fixed by removing `boot.vesa` from my config. The issue was introduced by `boot.vesa implies nomodeset` pull request so I'm guessing modesetting is needed for sway to work
<{^_^}> [nixpkgs] @zimbatm merged pull request #63917 → stow: 2.2.2 -> 2.3.0 → https://git.io/fjoDv
<{^_^}> [nixpkgs] @zimbatm pushed commit from @bricewge to master « stow: 2.2.2 -> 2.3.0 (#63917) »: https://git.io/fjoHO
<alexarice[m]> #63090
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63090 (by wmertens, 2 weeks ago, merged): kernel.nix: boot.vesa implies nomodeset
<{^_^}> [nixpkgs] @zimbatm merged pull request #63902 → syslog-ng: 3.21.1 -> 3.22.1 → https://git.io/fjor8
<{^_^}> [nixpkgs] @zimbatm pushed commit from @Izorkin to master « syslog-ng: 3.21.1 -> 3.22.1 (#63902) »: https://git.io/fjoHs
<{^_^}> [nixpkgs] @zimbatm merged pull request #63901 → znc: 1.7.3 -> 1.7.4 → https://git.io/fjorn
<{^_^}> [nixpkgs] @zimbatm pushed commit from @Izorkin to master « znc: 1.7.3 -> 1.7.4 (#63901) »: https://git.io/fjoHG
ericsagnes has quit [Ping timeout: 252 seconds]
MmeQuignon has quit [Ping timeout: 244 seconds]
ericsagnes has joined #nixos
baum has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #63888 → trivial-builders: Fix writeShellScript example → https://git.io/fjo4b
<{^_^}> [nixpkgs] @zimbatm pushed commit from @Kirens to master « trivial-builders: Fix writeShellScript example (#63888) »: https://git.io/fjoHc
dftxbs3e has quit [Quit: Leaving.]
<baum> is it possible to rollback a program, while keeping the rest of the system update?
srid6390803 has quit [Ping timeout: 268 seconds]
m0rphism has quit [Ping timeout: 272 seconds]
asheshambasta has joined #nixos
<pie_> baum, yeah, are you using channels? you can import a second channel thats older and then just include the package from there
<asheshambasta> https://nixos.wiki/wiki/Linux_kernel -- the `Custom kernel modules` has me a little stumped; do I just need to copy-paste that snippet mentioned there or do I need to check the extra kernel modules loaded at boot?
<pie_> theres probably a wiki article for this somewhere...
<pie_> its a common question
<pie_> asheshambasta, not sure what you mean, but my understanding is config.boot.kernelPackages is set to be a package set based on the current kernel version, so you should just be able to fill in the list with kernel modules you want
<pie_> maybe the wiki should have an example of what *not* to do
<baum> pie_: wiki == manual?
alex`` has quit [Ping timeout: 245 seconds]
<pie_> baum, no, nixos.wiki, but i wouldnt be totally surprised if the manual had something, i find it unlikely for this though
karetsu has quit [Quit: WeeChat 2.4]
karetsu has joined #nixos
karetsu has quit [Client Quit]
<pie_> baum, hmph. i cant think of how to find an existing example offhand. you can do something like: stable = import <nixpkgs> {}; unstable = import <unstable> {}; where the things in <> are IIRC channel names
hmpffff has joined #nixos
<pie_> and then when you add things to your systemPackages you can do something like [ stable.aprogram ] +++ [ unstable.anotherprogram ]
<asheshambasta> pie_: so that would mean just copy pasting the current modules whilst ensuring that the modules are also compatible with the newer kernel version?
xkapastel has quit [Quit: Connection closed for inactivity]
<pie_> asheshambasta, im not sure but i guesssss. do kernel modules even get listed / build if they arent compatible? (idk(
<codedmart> I don't understand how to use vim_configurable? I have `myVim = pkgs.vim_configurable.override { lua = true; };` but I get a coerce error about string so I tried `lua = "true"` and `lua = "lua"` but I get build input does not exist errors.
_d0t has joined #nixos
<pie_> betaboon, yep
<pie_> though the first part isnt strictly necessary - you can use the imperative configuration
<betaboon> baum: ^
<betaboon> pie_: yeah. i dislike imperative tho XD
<pie_> me too
<pie_> sidenote on doing that, you have to nixos-rebuild twice, the first time will update nixPath
<betaboon> indeed
<pie_> hmm, this still uses channels though to actually get the repos and stuff? you did add one entry which is a local checkout
<baum> betaboon: pie_: thanks, i'll give it a try!
<pie_> just got an idea though for something i want to try later
MmeQuignon has joined #nixos
fenedor has joined #nixos
<betaboon> baum: that assumes 1. that you have nix-channels set up. 2. (as pie_ mentioned) you do the `nix.nixPath` first (so that it is available in the environment) and then use it later (read: after a first nixos-rebuild switch)
<pie_> i wonder if one put fetchfromgithub substitutions and the like in those variables
<pie_> *someone
wfranzini has quit [Quit: wfranzini]
<baum> betaboon: alright thanks
wfranzini has joined #nixos
<betaboon> pie_: yes you can put https://.... links into NIX_PATH for those variables (or in the nix.nixPath)
<baum> it should't matter weather i just try to downgrade package by package, instead of rollback all of them and upgrade them one by one right?
mzabani has joined #nixos
* baum is trying to fix a display-bug after upgrading to 19.03
xkapastel has joined #nixos
fendor has quit [Ping timeout: 268 seconds]
clacke_movim has left #nixos [#nixos]
<pie_> baum, i dont see why it would
<pie_> but that could be my lack of imagination
v88m has quit [Ping timeout: 272 seconds]
<baum> alright, thanks
v88m has joined #nixos
xok has quit [Quit: Leaving.]
_d0t has quit [Ping timeout: 258 seconds]
clacke_movim has joined #nixos
Ariakenom has joined #nixos
m0rphism has joined #nixos
mzabani has quit [Ping timeout: 260 seconds]
MmeQuignon has quit [Ping timeout: 268 seconds]
m0rphism has quit [Ping timeout: 248 seconds]
ym555_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @zimbatm merged pull request #63919 → Add missing semicolon → https://git.io/fjoDu
<{^_^}> [nixpkgs] @zimbatm pushed commit from @matthiasbeyer to master « Add missing semicolon (#63919) »: https://git.io/fjoQT
asheshambasta has quit [Remote host closed the connection]
ericsagnes has quit [Ping timeout: 264 seconds]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
L-o-r-d has joined #nixos
WilliamHamilton7 has left #nixos [#nixos]
WilliamHamilton7 has joined #nixos
stranger___ has joined #nixos
v88m has quit [Ping timeout: 272 seconds]
<stranger___> anyone using primusrun (bumblebee) inside steam?
<stranger___> it worked for me around in 2016 but not now
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #63925 → vimPlugins: update → https://git.io/fjoQB
layeddie has joined #nixos
ericsagnes has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
v88m has joined #nixos
L-o-r-d has quit [Quit: Join 👉 ##Truth 👈]
srid6390803 has joined #nixos
linarcx has joined #nixos
cjpbirkbeck has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #63890 → factorio: alpha experimental 0.17.32 -> 0.17.52 → https://git.io/fjoBV
<{^_^}> [nixpkgs] @zimbatm pushed commit from @priegger to master « factorio: experimental 0.17.32 -> 0.17.52 (#63890) »: https://git.io/fjoQg
<{^_^}> [nixpkgs] @zimbatm merged pull request #63915 → openjk: 2018-09-17 -> 2019-06-24 → https://git.io/fjoMU
<{^_^}> [nixpkgs] @zimbatm pushed commit from @gnidorah to master « openjk: 2018-09-17 -> 2019-06-24 (#63915) »: https://git.io/fjoQa
linarcx has quit [Ping timeout: 245 seconds]
linarcx has joined #nixos
linarcx has quit [Client Quit]
appservice-irc has joined #nixos
<baum> :q
baum has quit [Quit: Lost terminal]
ma271 has joined #nixos
WilliamHamilton7 has quit [Remote host closed the connection]
dftxbs3e has joined #nixos
m0rphism has joined #nixos
Drakonis has joined #nixos
appservice-irc has quit [Remote host closed the connection]
ma271 has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fe6bb17872a (from 63 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/fe6bb17872a (from 63 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
alex`` has joined #nixos
alex`` has quit [Read error: Connection reset by peer]
martyet-o has joined #nixos
Okinan has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #63925 → vimPlugins: update → https://git.io/fjoQB
<{^_^}> [nixpkgs] @timokau pushed to master « vimPlugins: update (#63925) »: https://git.io/fjo7U
karetsu has joined #nixos
m0rphism has quit [Ping timeout: 258 seconds]
alex`` has joined #nixos
ma27[m] has joined #nixos
fellowes has joined #nixos
<fellowes> please can someone explain me the difference between buildInputs, nativeBuildInputs? I read the documentation but cannot get my head around it
<fellowes> and where do I put package dependencies? does it detect on its own?
<gchristensen> my uninformed proces there is, I always use buildInputs
<fellowes> hmm, ok, so I should just ignore nativeBuildInputs?
<fellowes> are tehre any other inputers (other than checkinputs) I should be aware of?
<gchristensen> unless you're cross compiling it should be ok
<adisbladis> fellowes: buildInputs == libraries you link against, nativeBuildInputs == build tooling like gcc, cmake etc etc (things that need to run on the host when cross compiling)
<adisbladis> Simplified of course, but that's essentially it.
karetsu has quit [Quit: WeeChat 2.4]
MmeQuignon has joined #nixos
<fellowes> thank you <3
fellowes has quit [Remote host closed the connection]
ma27 has quit [Quit: WeeChat 2.4]
ma27 has joined #nixos
ma27 has quit [Client Quit]
<{^_^}> [nixpkgs] @mebubo closed pull request #60927 → hplip: enable the plugin for aarch64 → https://git.io/fjo7m
linarcx has joined #nixos
noudle has joined #nixos
<noudle> im trying to get nixos on my pi 3 to work. bestcase would be if i install all of the system to an external harddrive (over usb), but as far as i have tested thing now i can not boot from the hdd, so i need to have the boot partition on a usb (or sd card, but i dont have one).
<noudle> i followed this https://nixos.wiki/wiki/NixOS_on_ARM#NixOS_installation_.26_configuration
Guest77 has quit [Read error: No route to host]
<noudle> and on the fileSystems part at "/" i set the external hdd
<noudle> i left the rest as is. after "nixos-rebuild switch" the pi boots until the "loading Kernel" part, the hdd seems to reboot several times until then
<noudle> then the boot seems to be stuck
<noudle> any ideas?
knupfer has joined #nixos
<noudle> is the hdd to slow to react or something? if so, can i set a waittime somewhere?
<gchristensen> I have heard that is a problem
<noudle> so what can i do about it?
v88m has quit [Remote host closed the connection]
<clever> noudle: the nixos boot scripts shouldnt reboot on their own when things fail, so it could be the power supply?
cjpbirkbeck has quit [Quit: Quitting now.]
<noudle> clever: i have a 2.4A for the pi and the external hdd is a 2.5" with its own power supply :/
<noudle> or does it just take way more time than when booting from a usb stick?
<clever> noudle: watch the power LED on the rpi, it will turn off when the voltage starts to dip
m0rphism has joined #nixos
benhart has joined #nixos
<mac10688> i wonder what's a good location for a webroot in nixos
<noudle> clever: ill do, sec
<benhart> hey folks, I'm doing my first nixos install from scratch using the graphical liveUSB, is there an ideal filesystem i should format to?
<gchristensen> ext4 is a good safe bet
<benhart> thanks
linarcx has quit [Quit: WeeChat 2.5]
<noudle> clever: the red led is on and does only blink one time when the hdd reboots, happens 2 times until "starting kernel"
<noudle> then the red led is just on and nothing happens
<noudle> the hdd is on, the usb stick with the boot partition is also on
<noudle> but nothing happens
<clever> noudle: not sure then
<noudle> hmm... ill stay a bit, maybe someone else also has an idea
<noudle> thanks clever :)
mexisme has joined #nixos
<noudle> here is a flag in the /boot/cmdline.txt mentioned: https://www.maketecheasier.com/boot-up-raspberry-pi-3-external-hard-disk/
<noudle> not sure if it exists on nixos too
<noudle> its the "rootdelay=5" one, guess that will wait for the hdd to come up right?
<clever> noudle: rootdelay=5 is a kernel, thing, that only applies when you lack an initrd
<clever> noudle: the initrd scripts will already delay and loop until the device appears
mexisme has quit [Ping timeout: 258 seconds]
v88m has joined #nixos
<noudle> hmm
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @kalbasit merged pull request #63879 → bazel: fix the compilation of .proto on Darwin → https://git.io/fjoWm
<{^_^}> [nixpkgs] @kalbasit pushed to master « bazel: fix the compilation of .proto on Darwin (#63879) »: https://git.io/fjo5m
MmeQuignon has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
MmeQuignon has joined #nixos
pie_ has quit [Ping timeout: 252 seconds]
srid6390803 has quit [Ping timeout: 245 seconds]
isidore has joined #nixos
srid6390803 has joined #nixos
isidore has quit [Quit: WeeChat 2.5]
nadley has quit [Read error: Connection reset by peer]
nadley has joined #nixos
baum has joined #nixos
<benhart> so i got through an install and a reboot and now I'm getting this error before i can log in
<benhart> [ 70.233246] usb 1-3 device descriptor read/64 error -71
o1lo01ol1o has quit [Remote host closed the connection]
Blessjah has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @matthias-t opened pull request #63926 → redshift-wlroots: init at 1.12 → https://git.io/fjo5c
jtojnar has joined #nixos
WilliamHamilton has quit [Remote host closed the connection]
<infinisil> benhart: I'm getting such errors all the time, I doubt it's related
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @kalbasit opened pull request #63927 → bazel: fix the compilation of java_proto_compile → https://git.io/fjo5C
lord| has quit [Read error: Connection reset by peer]
<baum> which driver will be used if the following option is invalid? services.xserver.videoDrivers = [ "invalid option" ]
lord| has joined #nixos
<emilsp> hrm, has bluetooth broken? Jun 29 19:42:01 shibe pulseaudio[2570]: E: [bluetooth] a2dp_aac.c: AAC encoding error, 0x60
<baum> or a better question: where can i look it up? (i couldn't find it's handling in nixpgks)
Blessjah has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<clever> baum: this piece of code will transform the names, and put them into the drivers section
<clever> baum: this will then create a Driver "foo" entry in the xorg config, for each one
<clever> baum: this will check if amdgpu is an option, and auto-load the radeon kernel module
<clever> baum: this will check for nvidia/nvidiaBeta/nvidiaLegacy304/nvidiaLegacy340/nvidiaLegacy390 and put the right kernel drivers into the environment
<clever> the other files under video do similar things, for each vendor
<benhart> infinisil - I'm getting them quite a bit, is there a way to at least supress the error?
orivej has quit [Ping timeout: 244 seconds]
<levdub> I've found that the vmdks that nixops uses to deploy to virtualbox targets have the same UUID for nix 19.03 and 19.09, which means you can't use them simultaneously
<baum> clever: thanks!
<levdub> filed issue here: https://github.com/NixOS/nixops/issues/1173 . I've got very limited knowledge of virtualbox internals. does anybody know how these UUIDs get assigned? are the vmdks built by hydra/CI and the UUID baked in there?
<{^_^}> nixops#1173 (by ldub, 7 minutes ago, open): NixOps VDIs have the same UUIDs
<clever> levdub: they are probably built by hydra, and people have been focusing on getting rid of all randomness, so it would make sense for the uuid's to be duplicated
<{^_^}> [nixpkgs] @grahamc opened pull request #63928 → llvm_7,8: disable libpfm on aarch64 → https://git.io/fjo58
<{^_^}> [nixpkgs] @flokli opened pull request #63929 → systemd: point to commit id instead of branch name → https://git.io/fjo54
stranger___ has quit [Quit: Connection closed for inactivity]
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
<levdub> clever: I agree that it shouldnt be random, but it would make sense for the uuids to be some kind of deterministic hash based on the version.
xok has joined #nixos
mac10688 has quit [Quit: WeeChat 2.4]
o1lo01ol1o has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
xok has left #nixos [#nixos]
pie_ has joined #nixos
<andi-> ,locate bin rvm
<{^_^}> Couldn't find in any packages
<andi-> ,locate rvm
<{^_^}> Found in packages: racket, oh-my-zsh
sigmundv has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
v88m has quit [Read error: Connection reset by peer]
v88m has joined #nixos
o1lo01ol1o has joined #nixos
<andi-> Is there any guide on how to do ruby development (with bundle(r)) without using bundix on NixOS? Trying to write a patch for GitLab...
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #63930 → [WIP] plemora: init at 1.0.0 → https://git.io/fjo5y
xkapastel has joined #nixos
<samueldr> andi-: nix-shell -p ruby_2_6 will get you bundler, and bundle --path vendor/bundler should make stuff install
<samueldr> then -p missing deps
<samueldr> why 2_6?
<samueldr> because its bundler is built-in and worked better in my case
<samueldr> otherwise -p bundler and -p ruby might work, or might cause issues (ime) but this is being worked on
<andi-> I have ruby in a shell.nix and when I do (bundle init; bundle add <foo>;) it fails to change some gemfile in the nix store
o1lo01ol1o has quit [Remote host closed the connection]
<andi-> maybe the --path is important, retrying
<samueldr> that's it
<samueldr> it will also write that to a local config file in iirc .bundle
<samueldr> so --path is needed only once
<andi-> ok
<samueldr> --path is not needed only with nix, it should be required by anyone wanting sane gem use :) on archlinux I set my ~/.gem readonly
kim0 has joined #nixos
<andi-> I had to add the dependency manually to the Gemfile instead of using `bundle add` but not it *seems* to work.
<andi-> thanks, samueldr
<samueldr> hm lol, I never used bundle add :)
<samueldr> yw
<andi-> me neither but this is literally the first *real* ruby application I am working on (minus some Puppet modules)
<samueldr> worked on a couple real ruby apps, and toy ruby apps
mmlb has quit [Ping timeout: 248 seconds]
orivej has joined #nixos
Izorkin has quit [Quit: Miranda NG! Smaller, Faster, Easier. https://miranda-ng.org/]
mzabani has joined #nixos
Izorkin has joined #nixos
mzabani has quit [Remote host closed the connection]
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
Izorkin has joined #nixos
Xal has quit [Ping timeout: 246 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #63931 → phpfpm: revert #63156, simplify module → https://git.io/fjode
o1lo01ol1o has joined #nixos
<levdub> I deleted /nix/store/kbg0ri1qwls0hxs1xxk5g5bkakr6bcdq-virtualbox-nixops-19.03.vmdk.drv and nixops won't work anymore. How can I get this file back?
Xal has joined #nixos
karetsu has joined #nixos
<levdub> alternatively, what is the proper way to delete that vmdk so that nix knows it is deleted and redownloads it when I `nixops deploy`
__monty__ has joined #nixos
<clever> levdub: nix-store --delete /nix/store/foo, and dont use force
mexisme has joined #nixos
lord| has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
<levdub> clever: thanks.
<levdub> I am guessing thats the way I should have deleted it to begin with, but since I did it with rm, I get `VBoxManage: error: Could not find file for the medium '/nix/store/j3y7f953brdgxrmclnicg65vfvnnhnbn-virtualbox-nixops-19.03.vmdk' (VERR_FILE_NOT_FOUND)` when I try to use nixops.
<clever> levdub: youll probably want to also delete it with --delete, to tell nix its gone
<levdub> I did
jaen has joined #nixos
<levdub> oh
<levdub> sorry, its complaining about the .vmdk now, not the .drv. this makes sense
<clever> levdub: nix-store --verify --check-contents, to search for any other "damage"
<levdub> thank you!
steshaw has joined #nixos
<jaen> Hello, I am setting up a homeserver using a NUC and have decided to give NixOS a try, as the reproducibility/rollback aspect seem like they could be helpful here. Unfortunately for some reason my uplaod speed is really low - 4 MBit/s, where other machines have ~70 MBit/s. I have also tested ArchLinux on this machine and it also reports 70 MBit/s. S
<jaen> o the issue has to be with NixOS. Any idea what it could be?
<clever> jaen: check `top` to see what the cpu usage is like and what process is to blame
deech___ has joined #nixos
<deech___> Hi! Really dumb question, I have the live image up and running and it works great. How do I run the installer as I would in other distros?
<deech___> Oh sorry, I thought since the graphical image said it came with an installer that it would do all that for me.
<clever> deech___: nope
<jaen> @clever: hmr, nothing obvious jumps out there
<jaen> Just speedtest-cli @ about 12% and rest mostly idles
<clever> jaen: jaen what does `nix run nixpkgs.ethtool -c ethtool enp3s0` report?
Soo_Slow has quit [Remote host closed the connection]
<jaen> Also curiously it's `eno`
<clever> jaen: looks fairly normal, and its properly at gigabit speeds
<clever> jaen: one min
<rfold> Is it possible to read a package's man pages without installing the package?
<rfold> "nix-shell -p zeromq --run 'man 7 zmq'" says: "No manual entry for zmq in section 7"
<clever> rfold: nix-shell doesnt update the MANPATH, youll need to manually `nix-build '<nixpkgs>' -A zeromq and then look under result/share/man and run man on a file
<clever> jaen: on one machine, `nix run nixpkgs.iperf3 -c iperf3 -s`, then on another, `nix run nixpkgs.iperf3 -c iperf3 -c 192.168.2.11`
<rfold> clever: Thanks. It seems like this package does not even ship with man pages. :')
<clever> > zeromq.outputs
<{^_^}> [ "out" ]
<clever> rfold: ah, that would definitely do it
<clever> [ 5] 0.00-10.00 sec 1.10 GBytes 941 Mbits/sec 0 sender
<clever> jaen: over gigabit ethernet, i get nearly 1000mbit
silver has quit [Ping timeout: 258 seconds]
<clever> jaen: and over my 54mbit wifi
<clever> [ 5] 0.00-10.00 sec 26.1 MBytes 21.9 Mbits/sec 247 sender
<clever> i get barely half of that
<karetsu> I can't seem to find where I would set the default pulseaudio sink in either the manual or the wiki and I have about 10 different outputs and it picks the wrong one, do I just throw a pactl into my WM startup or is there a system option?
<clever> karetsu: pulseaudio will remember the default device on clean shutdown and restore it next time it starts
<andi-> do we have an equivalent of ?local-nar-cache for clients using a binary cache? nix-shell --store https://…/?local-nar-cache=... tells me that addTempRoot is not supported :/
<karetsu> clever: the problem comes when my wife logs me out and then I log back in it seems to switch away from the one I had
<clever> karetsu: might there be a duplicate pulseaudio daemon still running?
<karetsu> maybe, same pid but that just makes it unlikely that it killed the old one?
<karetsu> its only really a milk annoyance so I can live with it tbh
<karetsu> /s/milk/mild/
<karetsu> or milk, w.e.
deech___ has quit [Remote host closed the connection]
mmlb has joined #nixos
<jaen> Looks fairly reasonable
<jaen> That's first wifi, then cable, from nixos NUC to arch laptop
<jaen> It seems there's iperf3 on openwrt, so let me check connection to router
<nyanloutre[m]> Hello, I am having a problem with launching Shenzen IO on Steam
<nyanloutre[m]> I got this error: `./Shenzhen.bin.x86_64: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory`
<nyanloutre[m]> any idea on what might cause that ?
<clever> jaen: and then try an external server
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c49b7f64d15 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<jaen> Interestingly enough it's slower when talking to my router - https://gist.github.com/jaen/f0cd8af35dcec783ec3b1cb73a8f56dc
<jaen> But my laptop reports about the same and it's faster
<jaen> Hmr, external server...
knupfer has quit [Ping timeout: 264 seconds]
domogled has joined #nixos
karetsu has quit [Quit: WeeChat 2.4]
<jaen> That's weird, iperf3 returns top of my bandwidth for an external server, both ways
<jaen> I don't quite understand than
<{^_^}> [nixpkgs] @aanderse opened pull request #63932 → nixos/redmine: add database.createLocally option → https://git.io/fjod0
o1lo01ol1o has joined #nixos
<jaen> What would cause this
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c49b7f64d15 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<jaen> I don't think speedtest is somehow lying on nix
<clever> jaen: it could be that your router is good at forwarding packets, but bad at actually processing and responding to things, .... but why was it fast for one machine and slow for nixos
<jaen> Yeah
<jaen> It's even fast when I booted an arch live cd on the same machine
<jaen> Which is puzzling
coconnor has joined #nixos
<jaen> I have disabled the firewall, but it didn't seem to have helped any
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<jaen> And I'm not really sure how to debug this, I'm not a networking guru unfortunately
o1lo01ol1o has quit [Ping timeout: 272 seconds]
mara[m] has quit [Ping timeout: 252 seconds]
mara[m] has joined #nixos
dftxbs3e has quit [Ping timeout: 252 seconds]
mexisme has quit [Ping timeout: 245 seconds]
<ivan> nyanloutre[m]: do you have hardware.opengl = { enable = true; driSupport = true; }
digilicious has joined #nixos
<nyanloutre[m]> ivan: I only have hardware.opengl.driSupport32Bit
domogled has quit [Quit: domogled]
<ivan> nyanloutre[m]: I guess you need those I mentioned
<clever> nyanloutre[m]: have you tried steam-run?
<nyanloutre[m]> clever: yes but it's only calling steam to launch it
<clever> nyanloutre[m]: steam-run doesnt actually use steam, it just sets up the same chroot env used to launch steam
<nyanloutre[m]> yes but the game executable is launching steam
<clever> nyanloutre[m]: ah
<clever> nyanloutre[m]: probably best to just run the full steam package and run it via that
<nyanloutre[m]> ivan: I checked and these options are activated
sindrip has joined #nixos
fionnan has quit [Remote host closed the connection]
<jaen> @clever: I upgraded kernel to match my Arch, thinkinh it could be a driver issue, but it still persists. Out of ideas?
<clever> jaen: yeah, not much else i can think of to check
o1lo01ol1o has joined #nixos
<jaen> Welp, I kind of hoped I could have given Nix a go with this, but it's a bit of a showstopper ~~"
<clever> jaen: maybe try an older kernel, or an older channel like 19.03 or 18.09?
<clever> jaen: you can fairly easily downgrade, by just adding the right channel with nix-channel --add, rebuilding, and rebooting
<jaen> > older channel like 19.03
<{^_^}> undefined variable 'older' at (string):255:1
<jaen> I though that 19.03 was newest?
<clever> jaen: its older then unstable :P
<jaen> Ah
<clever> 19.03 was cut in march, while unstable continues to evolve
__monty__ has quit [Ping timeout: 272 seconds]
<jaen> I don't think it'll help much, given my Arch is also bleeding edge and has no such problems. And I think installer subscribed me to 19.03 anyway (or at least that's what nix-channel --list says).
<clever> jaen: you can try 18.09 then, or even 18.03
<jaen> And people with older kernels seem to actually have more problems with that card
<clever> jaen: hmmm, on emin
<jaen> Actually one thing that came to my mind
<clever> jaen: if you check `lspci -vv` youll see which kernel driver your using
<jaen> I'll try disabling IPv6
<jaen> iwlwifi
<clever> jaen: there may be an optional driver with better perf
<clever> yeah, v6 can also be a factor
<jaen> Do I need to reboot for that, or is switch enough?
__monty__ has joined #nixos
<clever> jaen: if changing the kernel, you will need to reboot
<clever> ls -l /run/{current,booted}-system/kernel
<clever> jaen: this will show the kernel version it wants, vs what it booted
sindrip has quit [Ping timeout: 260 seconds]
alex`` has quit [Ping timeout: 245 seconds]
alex`` has joined #nixos
Anton-Latukha has quit [Quit: Leaving.]
<jaen> Right, was wondering more about the netcard change, but it worked and things are still slow
<jaen> This is so weird
freeman42x has quit [Ping timeout: 250 seconds]
hlolli__ has joined #nixos
saladus has joined #nixos
Guest54985 has quit [Quit: WeeChat 2.4]
baum has quit [Quit: Lost terminal]
ddellacosta has joined #nixos
hlolli_ has quit [Ping timeout: 250 seconds]
judson_ has quit [Remote host closed the connection]
fenedor has quit [Read error: Connection reset by peer]
judson_ has joined #nixos
asheshambasta_m has quit [Quit: Leaving.]
jaen has quit [Ping timeout: 260 seconds]
patrol02 has quit [Ping timeout: 260 seconds]
<saladus> thank you all so much for the most innovative linux experience ive ever had
saladus has quit [Quit: WeeChat 2.4]
ym555_ has joined #nixos
baum has joined #nixos
sjourdois has quit [Remote host closed the connection]
<baum> question about nixops: this minimal example works with virtualbox, but not with libvirtd, why could that be the case?
<baum> running the service on the host works too
__monty__ has quit [Ping timeout: 272 seconds]
<pbb> Hi, trying to boot an x86_64 NixOS installation from an sd card gives me GRUB: Read Error on boot, any ideas?
<pbb> seems like grub can not read stage 2 from the mmc device?
xkapastel has quit [Quit: Connection closed for inactivity]
__monty__ has joined #nixos
prometheus_falli has joined #nixos
day|flip has joined #nixos
steshaw has quit [Quit: Connection closed for inactivity]
alex`` has quit [Quit: WeeChat 2.5]
Drakonis has quit [Quit: WeeChat 2.4]
dftxbs3e has joined #nixos
Drakonis has joined #nixos
ddellacosta has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
m0rphism has quit [Ping timeout: 245 seconds]
Acou_Bass has quit [Read error: Connection reset by peer]
Acou_Bass has joined #nixos
L-o-r-d has joined #nixos
Acou_Bass has quit [Client Quit]
slack1256 has joined #nixos
Acou_Bass has joined #nixos
mbrgm_ has joined #nixos
jluttine has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @pasqui23 opened pull request #63935 → undollar:init at 1.0.0 → https://git.io/fjobl
<samueldr> pbb: that would be my guess too
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.25.2 -> 1.25.3 »: https://git.io/fjob4
<samueldr> pbb: sd booting on x86_64 isn't common; especially considering how it can be connected differenrly
<samueldr> some boards will have the sd card reader off the usb host
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
xkapastel has joined #nixos
adamanti` has joined #nixos
__monty__ has quit [Quit: leaving]
adamantium has quit [Ping timeout: 276 seconds]
adamanti` has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @kalbasit opened pull request #63936 → buildGoModule: add ./ to all sub-packages → https://git.io/fjobw
WilliamHamilton has joined #nixos
<pbb> samueldr: hmpf. arch boots fine on two boards, nixos produces the grub read error. I thought it was quite popular to boot from sd card on servers
<samueldr> I wouldn't know about that
<samueldr> what's the bootloader for archlinux?
<WilliamHamilton> I had a override for some haskell packages in `.config/nixpkgs/overlays`, and now I'd like to use those overlays only in the default.nix of a local project (keeping the rest of the system apart from those overrides)
<WilliamHamilton> what's the best way to do that?
<WilliamHamilton> should I try to pass the overlay argument in `nixpkgs ? import <nixpkgs> {}`?
<day|flip> samueldr: maybe grub
<clever> WilliamHamilton: when you `import <nixpkgs> {}` you can do `import <nixpkgs> { overlays = [ .... ]; }`
<clever> WilliamHamilton: it takes a list of self: super: functions, so you may need overlays = [ (import ./foo.nix) ];
<WilliamHamilton> clever: thanks, that worked!
OtherName has joined #nixos
<OtherName> Hello?
<simpson> Yes.
orivej has quit [Ping timeout: 272 seconds]
<OtherName> Hello! I'm new to IRC and am trying to learn how to use it
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> Hello! How can I apply this patch to xfce in my configuration.nix? https://bugzilla.xfce.org/show_bug.cgi?id=11107#c53
* day|flip /me
<day|flip> OtherName: ^
<simpson> OtherName: Sorry, I don't do PMs.
<OtherName> day|flip, were you able to get my message?
L-o-r-d has quit [Remote host closed the connection]
day|flip has quit [Remote host closed the connection]
day|flip has joined #nixos
<OtherName> Why don't people seem to use pm here?
<selfsymmetric-mu> Alternatively, how can I use XFCE4 unstable?
hio has quit [Quit: Connection closed for inactivity]
<selfsymmetric-mu> Because right now I'm suffering from the bug that mirrors monitors after sleep.
<OtherName> simpson, that is fine! But did it work?
<OtherName> I'm just trying to learn how to use IRC
<day|flip> OtherName: cuz it not needed most of the time. talk to one person one to one will be a wast of time if he or she can't help out
<simpson> OtherName: Sure, it's working.
<OtherName> Ok! So most IRC is use for technical stuff?
<simpson> It's just a chat protocol. You're currently accessing a channel for NixOS; try `/topic` to see the channel topic.
<simpson> (Also, FWIW, this is all offtopic, but you aren't expected to understand that concept yet.)
<OtherName> Ok! So I did /list and that is how I found this room... I just need to type /topic ?
<day|flip> some channel are some what social talk. but this is a very tech side channel for Nx and NixOS
<{^_^}> [nixpkgs] @kalbasit merged pull request #63885 → go-tools: 2019.2 -> 2019.2.1 → https://git.io/fjo87
<{^_^}> [nixpkgs] @kalbasit pushed commit from @marsam to master « go-tools: 2019.2 -> 2019.2.1 (#63885) »: https://git.io/fjobi
<day|flip> s/Nx/Nix
L-o-r-d has joined #nixos
<OtherName> Ok, thank you everyone! I'll leave and try to find another channel, thanks for the help!
OtherName has left #nixos [#nixos]
<selfsymmetric-mu> I get `error: The option `services.xserver.desktopManager.xfce.patches' does not exist.`
<simpson> selfsymmetric-mu: pkgs/desktops/xfce/core/ contains patches to, amongst other things, xfsettingsd. Perhaps you could look in there to try to find a place to apply the patch.
<selfsymmetric-mu> simpson: Good call, I'll take a look.
<selfsymmetric-mu> Hm. I'm not sure. This is a patch to `display`, but I don't see a corresponding nix file.
<selfsymmetric-mu> First line of the diff is `diff --git a/xfsettingsd/displays.c b/xfsettingsd/displays.c`.
<ivan> selfsymmetric-mu: I patch nixpkgs to use the xfce module with unstable
<selfsymmetric-mu> Oh maybe I can add it to `xfce4-settings`.
<selfsymmetric-mu> ivan: That sounds perfect! Can you show me the code where you do that?
<selfsymmetric-mu> I'd like to know how to maintain a patched `nixpkgs` for things other than packages.
<selfsymmetric-mu> simpson: I think I'd like to try applying the patch here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/xfce/core/xfce4-settings.nix
<selfsymmetric-mu> simpson: But I don't know how to get that into my nixpkgs.
<selfsymmetric-mu> ivan: Thank you!
<selfsymmetric-mu> ivan++
<{^_^}> ivan's karma got increased to 3
m2 has joined #nixos
m2 is now known as epta
<selfsymmetric-mu> Hey ivan, what version do you get if you run `xfce4-about`?
<ivan> selfsymmetric-mu: 4.12 oddly
<selfsymmetric-mu> ivan: Wow, I didn't expect that you'd _literally_ be patching it.
<ivan> selfsymmetric-mu: panel and most other stuff is 4.14pre
<selfsymmetric-mu> I thought you were doing some kind of override.
<selfsymmetric-mu> Wow, that seems like a strange state of affairs.
<selfsymmetric-mu> I'm going to see if I can apply this patch specifically through my configuration.
<selfsymmetric-mu> But I am still bad at Nix expressions so I don't know if I'll be able to.
<selfsymmetric-mu> My goal is to add to the the `patches` field here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/xfce/core/xfce4-settings.nix
<selfsymmetric-mu> From my `configuration.nix`.
<selfsymmetric-mu> It's imported like this: `xfce4-settings = callPackage ./core/xfce4-settings.nix { };`.
<selfsymmetric-mu> Not sure how I can get through that into the `patches` attribute within.
<clever> selfsymmetric-mu: xfce4-settings = super.xfce4-settings.overrideAttrs (old: { patches = old.patches ++ [ ./foo ]; );
WilliamHamilton has quit [Remote host closed the connection]
<clever> which has to be insrted at the right place in the overlays
<clever> selfsymmetric-mu: for example, to replace xfce.xfce4-settings, you want a nixpkgs overlay, that does: xfce = super.xfce.overrideScope' xfceoverlay;
<clever> and then you can make an xfceoverlay = self: super: { xfce4-settings = super.xfce4-settings.overrideAttrs (old: { patches = old.patches ++ [ ./foo ]; ); };