<stu_>
Hey, I have a two monitor setup and I can't figure out how I can make the one monitor be left (or right) of the other one. How would I achieve that in my nix config?
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
<infinisil>
stu_: Simple imperative solution: Use arandr
markus1189 has joined #nixos
<DigitalKiwi>
sounds like a workaround we want solutions
<infinisil>
More involved declarative solution: Use the `services.xserver.xrandrHeads` option
<DigitalKiwi>
oh well carry on
<DigitalKiwi>
infinisil++
<{^_^}>
infinisil's karma got increased to 330
<infinisil>
And put e.g. `Option "LeftOf" "foo"` in the monitorConfig
<infinisil>
:)
markus1199 has quit [Ping timeout: 264 seconds]
justanotheruser has joined #nixos
stu_ has quit [Ping timeout: 245 seconds]
h0m1 has quit [Ping timeout: 260 seconds]
ambro718 has quit [Ping timeout: 256 seconds]
h0m1 has joined #nixos
kraeXen has joined #nixos
kraeXen has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @ZerataX opened pull request #95227 → vscode-extensions.b4dm4n.nixpkgs-fmt init at 0.0.1 → https://git.io/JJyhf
<jurlerci>
howdy, bit of a weird thing happening ive never had happen before, whenever i reboot, my generation i just built doesnt seem to be saving? the config file is still as i had it, and the stuff in the nix store is still there (it doesnt redownload anything when I rebuild) but its not showing in the boot menu, and the passwd i set for a user isnt sticking
<kini>
Jonathan76: for programs whose build instructions don't change very much from version to version, it might be sufficient to just do `foo.overrideAttrs (_: { version = ... ; src = ... ; })`, but I'm not sure if that will work for wine specifically
Jonathan76 has quit [Remote host closed the connection]
kraeXen has joined #nixos
kraeXen has quit [Client Quit]
<jurlerci>
side note, but if anyone has a good program for reading pdfs in the terminal that' be great
kraeXen has joined #nixos
Jonathan91 has joined #nixos
zangi has quit [Ping timeout: 256 seconds]
<Jonathan91>
Whoops, sorry. I appreciate a question and then restarted my computer to miss any response.
<{^_^}>
[nixpkgs] @aanderse opened pull request #95231 → nixos/mysql: run postStart as an unprivileged user → https://git.io/JJyjW
Rurd2di has joined #nixos
<Jonathan91>
I am trying to run an application which is failing with nixpkgs.wine and nixpkgs.with-staging.
<Jonathan91>
How can I install a different version of Wine? Or change to place the nix-channel is?
kraeXen has quit [Remote host closed the connection]
griff_ has quit [Quit: griff_]
<Jonathan91>
Oh, thanks kini
kraeXen has joined #nixos
<mica[m]>
So when I build lensfun, it builds with the lens correction profiles from the release version, but the profiles are quite old and out of date. They can be updated with a helper app that isn't currently symlinked into the system path, but that script writes data to /var/lib/lensfun-updates
<mica[m]>
Not sure what to do
<mica[m]>
I need up to date lens profiles, but currently there is no way to get them
rardiol has quit [Ping timeout: 256 seconds]
justanotheruser has quit [Ping timeout: 244 seconds]
Jonathan91 has quit [Remote host closed the connection]
LnL has quit [Read error: Connection reset by peer]
LnL has joined #nixos
<kini>
mica[m]: If you just use the helper app, do you encounter some problems? Maybe it's OK for the script to write data to /var/lib/lensfun-updates ?
<mica[m]>
"kini" (https://matrix.to/#/@freenode_kini:matrix.org): I tried just copying the data to the location, but I think it only looks for data in the nix store, or that's my guess
<kini>
The nix expression for lensfun looks pretty simple. It doesn't look like it's customizing the behavior of lensfun to look for correction profiles in some non-default place only, as far as I can tell.
<mica[m]>
"kini" (https://matrix.to/#/@freenode_kini:matrix.org): yes it is quite simple... So it'd be OK to write data to /var/lib/lensfun?
user_0x58 has quit [Ping timeout: 260 seconds]
<kini>
If you wanted to be cleaner about it you could modify the nix expression for lensfun to accept the updated correction profiles as an input, and bake it into the derivation. But otherwise I guess it would be fine to put the profiles in /var/lib/lensfun-updates if you wanted.
kraeXen has quit [Ping timeout: 244 seconds]
xd1le has quit [Ping timeout: 260 seconds]
<mica[m]>
"kini" (https://matrix.to/#/@freenode_kini:matrix.org): the updates are unversioned... The flatpak runs the update script at build time
<elvishjerricco>
Playing around with `runInLinuxVM`, I tried `runInLinuxVM hello`, and got `/nix/store/7azp14fh9dy5jfbhl5c2fk1gd1hkd7ja-patchelf-0.9/nix-support/setup-hook: line 7: /dev/fd/62: No such file or directory`
<elvishjerricco>
I don't think that's supposed to happen?
alexherbo2 has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
<DigitalKiwi>
upgrade it first maybe you'll like it
<DigitalKiwi>
how long can that take
pjt_tmp has quit [Ping timeout: 240 seconds]
<bqv>
God. It being this old? Maybe 2 days
<bqv>
Nah imma nuke it. No chance it's useful
noderunner[m] has joined #nixos
<mjrosenb>
my server's gentoo install is like 12 years old now
<colemickens>
If I were packaging two things, "data" and some "tools" (or "bin" or "out", maybe?) would you want to see two derivations or just two outputs from one package?
<colemickens>
The latter seems a bit unwieldy but maybe more appropriate?
* DigitalKiwi
wonders if kicad does something like what you're asking
<DigitalKiwi>
06:59:39 [kiwi@mvp-nixos ~]$ ls /nix/store/1svzmdr4c6xqr3q9yy607c5awkgapzgr-kicad-packages3d-2020-07-21/
<DigitalKiwi>
share
<DigitalKiwi>
07:00:34 [kiwi@mvp-nixos ~]$ ls /nix/store/fyjwgzqzym6xwar7bqls6afqsgwps63d-kicad-unstable-2020-07-21
<DigitalKiwi>
bin
<kini>
I have a gentoo install from 2012 which I haven't upgraded since 2015. In fact I'm connecting to IRC from it lol (somehow)
jakob_rs has joined #nixos
<DigitalKiwi>
i used to have a picture of an arch install that when i booted it was like fsck hasn't been done in 1300(or maybe 1700) days
<DigitalKiwi>
i updated it
* DigitalKiwi
likes a challenge
<iqubic>
You mean image, right?
<jakob_rs>
If I discover that a certain PR (from August) breaks sound on my system, should I
<DigitalKiwi>
nah i painted it
<jakob_rs>
comment on the PR or create a new issue
<colemickens>
both
<DigitalKiwi>
but i think i mean photo?
<colemickens>
cross link them if possible so people following in your steps will find the issue, etc jakob_rs
<DigitalKiwi>
i took a picture with my camera parses fine to me
<jakob_rs>
okay I'll do that
<colemickens>
but have a new issue so we can un-regress it.
graf_blutwurst has quit [Remote host closed the connection]
graf_blutwurst has joined #nixos
<graf_blutwurst>
Good morning. I was wondering if someone had a good ressource on how different types of derivations set up the resulting PATH variable? I'm currently moving our projects to be enabled for nix, lorri and direnv and would like to have a bunch of scripts available on the PATH variable when in those project.
Dagger has quit [Excess Flood]
noderunner[m]1 has joined #nixos
Dagger2 has joined #nixos
graf_blutwurst has quit [Remote host closed the connection]
graf_blutwurst has joined #nixos
jurlerci has joined #nixos
<NobbZ[m]>
Everything you have in a derivations `$out/bin` *and* is executable, will be in the `PATH` of the entered shell.
<jurlerci>
hello, my nixos builds arent saving, and each time I turn my computre back on i have to log in as root in order to rerun nixos build to create my user and install the programs
<jurlerci>
its like it just stopped working after the initial install that got me to where i am now?
stephaneyfx has quit [Quit: Leaving]
<NobbZ[m]>
jurlerci what command do you use to build your system?
<jurlerci>
nixos-rebuild switch
<jurlerci>
no matter how many times i change and rebuild, when i reboot it still only shows 5 generations to boot into
<jurlerci>
the same 5, not that its limited to the latest 5 or something*
kreyren has quit [Remote host closed the connection]
cr4y1 has joined #nixos
kreyren has joined #nixos
kreyren has quit [Remote host closed the connection]
<NobbZ[m]>
That sounds weird. Have you tried to reinstall your boot manager or have you changed the Bootmanager in your config without writing it?
<jurlerci>
yeah im really stumped with whats happening
<jurlerci>
ive got it set to systemd-boot which is the same as it was last time i had nixos on this laptop
<jurlerci>
i dont get any errors when building or anything
jakob_rs has joined #nixos
cole-h has quit [Quit: Goodbye]
<jakob_rs>
So I'm now basically lost on this audio issue
<{^_^}>
[nixpkgs] @danieldk opened pull request #95242 → python3: fix impure /bin/sh call in subprocess → https://git.io/JJSOO
<jakob_rs>
It *only* occurs on 5.6+ (haven't tested 5.5), and *only* on nixos-unstable
<jakob_rs>
#86168 seems relevant, but it's been backported
<jurlerci>
makefu: it rolling back is what im afraid of aha
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
itshaydendev has joined #nixos
<makefu>
:D
<jurlerci>
i cant find documentation on declaritively saying what channel to follow in configuration.nix :(
karantan has joined #nixos
karantan has quit [Ping timeout: 256 seconds]
<Mic92>
jurlerci: this does not work yet with configuration.nix
<Mic92>
this is what nix flakes fixes
<jurlerci>
ah i see, gotcha
<jurlerci>
question, is there a way to automatically run home-manager? i want declaritive home files, but i dont like having to set up the nixos configuration, run it to get home-manager, then log in as the user to run home-manager to build their environment
thc202 has joined #nixos
<Mic92>
jurlerci: if you use something like krops, they also provide you means of managing a NIX_PATH declarativly
<Mic92>
jurlerci: maybe a pam module or /etc/profile.d?
<jurlerci>
sorry for all the questions im just trying to figure out my workflow
<makefu>
Mic92: well, you could set the NIX_PATH declaratively, no? this however only applies to the `next` rebuild which is not super cool
<Mic92>
makefu: yes. but this is not in configuration.nix itself
<flythief>
hi, my audio in gpu hdmi interface is not working( gpu hdmi connects with my monitor, and monitor connects with my sound box). My headphone which connect with my computer is ok. can someone give me some guide? thanks firstly.
<overlay-kiwi>
hello, I'm trying to create an overlay to use an updated version of atom editor which is being fetched from github. I'm not sure which resource is the best practice currently and what the system defaults are. Does creating the overlay.nix in .config/nixpkgs get automatically taken in when running nix-rebuild?
wolfshappen has joined #nixos
<AlonzoC>
n
<hyper_ch>
davhau isn't here?
<dutchie>
overlay-kiwi: i just went down a similar rabbit hole, and afaict putting it into nixpkgs.overlays in configuration.nix works
zangi has joined #nixos
<dutchie>
(well, i ended up putting it in nixpkgs.overlays from home.nix, but i tested in configuration.nix too)
<overlay-kiwi>
I saw that somewhere but some guy from nixcon vid suggested against it back in 2017 I think? Will try it now tho, whatever works lol
<dutchie>
oh, i didn't watch the video for the anti-recommendation
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cab404[m]>
<evanjs "Trying to generate a Cargo.nix u"> try using naersk
<evanjs>
Trying to fit things into a Jenkins pipeline, and I guess for now, I can just checkout the repo, generate Cargo.nix, and pass it into the expression. Just feels redundant/messy
<evanjs>
I did, but other issues popped up
<cab404[m]>
what kind of issues?
<cab404[m]>
also, what are you trying to package?
graf_blutwurst has quit [Remote host closed the connection]
Darkmatter66_ has joined #nixos
<evanjs>
A private repository with a few private deps, some of them with private submodules
<evanjs>
Which is mostly solved by using fetchGit from nixUnstable
<evanjs>
i.e. building the whole expression with nixUnstable
<{^_^}>
nmattia/naersk#108 (by drozdziak1, 8 weeks ago, open): vcpkg fails to build on latest nightly: "readme file with name '../README.md' was not found"
zangi has quit [Ping timeout: 264 seconds]
wolfshappen has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
sasyctu[m] is now known as srasu
<higherorder>
Hey! Quick Q: what would you recommend as the easiest way to find the implementation of a specific package, e.g. `pkgs.runCommand`?
<higherorder>
I can't figure out where exactly it is defined in the nixpkgs repo
<Soft>
I am trying to upgrade my nixos 20.03 setup by running nixos-rebuild switch --upgrade but it seems to fail because fontforge build fails: https://dpaste.org/mFNn
<Soft>
That seems to happen because it tries to find python3 which is not available in the build environment
<Soft>
I cannot seem to find anything related to this from the issue tracker
<higherorder>
infinisil: hmm, if I PM the bot I get `error: undefined variable 'showSrc' at (string):7:1`
<Soft>
I would also like to understand why nixos wants to build fontforge, what requires it? It is certainly not listed in my systemPackages
<overlay-kiwi>
installing from master individually
wolfshappen has quit [Ping timeout: 256 seconds]
<higherorder>
Also, another question: what's the best resource to learn Nix? Nix Pills? Or is there something else I'm missing out on?
wolfshappen has joined #nixos
<overlay-kiwi>
for me pills weren't very helpful since it kinda requires some background knowledge, I'm not sure whats the best source from scratch higherorder
<Soft>
actually I am not sure if the issue is because python is missing or if fontforge is just using cmake macros wrong, or something
maloook has quit [Remote host closed the connection]
maloook has joined #nixos
<Soft>
hmm it seems simply doing nix-env -i fontforge fails the same way
<overlay-kiwi>
also error: value is a function while a list was expected, at /nix/store/dhm1lks73f0rl2v1cr7pg8xd1wxqyicb-master.tar.gz/pkgs/top-level/stage.nix:243:8
<overlay-kiwi>
dutchie
<higherorder>
> nix-repl> (a: {inherit a;}) { b = 22;}
<higherorder>
> { a = { ... }; }
<higherorder>
can I force nix-repl to print more than one level of an attribute map?
<{^_^}>
error: syntax error, unexpected ';', expecting ':' or '@', at (string):320:14
<dutchie>
overlay-kiwi: hmm, not sure about the error. the .discord at the end is to set the discord attribute in the pkgs that modules see to the one from master
<dutchie>
without it, pkgs.discord would end up being nixpkgs master channel, which isn't what you want
<aanderse>
Izorkin: you run a mariadb galera cluster, right? i have a question about `galera_new_cluster` on nixos: do you need to run this command when setting up a cluster? i ask because our nixos tests don't run this.
<{^_^}>
[nixpkgs] @Ma27 pushed to master « Revert "nextcloud: use mkDefault for whole nginx config" »: https://git.io/JJ9G4
griff_ has joined #nixos
drakonis2 has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis2 has quit [Read error: Connection reset by peer]
user_0x58 has joined #nixos
drakonis2 has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
wolfshappen has quit [Ping timeout: 256 seconds]
<Izorkin>
aanderse: the first node must be started with an empty configuration `wsrep_cluster_address = "gcomm://";` Others nodes need running with `wsrep_cluster_address = "gcomm://galera_01,galera_02,galera_03";` After full startup claster, on the first note need replace address to `wsrep_cluster_address = "gcomm://galera_01,galera_02,galera_03";`
<Izorkin>
aanderse: With `galera_new_cluster` haven't tried running.
<aanderse>
Izorkin: ah, ok, so our tests don't mention that... but they only run once, so its ok
<aanderse>
thank you for clarification
<aanderse>
maybe `galera_new_cluster` does the equivalent
<Unode>
ehmry_: thanks. Was trying to figure out if I could have a service running as user instead of system. Mostly for dev reasons. Home manager looks interesting. I'll keep an eye on it.
dxtr has joined #nixos
<hyper_ch>
what's the new herokuapp thing where you can see when channels advanced last?
waleee-cl has joined #nixos
<ehmry_>
Unode: there is the nixos tests, but if you need internet then the next best thing might be a container
<Unode>
ehmry_: indeed. Container might be the easiest option here.
ckauhaus has quit [Quit: WeeChat 2.7.1]
noudle has joined #nixos
<mudri>
I'm trying to switch from ad hoc config in `~/.nixpkgs/config.nix` to `home-manager`. Things seem to be fine, except that everything I installed before now seems to have been reinstalled. So, for example, `which ag`, after following the symlinks, gives a different `/nix/store/` hash to `nix-build -A ag`. Why is this? And are my packages still coming from my clone of nixpkgs?
<{^_^}>
[nixpkgs] @Lassulus opened pull request #95266 → nixos/gollum: replace toFile with writeText → https://git.io/JJ9na
<buffet>
hey, im getting "failed to mount /dev/sda1: No such devie" during boot all of a sudden, and im having a hard time doing anything from rescue mode
<buffet>
is there anything meaningful i can do from a chroot?
cosimone has quit [Remote host closed the connection]
wolfshappen has joined #nixos
<daddy_james[m]>
How does /tmp work in nixos? It doesn’t get cleared at boot, does it get automatically cleared when you run out of hdd space or something?
CptCaptain has quit [Quit: WeeChat 2.9]
dbmikus has joined #nixos
Shados_ has joined #nixos
mdlayher_ has joined #nixos
joedevivo_ has joined #nixos
georgyo_ has joined #nixos
evhan` has joined #nixos
jackdk_ has joined #nixos
pikajude- has joined #nixos
lukego_ has joined #nixos
taktoa[c]_ has joined #nixos
typetetris_ has joined #nixos
parsnip_ has joined #nixos
shad_ has joined #nixos
edk_ has joined #nixos
bkv has joined #nixos
infty_ has joined #nixos
Dagger2 has joined #nixos
cosimone has joined #nixos
marek_ has joined #nixos
roosemberth has joined #nixos
farn__ has joined #nixos
<infinisil>
daddy_james[m]: By default /tmp isn't handled special in any way, so it's just a normal directory under /
<infinisil>
daddy_james[m]: You can however enable `boot.cleanTmpDir` to clean it on boot
<infinisil>
Or you can enable `boot.tmpOnTmpfs` to make /tmp a tmpfs
e has quit [Disconnected by services]
edk_ is now known as e
<daddy_james[m]>
Cool thx
<{^_^}>
[nix] @Ericson2314 opened pull request #3924 → Make `system-features` a store setting → https://git.io/JJ9CS
<evils>
i'm trying to update the stlink package and i'm getting an ld failure, `crtbeginT.o: relocation R_X86_64_32 against hidden symbol '__TMC_END__' can not be used when making a shared object`
wolfshappen has quit [Ping timeout: 246 seconds]
<evils>
hmm, looks like their latest git rev works, so it's just their released version that's broken :D
selfsymmetric-mu has joined #nixos
wolfshappen has joined #nixos
Soft has quit [Quit: WeeChat 2.7.1]
<bqv>
Systemd is so subtly upsetting. It's the most convenient way to do almost anything, but I still really don't like it. Can't win
drakonis2 has quit [Ping timeout: 256 seconds]
<evils>
this makes no sense, there's 1 additional commit on their master branch vs the release, that only touches their .github templates
gthm has quit [Ping timeout: 256 seconds]
<selfsymmetric-mu>
I'm getting "error: stack overflow (possible infinite recursion)". `--show-trace` doesn't show anything. How do I find out where it's happening?
drakonis1 has quit [Quit: WeeChat 2.9]
<evils>
ah no, 88 commits in their develop branch which is the default one, even though they have one called master...
<selfsymmetric-mu>
When running `emacsWithPackagesFromUsePackage`.
<selfsymmetric-mu>
Extends: If I cut my config in half it works, but it doesn't matter which half. Sounds like I might just need a bigger stack or a smaller config.
wlan42[m] has joined #nixos
bennofs[m] has joined #nixos
pjt_014[m] has joined #nixos
nh2[m] has joined #nixos
mt[m] has joined #nixos
lina[m] has joined #nixos
rschulman has joined #nixos
ArtemVorotnikov[ has joined #nixos
theduke has joined #nixos
yangm has joined #nixos
chvp has joined #nixos
toto[m] has joined #nixos
M0-[m] has joined #nixos
eadwu[m] has joined #nixos
gretax[m] has joined #nixos
hazel[m] has joined #nixos
arcnmx has joined #nixos
l_inus[m] has joined #nixos
crazazy[m] has joined #nixos
aanderse has joined #nixos
regnat has joined #nixos
Ox4A6F has joined #nixos
maralorn has joined #nixos
rnhmjoj has joined #nixos
jgart[m] has joined #nixos
timokau[m] has joined #nixos
kaychaks_riot has joined #nixos
balsoft has joined #nixos
dxu[m] has joined #nixos
l-as has joined #nixos
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #95220 → nixos/ipfs: Allow QUIC connections to socket activate too → https://git.io/JJy5I
ngerstle[m] has joined #nixos
tolja[m] has joined #nixos
felixfoertsch has joined #nixos
michaelpj has joined #nixos
ptotter[m] has joined #nixos
aquarial has joined #nixos
chefkoch[m] has joined #nixos
sjn[m] has joined #nixos
hpfr has joined #nixos
alaskacanyon[m] has joined #nixos
tskc[m]1 has joined #nixos
SpaghettiCthulhu has joined #nixos
octowan[m] has joined #nixos
srid has joined #nixos
domenkozar[m] has joined #nixos
watzon has joined #nixos
<{^_^}>
[nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/JJ9Wj
JJJollyjim has joined #nixos
ma27[m] has joined #nixos
bendlas has joined #nixos
norbert[m]1 has joined #nixos
HumanJohn[m] has joined #nixos
stites[m] has joined #nixos
TheSirC[m] has joined #nixos
tlater[m] has joined #nixos
philipp[m]1 has joined #nixos
worldofpeace has joined #nixos
sputny[m] has joined #nixos
wangoe[m] has joined #nixos
davegallant[m] has joined #nixos
l33[m] has joined #nixos
timclassic has joined #nixos
Gleaken[m] has joined #nixos
azazel has joined #nixos
haslersn has joined #nixos
srgancap[m] has joined #nixos
TimePath has joined #nixos
puzzlewolf has joined #nixos
grin[m] has joined #nixos
cab404[m] has joined #nixos
travelion[m] has joined #nixos
blindidiotgod has joined #nixos
ndarilek has joined #nixos
codyopel has joined #nixos
pinion[m] has joined #nixos
mcaju has joined #nixos
alienpirate5 has joined #nixos
MaJoe[m] has joined #nixos
Notkea[m] has joined #nixos
lily[m] has joined #nixos
sayanarijit[m] has joined #nixos
gh0st[m] has joined #nixos
cjbassi[m] has joined #nixos
GuillaumeChrel[m has joined #nixos
mica[m] has joined #nixos
symphorien[m] has joined #nixos
yutyo[m] has joined #nixos
cyberwolf[m] has joined #nixos
betrion[m] has joined #nixos
hsiktas[m] has joined #nixos
allsyed[m] has joined #nixos
ggpeti[m] has joined #nixos
slavfox has joined #nixos
dihydrogenmonoxi has joined #nixos
scatteredray[m] has joined #nixos
hr[m] has joined #nixos
epitron[m] has joined #nixos
noneucat has joined #nixos
utdemir[m] has joined #nixos
alexherbo2[m] has joined #nixos
pachumicchu has joined #nixos
xavierm02 has joined #nixos
flip[m] has joined #nixos
Yakulu[m] has joined #nixos
hans[m]5 has joined #nixos
chrismatheson has joined #nixos
rigola[m] has joined #nixos
sauyon[m] has joined #nixos
joghuru[m] has joined #nixos
emily has joined #nixos
Houtworm[m] has joined #nixos
cdknight[m] has joined #nixos
piotrszegda[m] has joined #nixos
ongy[m] has joined #nixos
alexarice[m] has joined #nixos
boomer[m] has joined #nixos
dtz has joined #nixos
hiroshi[m] has joined #nixos
nikola[m] has joined #nixos
phirsch has joined #nixos
chr0ma[m] has joined #nixos
sirreal[m] has joined #nixos
mukayu[m] has joined #nixos
atemu12[m] has joined #nixos
gsals[m] has joined #nixos
dominicusin[m] has joined #nixos
betty[m] has joined #nixos
leons has joined #nixos
slabity has joined #nixos
sneknek[m] has joined #nixos
trewqasad1[m] has joined #nixos
wak-work has joined #nixos
ice7[m] has joined #nixos
unclechu has joined #nixos
musicmatze has joined #nixos
Minijackson[m] has joined #nixos
philipp[m] has joined #nixos
guelosk[m] has joined #nixos
bpye has joined #nixos
nilsirl[m] has joined #nixos
brianh[m] has joined #nixos
lihram has joined #nixos
jtojnar has joined #nixos
colemickens has joined #nixos
david-sawatzke[m has joined #nixos
joschi has joined #nixos
Philipp[m]2 has joined #nixos
bbigras has joined #nixos
gildedlink[m] has joined #nixos
AberDerBart[m] has joined #nixos
anonymouserobot[ has joined #nixos
fatjedi[m] has joined #nixos
mindtree[m] has joined #nixos
Poscat[m] has joined #nixos
bohan[m] has joined #nixos
aloiscochard[m] has joined #nixos
lwbcdt[m] has joined #nixos
kekw736[m] has joined #nixos
ilya-fedin has joined #nixos
Smith[m]1 has joined #nixos
bachp has joined #nixos
Ke has joined #nixos
GerdFlaig[m] has joined #nixos
georg[m] has joined #nixos
aniketd[m] has joined #nixos
jlv has joined #nixos
chreekat[m] has joined #nixos
alexfmpe has joined #nixos
elorm[m] has joined #nixos
hsngrmpf[m] has joined #nixos
yochai[m] has joined #nixos
srasu[m] has joined #nixos
kriteus119[m] has joined #nixos
jojosch|Johannes has joined #nixos
Dandellion has joined #nixos
rednaZ[m] has joined #nixos
clandest[m] has joined #nixos
tristan[m] has joined #nixos
pjhenning[m] has joined #nixos
dbg[m] has joined #nixos
truh[m] has joined #nixos
jangsentry10032[ has joined #nixos
Ericson2314 has joined #nixos
ryantm has joined #nixos
davidak[m] has joined #nixos
axx has joined #nixos
BjrnForsman[m] has joined #nixos
mattock[m] has joined #nixos
MilkManzJourDadd has joined #nixos
matthewbauer has joined #nixos
Valodim[m] has joined #nixos
sreybastien[m] has joined #nixos
daddy_james[m] has joined #nixos
Louis[m]3 has joined #nixos
Superleaf1995 has joined #nixos
NobbZ[m] has joined #nixos
aterius has joined #nixos
d8d910[m] has joined #nixos
Rian[m] has joined #nixos
printfn[m] has joined #nixos
tbenst[m] has joined #nixos
lblasc[m] has joined #nixos
fgaz has joined #nixos
hanckmann[m] has joined #nixos
j0hax[m] has joined #nixos
danielrf[m] has joined #nixos
zrsk[m] has joined #nixos
thefloweringash has joined #nixos
eddyb has joined #nixos
blahaj[m] has joined #nixos
ZerataX has joined #nixos
sshow[m] has joined #nixos
kyren has joined #nixos
sghir_med[m] has joined #nixos
siraben has joined #nixos
dngray has joined #nixos
enderdays[m] has joined #nixos
j0hax[m]1 has joined #nixos
Strubbl[m] has joined #nixos
gnxlxnxx[m] has joined #nixos
martha[m] has joined #nixos
hydridity[m] has joined #nixos
jneplokh has joined #nixos
faya01[m] has joined #nixos
inquisitiv3 has joined #nixos
onny[m] has joined #nixos
cutuchiqueno[m] has joined #nixos
jschievink has joined #nixos
omasanori[m] has joined #nixos
qbit[m] has joined #nixos
manu12[m] has joined #nixos
vaibhavsagar has joined #nixos
ptotter[m]1 has joined #nixos
rycee has joined #nixos
spazzpp2[m] has joined #nixos
acidpointer[m] has joined #nixos
raju[m] has joined #nixos
khassanov[m] has joined #nixos
aflatter[m] has joined #nixos
ks2048[m] has joined #nixos
kraem[m] has joined #nixos
johnazoidberg[m] has joined #nixos
jehova[m] has joined #nixos
koschitzky[m] has joined #nixos
M__[m] has joined #nixos
Eli[m]1 has joined #nixos
SourOatMilk[m] has joined #nixos
neonfuz2 has joined #nixos
ChrisOboe[m] has joined #nixos
cmcaine[m] has joined #nixos
DamienCassou has joined #nixos
Akshay[m] has joined #nixos
nrdxp[m] has joined #nixos
quidome[m] has joined #nixos
peterlau[m] has joined #nixos
dxb[m] has joined #nixos
lorencio[m] has joined #nixos
yurb has joined #nixos
drozdziak1 has joined #nixos
pitchzer0 has joined #nixos
sebass[m] has joined #nixos
tyrion-mx has joined #nixos
das-g[m] has joined #nixos
fszdg[m] has joined #nixos
test300[m] has joined #nixos
srxl has joined #nixos
Addison[m] has joined #nixos
Geezus42[m] has joined #nixos
alj[m] has joined #nixos
Julien[m] has joined #nixos
bqy has joined #nixos
Leira[m] has joined #nixos
shider[m] has joined #nixos
jabarszcz[m] has joined #nixos
zerocostabstrac4 has joined #nixos
noderunner[m] has joined #nixos
boogiewoogie[m] has joined #nixos
Niobium[m] has joined #nixos
mathyouguy has joined #nixos
marcus[m]1 has joined #nixos
scratch171[m] has joined #nixos
shu9[m] has joined #nixos
<lassulus>
is matrix restarting again?
syntaxtree[m] has joined #nixos
Lars[m]4 has joined #nixos
trepetti[m] has joined #nixos
tinamus[m] has joined #nixos
Xamino[m] has joined #nixos
adray has joined #nixos
j4ng5y[m] has joined #nixos
regivanx[m] has joined #nixos
badmutex[m] has joined #nixos
etokarev[m] has joined #nixos
greghab[m] has joined #nixos
felschr[m] has joined #nixos
idontgetoutmuch[ has joined #nixos
CRTified[m] has joined #nixos
truby has joined #nixos
porphyrogenetos has joined #nixos
noderunner_[m] has joined #nixos
hienergy[m] has joined #nixos
yusdacra[m] has joined #nixos
AmitLevy[m] has joined #nixos
focalluna[m] has joined #nixos
nicolas[m]1 has joined #nixos
joey_tribbiianii has joined #nixos
albert[m]1 has joined #nixos
derrecklowe[m] has joined #nixos
kaiha[m] has joined #nixos
oopisthedevil[m] has joined #nixos
init_6 has joined #nixos
id[m] has joined #nixos
slby[m] has joined #nixos
kuramashinobi13[ has joined #nixos
wedens[m] has joined #nixos
Jan-HenrikBruhn[ has joined #nixos
Soarin[m] has joined #nixos
comrandroxaos[m] has joined #nixos
feffe[m] has joined #nixos
antpic01[m] has joined #nixos
hmpffff[m] has joined #nixos
zoickx[m] has joined #nixos
Jake[m] has joined #nixos
grahamc[m] has joined #nixos
Aljosha[m] has joined #nixos
nocturnalbeast[m has joined #nixos
<Ke>
if I do nixos-install on a mktemp -d'd path I get EPERM when trying to do bind mounts, I tried shorter path lenghts and it worked
missionformilk has quit [Ping timeout: 256 seconds]
<Ke>
am I really the only one who does nixos-instal on not mnt or is there something silly on mktemp or installer
<bqv>
This is why I hide joins/parts…
<bqv>
Gonna have to up my scrollback though
<bqv>
Looks weird when its mostly missing
lopsided98 has quit [Ping timeout: 260 seconds]
lopsided98 has joined #nixos
<selfsymmetric-mu>
If I can't see where it's happening, and it seems to be a matter of scale rather than an infinite loop, is there a way I can simply give Nix more stack space?
kahiru_ has joined #nixos
<Ke>
ok maybe not
kalbasit has joined #nixos
<Ke>
chmod 755 helped, so someone does mounts as nonroot or something
<Kk2>
is there any way to store my nvidia-settings xorg.conf on nixos?
<Kk2>
i will try to specify the services.xserver.config directly let see
CptCaptain has quit [Quit: WeeChat 2.9]
<lassulus>
maybe services.xserver.extraConfig if that doesn't work or you want some of the other options to have an effect
<{^_^}>
[nixpkgs] @KyleOndy opened pull request #95275 → tmuxPlugins.tmux-fzf: init at unstable-2020-07-28 → https://git.io/JJ98b
<energizer>
what is the bottleneck installing stuff from cache.nixos.org?
<energizer>
actually nevermind that.
<energizer>
when i'm running nix in single-user installation, does nix ever have more than one client connection open on the db.sqlite?
cjpbirkbeck has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<bqv>
there's locking mechanisms
<bqv>
iirc
nschoe has joined #nixos
quinn has joined #nixos
watzon has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
<energizer>
i'm experiencing database corruption when using nix on NFS. i'm looking for ways to reduce these problems. can i tell nix to be less concurrent?
<angelos>
Hello all, I am trying to install nixox and when I am running nixos-install I get the following error: changing ownership of path '/mnt/nix/store': Operation not permitted
<angelos>
any ideas?
<energizer>
be root
<angelos>
I am root, to get as root I did 'sudo su'
kenshinCH has quit [Ping timeout: 256 seconds]
<energizer>
show stat /mnt /mnt/nix /mnt/nix/store
kenshinCH has joined #nixos
<higherorder>
Hey :) Is there a way to inspect the context of a string ?
<angelos>
energizer its a bit long text to copy. What do you want to know from stat?
<energizer>
angelos: do you have internet on that computer?
nullheroes has joined #nixos
CodeSpelunker has joined #nixos
<angelos>
yes
<energizer>
angelos: pipe it into curl -F 'f:1=<-' ix.io
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
angelos has quit [Quit: Ping timeout (120 seconds)]
<energizer>
i dont know. i've been using nix a while but i'm not an actual expert. if you can hang around a bit some experts might drop by (they often do)
<higherorder>
Also.. what is the difference between `import ./abc.nix` and `import <./abc.nix>`?
<energizer>
higherorder: <...> comes from NIX_PATH=abc=foobar
angelos has joined #nixos
<energizer>
oh you asked <./abc.nix>, never seen that before
xkapastel has quit [Quit: Connection closed for inactivity]
<higherorder>
energizer: I messed up trying to import a local file with <>, so I was wondering what it did
<immae>
To answer your question higherorder, a path between brakets <some/path.nix> refers to the "some" in the environment variable NIX_PATH=some=https://someurl (which, in my example, should contain a path.nix at its root)
<{^_^}>
[nixpkgs] @toraritte opened pull request #95279 → azure-new: Amend `upload-image.sh` and `boot-vm.sh` → https://git.io/JJ9Rb
<immae>
Not using impure functions should be sufficient to remain pure in nix repl
<immae>
But technically nix repl accepts your input so it cannot be pure
<higherorder>
immae: https://nixos.org/nix/manual/; the manual mentions something called "pure evaluation mode" in which things like fetchGit without rev are disabled. I wanted to check if `fetchUrl` was also disabled
angelos has quit [Remote host closed the connection]
thc202 has quit [Ping timeout: 244 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
smatting_ has joined #nixos
<{^_^}>
[nixpkgs] @risicle opened pull request #95280 → pure-ftpd: add patch for CVE-2020-9274 → https://git.io/JJ90e
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
leonardp has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<_habnabit>
erm, does nix-build require kvm? qemu seems to start without issue but every time i get this error and i'm not sure why or how to configure it not to? qemu-system-x86_64: CPU model 'host' requires KVM
<_habnabit>
command is: $ nix-build '<nixpkgs/nixos/release.nix>' -o ./result -A amazonImage.x86_64-linux --argstr system x86_64-linux
<cransom>
to build an ami, it needs to start a vm for some aspects of the image build. it would use kvm to do that faster, but it can be done without it if you, for instance, are doing this in aws where there's no hardware virtualisation support.
nschoe has quit [Ping timeout: 272 seconds]
<_habnabit>
cransom, i'm running it locally
polezaivsani has quit [Ping timeout: 256 seconds]
euandreh has left #nixos ["ERC (IRC client for Emacs 26.3)"]
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJ9u3
cosimone has joined #nixos
<nature>
energizer: oh ok, this one answers my question for fzf
drakonis has joined #nixos
<euandreh>
infinisil: I was going to answer that even stable has that documentation, so that's why I asked. However it doesn't have it. My mistake :)
<nature>
energizer: but would you know how I can do for asyncomplete ?
<energizer>
nature: i'm not familiar with asyncomplete. is it in nixpkgs?
<energizer>
nature: er i was answering about zsh not vim, but the idea is the same
<nature>
no asyncomplete is not in the nixpkgs
<nature>
I think I'll have to do as euandreh said and package my own
<energizer>
yep
<nature>
Where should I start looking for to do that ?
<nature>
Like finding an example, I am currently looking at nixpkgs but I am not sure I understand the relevant part
<energizer>
for the case of a zsh plugin i have plugins = [ {name = "fzf-tab"; src = pkgs.fetchFromGitHub {owner = "Aloxaf"; repo = "fzf-tab"; rev = "47ed49e72161aee919eeec3491fe57ad5040ead9"; sha256 = "sha256:09rsdnqxlmr8rmx2dmqk3nz9y63pzz277hp2q8wm6xjamy0yvwva";}; file = "fzf-tab.plugin.zsh";}
raiaq has joined #nixos
<nature>
so file is the file to "execute" ?
knupfer has quit [Ping timeout: 256 seconds]
<energizer>
something like that
knupfer has joined #nixos
kraeXen has quit [Quit: [ - ]]
kahiru_ has quit [Quit: leaving]
kraeXen has joined #nixos
robogoat has quit [Ping timeout: 246 seconds]
<nature>
ok so if I understand with asyncomplete (https://github.com/prabirshrestha/asyncomplete.vim) I could have something like plugins = [ { name = "asyncomplete"; src = pkgs.fetchFromGithub {...}; file = "autoload/asyncomplete.vim" } ]
<_habnabit>
so, just to clarify.. nixpkgs will only have one version of python, and if i need an older version like 3.7, i should be using something like pyenv to build it?
<praduca>
Hi... someone using zfs and having trouble with grub-install? rebuilding is generating an error sayng "nvlist_lookup_string ("path"): No such file or directory"
<praduca>
Cant figure out if this is a bug or if I'm doing something wrong
<energizer>
_habnabit: normally i prefer to avoid nix-env altogether in favor of defining my system declaratively in configuration.nix or home-manager, and project-specific stuff in a nix-shell.
<_habnabit>
energizer, that command gave me a broken bash prompt but python3 is python 3.7
<_habnabit>
`nix-shell -p python37` gave me a not-broken shell and python 3.7
<simpson>
A shell.nix combined with direnv can allow for Nix to provide the Python, but also for standard Python virtualenv to be loaded and have stuff installed. https://github.com/direnv/direnv/wiki/Nix for the direnv side of things, https://bpa.st/D7YA for a real example .envrc.
<energizer>
_habnabit: you can try nix-env -iA python37
__monty__ has quit [Quit: leaving]
<_habnabit>
energizer, 'try'? i mean, i got what i wanted with the last command i cited
<energizer>
_habnabit: ah ok. nix-env does the systemwide install instead of the "make me a shell with"
<_habnabit>
so i guess python is one of the exceptions to the single version policy?
Extends has quit [Remote host closed the connection]
jbox has joined #nixos
moet has joined #nixos
samrose has joined #nixos
samrose_ has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixpkgs] @stigtsp opened pull request #95286 → perlPackages.Minion: init at 10.13 → https://git.io/JJ92D
<moet>
can anyone help me to understand how nixops connects to a host with targetEnv="none"? i can't get it to ssh in, it gets "permission denied (publickey)" even though i've manually added the key from the nixops ResourceAttrs table to the host's authorized keys
cjpbirkbeck has quit [Ping timeout: 260 seconds]
cjpbirkbeck has joined #nixos
<moet>
i've also tried extracting the public key that corresponds to the private key and manually sshing to the host, but that doesn't get as far as "permission denied" .. it just hangs
<moet>
ok, i've gotten around the port nonsense, and now i can ssh to the box with nixops' public/private key combination .. however nixops cannot ssh to the box
proofofkeags has quit [Remote host closed the connection]
wolfshappen has quit [Ping timeout: 260 seconds]
<moet>
yeah, this is kind of a weird place .. i can ssh using nixops' generated creds, but nixops cannot
<moet>
no idea where to go from here
<clever>
moet: nixops doesnt try to escape any args, so if you `nixops ssh host -v`, it will wind up passing that -v to ssh, and ssh will spew its logs
<moet>
oh
<moet>
it's using my personal ssh key from ~/.ssh instead of using the one in its own database
<moet>
what the heck
toraritte has joined #nixos
<clever>
moet: the ssh agent will leak in when using nixops
cosimone has quit [Ping timeout: 260 seconds]
<moet>
i don't run ssh agent
<moet>
but the `-v` shows that it's using ~/.ssh
<clever>
that would explain things better then
<clever>
ah
<clever>
normally, nixops will use `-i` to change the path to the private key, to one in /tmp/
<clever>
if the nixops state doesnt have a key assigned to that machine, it wont do that
<moet>
the nixops state has keys assigned to the machine, i can see them by doing `sqlite3 '.dump ResourceAttrs' on the db file
<clever>
moet: does it say what args ssh got ran with?
<clever>
moet: which backend is the machine managed by?
<moet>
it doesn't say what args ssh got run with, even with -v
<clever>
check `ps aux | grep ssh` while its asking for a pw?
<lunik1>
I'm having some trouble making a nixos live usb. I used unetbootin to create it and it times out waiting for /dev/root when I try to boot it
knupfer has quit [Quit: knupfer]
<clever>
lunik1: unetbootin breaks the nixos iso, just dd it directly to the usb
<moet>
i didn't specify a backend (or "deployment.targetEnv") so i assume it's using "none" which is the default
<clever>
the iso already works on usb
<lunik1>
clever: is there a tool that works on windows?
<clever>
lunik1: windd, windiskimager, and others
knupfer has joined #nixos
<lunik1>
ok
<clever>
moet: can you pastebin the records from ResourceAttrs that tie a priv key to the machine? (and obviously censor the key)
<moet>
clever: this is how it's running ssh: ssh -x user@hostname -S /run/user/1000/nixops-ssh-tmp0UjLpL/master-socket -M -N -f -oNumberOfPasswordPrompts=3 -oServerAliveInterval=60 -oControlPersist=600 -C -p 8922 -p 8922
<clever>
moet: yeah, looks like nixops doesnt believe there is a priv key tied to the machine
<moet>
i'm using a custom port, which is already set up correctly on the target machine
<clever>
i suspect your misreading the state db
<moet>
sec..
tdeo has quit [Read error: Connection reset by peer]
<moet>
you can see there's only one row in resources, with the int id for the machine.. and the resourceattrs table has a pub and priv key which FK to the machine id
<moet>
i haven't dug enough into the nixops source to see if i'm interpreting this correctly, but it seems straightforward