<sss2>
hi all, how to configure ethernet bonding in configuration.nix ?
petrkr has left #nixos [#nixos]
<cirno-999>
,locate ibm-plex
<cirno-999>
,locate
<{^_^}>
Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<{^_^}>
[nixpkgs] @andir pushed 3 commits to release-20.09: https://git.io/JkO1N
itc-ger has joined #nixos
kaivai has joined #nixos
pbb has quit [Read error: Connection reset by peer]
dxu[m] is now known as dxu
pbb has joined #nixos
dxu has quit [Quit: authenticating]
dxu has joined #nixos
<Unode>
hi everyone, I noticed that nixpkgs-channels is now marked as deprecated. What should I use to replace it?
<Unode>
I'm used to having a checkout of those branches instead of relying in the nix-channel approach
<ivan>
cirno-999: yes, you can limit the size of the dirty page cache on linux
<cirno-999>
dirty page cache?
<ivan>
cirno-999: try
<ivan>
};
<ivan>
"vm.dirty_bytes" = 300000000;
<ivan>
"vm.dirty_background_bytes" = 50000000;
<ivan>
boot.kernel.sysctl = {
<ivan>
cirno-999: are you also using XFS?
<cirno-999>
not sure what it is but ill research
<cirno-999>
no
<cirno-999>
ext4
motleymage has quit [Remote host closed the connection]
<cirno-999>
just a very standard not outperforming HDD
<ivan>
cirno-999: when you write to some filesystem, linux actually just fills up memory with pages that are marked 'dirty' and lets them sit around for a while (maybe ~30 seconds)
<cirno-999>
and sometimes my OS has to use swap
<abathur>
Unode: AFAIK the same branches all exist in nixpkgs and are no longer maintained in a separate repo
<ivan>
then it decides to start writing them all out after there are too many dirty pages or they've been dirty for too long
<ivan>
and it does this in a manner that is wholly unsuitable for interactive desktop use
<ivan>
you can run `dstat` to watch it do this
<Unode>
abathur: so it still follows the "commit succeeded in hydra" model but now lives in nixpkgs?
<matthewcroughan_>
anyone know how to enable wayland gnome3 on nixos?
<Unode>
abathur: thanks. I'll give that a go.
<abathur>
Unode: I'm not sure about exact details here; I just recall seeing someone discuss it in here previously
<ivan>
cirno-999: that other thing that might help a lot is to set all your devices to use the bfq io scheduler
<ivan>
cirno-999: except fast nvme ssds
<abathur>
IIRC it was something along the lines of the separate channel repo having been a logistical convenience at one time that was no longer needed as such
<Unode>
I would even say replace the URL. Currently it links to the nixpkgs repository which makes sense once you know what you are looking for
alexherbo2 has joined #nixos
Emantor has joined #nixos
h0m2 has joined #nixos
h0m1 has quit [Ping timeout: 256 seconds]
<pumpy>
can i use xdg.configFile.<name>.source with nothing else to have it create directories ill eventually use? "Path of the source file or directory."
sigmundv_ has quit [Read error: Connection reset by peer]
vidbina has quit [Ping timeout: 258 seconds]
rajivr has joined #nixos
<pumpy>
i tried xdg.dataFile.bash = { target = "${name}/.keep"; text = ""; }; but name is undefined var error. do i have to repeat bash in it with target = "bash/.keep";?
<{^_^}>
[nixos-homepage] @worldofpeace pushed 2 commits to master: https://git.io/JkOHb
<{^_^}>
[nixos-homepage] @worldofpeace pushed 0 commits to revert-642-revert-641-prefer-gnome-iso: https://git.io/JkOHN
<Henson>
is there a way I can use the inherit statement to inherit all attributes in a set? Kind of like what you might imagine "inherit (foo) *" would do?
<Henson>
I'm trying to define environment variables for the buildCommand in a stdenv.mkDerivation. To do this you just have to set attributes equal to the environment variables you want to set. I want to bundle up a bunch of these variables into a set and pass this set in as an argument to the derivation.
<Henson>
so I want to unpack and inherit all of the attributes in this environment variable set, but not have to do it explicitly.
<tpw_rules>
that's what // does
* Henson
hits his forehead
<Henson>
tpw_rules: of course, because the argument to mkDerivation is just a set, so combining the sets will do what I want. Thank you!
<vifon>
Hello. I've just noticed on two of my systems /nix/var/nix/gcroots/profiles is a symlink pointing at /mnt/nix/var/nix/profiles. I presume the /mnt prefix shouldn't be there.
<vifon>
Is this a bug?
<matthewcroughan_>
colemickens: cole-h: are you supposed to remove channels entirely once using flakes?
<{^_^}>
nix#3060 (by arianvp, 1 year ago, open): Nix garbage collector is implemented differently from how it is documented
<matthewcroughan_>
bqv: you got anything on this?
<matthewcroughan_>
flake 'git+file:///etc/nixos/nixcfg' does not provide attribute 'packages.x86_64-linux.defaultPackage.x86_64-linux', 'legacyPackages.x86_64-linux.defaultPackage.x86_64-linux' or 'defaultPackage.x86_64-linux'
<matthewcroughan_>
I have no idea what's happening :D
<matthewcroughan_>
I get this when trying to recreate the lock file
ilmu has quit [Ping timeout: 260 seconds]
ilmu has joined #nixos
sigmundv__ has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixpkgs] @AndersonTorres opened pull request #103768 → antiprism: init at 0.26 → https://git.io/JkOdU
justanotheruser has quit [Quit: WeeChat 2.9]
o1lo01ol1o has joined #nixos
M0x0049[m]1 has joined #nixos
<worldofpeace>
DigitalKiwi: ❤️
o1lo01ol1o has quit [Ping timeout: 260 seconds]
leungbk` has quit [Remote host closed the connection]
leungbk`` has joined #nixos
justanotheruser has joined #nixos
cjpbirkbeck has quit [Quit: Goodbye, take care]
<{^_^}>
[nixpkgs] @marsam pushed 11 commits to release-20.09: https://git.io/JkOdb
<matthewcroughan_>
your changes here massively break my setup, in a way that seems completely random and unimportant
<matthewcroughan_>
now I have to add inputs. to everything, and I cannot pass self anymore to things
<matthewcroughan_>
like what, is it now inputs.self
<matthewcroughan_>
What is the purpose of this `inputs:` ?
<matthewcroughan_>
I think I understand, in my struggle to use your firefox flake.
<matthewcroughan_>
I'm unable to access inputs, because your original example did not include it.
<matthewcroughan_>
I think I understand.. Since everything now seems to work, but everything was more ergonomic when I didn't have to add this stupid inputs. to the start of everything
<siraben>
Has anyone here built a project involving Linear Haskell with Nix?
palo1 has joined #nixos
<Ke>
what's linear haskell?
mmohammadi9812 has joined #nixos
palo1 is now known as palo
itc-ger has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
<Reiser>
Is it possible to just describe an entire pam file for some service? The current pam.nix has an annoying restriction of requiring pam_unix for pam_google_authenticator, where I would like to enable it without pam_unix.so at all, not sure how to work around this
<growpotkin>
You we need to get `AdobeBlank-Regular.ttf` removed from `google-fonts`, it took me months to track this thing down as the cause of a huge number of GUI application crashes
raghavsood has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<growpotkin>
Emacs, Thunderbird, Discord, Spotify, BraveBrowser ... all killed by this idiotic font with over 550,000 symbols. `libfontconfig` hangs when it encounters it with any application. I wanted to see if it was an infinite loop or not, and `libfontconfig` does manage to process the damn thing, but it took 40+ hours on my AMD R7
<growpotkin>
Yo **
<Ke>
Reiser: use the text attribute
<growpotkin>
Thunderbird died almost a month ago for me and I had no idea why, then the other apps all started falling one by one. I never took the time to investigate until it killed `emacs`, which might as well be a declaration of war
<raghavsood>
What would be the best option to discuss some structuring updates for the blockchain set of packages? The forum? Github issues? Snail mail?
<Reiser>
Ke, oh how did I miss this! Thank you, this is perfect
<raghavsood>
I'd like to restructure the entire blockchain set of packages to be more consistent, as well as add more useful tools, but would like some input on the approach before going ham on it
<energizer>
does nix have a function for integer 1..9 or so?
<energizer>
does nix have a function for integer range 1..9 or so?
<artturin>
it can be said that home-manager is recommended for non nixos usage of nix right?
<growpotkin>
I personally wouldn't but sure I think people could
<simpson>
That seems like an interesting thing to want to say.
<growpotkin>
It would probably be more of a headache than anything lol
<simpson>
home-manager is a thing which exists and which many people use. That's about as much as can be said.
<artturin>
im trying to remove all the nix-env -i's in the nixos wiki
<growpotkin>
I just have trouble imagining it behaving well outside of a NixOS environment. Given how much of a headache it is to get it to behave in the first place, I think trying to fight libs outside of the store from linking every little setup script that was hacked together
mmohammadi9812 has quit [Ping timeout: 260 seconds]
<cirno-999>
,locate groff
<{^_^}>
Found in packages: fish, groff, groff.perl
mmohammadi9812 has joined #nixos
<simpson>
artturin: Turning them into nix-shells?
Sanchayan has joined #nixos
dada_da has quit [Ping timeout: 246 seconds]
<vsiddharth>
Hey! Does anyone know how to define multiple devShells for a nix flake? Is that possible?
<artturin>
turning them to editing the config files
<simpson>
artturin: Aha! Be aware that not all Nix usage revolves around NixOS, and that there will be situations where folks prefer to nix-shell rather than anything else.
h0m1 has quit [Quit: WeeChat 2.9]
alp has quit [Ping timeout: 272 seconds]
FRidh has joined #nixos
<artturin>
of course, but nix-shell is not related to nix-env
dada_da has joined #nixos
<artturin>
i will use nix-shell or nix run wherever it is appropriate
<cirno-999>
does any1 know what's up with krita ;p
<cirno-999>
Error in file "/nix/store/18fj3jhczgyidx2mzpbx3fg0wmhx3sq7-system-path/share/applications/krita_jpeg.desktop": "jpeg/jfif" is an invalid MIME type ("jpeg" is an unregistered media type)
<thblt>
I'm tryinq to update the Eduke32 derivation, but when I `nix-env -f ~/Documents/Code/nixpkgs -iA nixos.eduke32`, I get "error: the expression selected by the selection path 'nixos.eduke32' should be a set but is a function". What am I doing wrong?
<patagonicus>
I'm trying to pin google-chrome to a specific version while keeping the rest of my system up to date. I'm doing chromePkgs = import (pkgs.fetchFromGitHub {…}) {}; to then be able to put chromePkgs.google-chrome in environment.systemPackages, but it's complaining about it being unfree. How do I set allowUnfree for chromePkgs? I already have
<patagonicus>
nixpkgs.config.allowUnfree = true in my configuration.
cr4y1_ has joined #nixos
<srhb>
patagonicus: is chromePkgs a nixpkgs?
<patagonicus>
Yeah, import of a nixpkgs tarball.
<srhb>
patagonicus: Then you'll want to pass at least config.allowUnfree = true; in that import
<patagonicus>
Aah, that makes sense. Let me try that.
<infinisil>
While it is possible to use makeWrapper to do this (with LD_LIBRARY_Path), that's not recommended. Patching the source is better in general, if possible
<siraben>
Ok. What indicated to you that Cyc_import_shared_object was the culprit?
<infinisil>
It's just the function that calls dlopen
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<siraben>
Hm, I'm not sure I see where the actual dylib names are passed.
<infinisil>
Again, now you want to loom where c:import-shared-objis called
<siraben>
Looks like it's looping to load each library in the list `lib-names` `(lib-names (lib:get-all-import-deps import-sets *append-dirs* *prepend-dirs* base-expander))`
malook has quit [Quit: malook]
<infinisil>
Seems pretty complicated. Ideally you'd be able to create a patch to make it look for the specific libraries in the exact /nix/store paths
<infinisil>
Maybe just go for the makeWrapper approach instead for simplicity
<siraben>
I tried using makeWrapper but didn't seem to work, lemme paste
<marble_visions>
hi nixos, what's been your experience so far with "system.autoUpgrade.enable"? I asked a while back what's the best way to upgrade, people here suggested I reinstall for the best results.. but I was wondering if I can get away with just autoUpgrade
<srhb>
marble_visions: reinstall, really? I've never heard that recommended.
<srhb>
marble_visions: I do not use autoUpgrade though.
<srhb>
marble_visions: (Nor would I, I prefer control over the process.)
<marble_visions>
srhb: so how do you upgrade? changing the channel and doing a rebuild?
<srhb>
marble_visions: Ah, that's not what autoUpgrade is about though
<srhb>
marble_visions: autoUpgrade just updates the existing channel and runs rebuild switch on a timer
<{^_^}>
[nixpkgs] @teto merged pull request #103704 → vte-ng: update patches to apply on vte 0.62 → https://git.io/JkYPE
<{^_^}>
[nixpkgs] @teto pushed commit from @JJJollyjim to master « vte-ng: update patches to apply on vte 0.62 »: https://git.io/Jk3Ks
<srhb>
marble_visions: Anyway, yes (though i don't use channels) -- like the manual describes.
<marble_visions>
srhb: hmm, what do you mean you don't use channels? I probably need a refresher how nix works..
<srhb>
marble_visions: Instead of channels I use a git clone of nixpkgs. But same process. I switch branches instead of changing the channel.
<marble_visions>
srhb: gotcha.
<srhb>
marble_visions: Anyway, I want to emphasize that I really see no good reason to reinstall instead of upgrading, and I wonder why you were given that advice -- if there's some special problem on your system
<srhb>
marble_visions: Essentially even trivial rebuilds are basically reinstalls, all the time, so I don't see the point.
<marble_visions>
srhb: I can't really remember why, I can dig out the logs.. I might be mistaken as well.
<srhb>
No worries. If you've got no strong reason to reinstall, just upgrade like the manual describes :)
<marble_visions>
I think the idea was the same as you described -- since you've got the configuration.nix and hardware.nix, reinstalling is fast as well (and should do the same things an upgrade does)
<marble_visions>
yep, will try the manual
werner292 has joined #nixos
<ninjin>
Quick sanity check, how “nutty” am I if I somehow find the idea of wrappers more appealing than Home Manager due to the perceived complexity I have of the latter?
<srhb>
ninjin: wrappers such as building symlink farms etc?
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<ninjin>
srhb: Not sure about the terminology of “symlink farms”, but essentially what is described on “Wrappers vs. Dotfiles” over at the Wiki.
<srhb>
ninjin: Ah I see. OK. You'll lose a ton of power from home-manager (NixOS-like activation scripts for your homedir) but gain a ton of simplicity in return
<srhb>
ninjin: If that's appealing to you, it doesn't seem nuts to me.
<ninjin>
srhb: Got it, I do tend to prefer simplicity – still rockin’ a proto-nixops Makefile based on your feedback from early summer.
zupo has joined #nixos
berberman_ has quit [Ping timeout: 260 seconds]
proofofkeags_ has joined #nixos
<srhb>
Heh, ok :) Sounds fine, you do you. If you suddenly want user level service management and your wrappers don't cut it anymore, you can easily switch things over.
berberman has joined #nixos
CMCDragonkai1 has joined #nixos
cosarara_ has joined #nixos
tilcreator has joined #nixos
_cyris212 has joined #nixos
fre_ has joined #nixos
packer_ has joined #nixos
oldsk00l_ has joined #nixos
Swant_ has joined #nixos
jonge has joined #nixos
<ninjin>
srhb: Will see how far I can push it, at the moment I am only using services for `udiskie` and `gpg-agent` out of Home Manager and porting those should be trivial. =)
seku has quit [*.net *.split]
dada_da has quit [*.net *.split]
proofofkeags has quit [*.net *.split]
pjan has quit [*.net *.split]
aleph- has quit [*.net *.split]
cosarara has quit [*.net *.split]
CMCDragonkai has quit [*.net *.split]
stigo has quit [*.net *.split]
arahael has quit [*.net *.split]
codezero has quit [*.net *.split]
edwtjo has quit [*.net *.split]
Yaniel has quit [*.net *.split]
vesper11 has quit [*.net *.split]
tv has quit [*.net *.split]
ml| has quit [*.net *.split]
Swant has quit [*.net *.split]
fre has quit [*.net *.split]
adamCS has quit [*.net *.split]
njd has quit [*.net *.split]
tilcreator_ has quit [*.net *.split]
m_hackerfoo has quit [*.net *.split]
packer has quit [*.net *.split]
yagoham has quit [*.net *.split]
nore has quit [*.net *.split]
qz has quit [*.net *.split]
pie_ has quit [*.net *.split]
vancz has quit [*.net *.split]
ivan has quit [*.net *.split]
flx has quit [*.net *.split]
oldsk00l has quit [*.net *.split]
le_jonge has quit [*.net *.split]
cyris212 has quit [*.net *.split]
makefu has quit [*.net *.split]
lucus16 has quit [*.net *.split]
cruxeternus has quit [*.net *.split]
Nazral has quit [*.net *.split]
petar has quit [*.net *.split]
maurer has quit [*.net *.split]
djahandarie has quit [*.net *.split]
moredhel has quit [*.net *.split]
srk has quit [*.net *.split]
hyperfekt has quit [*.net *.split]
CMCDragonkai1 is now known as CMCDragonkai
packer_ is now known as packer
ivan_ has joined #nixos
petar has joined #nixos
hyperfekt has joined #nixos
njd has joined #nixos
edwtjo has joined #nixos
edwtjo has joined #nixos
edwtjo has quit [Changing host]
srk has joined #nixos
m_hackerfoo has joined #nixos
lucus16 has joined #nixos
tv has joined #nixos
aleph- has joined #nixos
maurer has joined #nixos
Yaniel has joined #nixos
makefu has joined #nixos
<ninjin>
Silly last question before I collapse, is there a preferred way to donate? It is high time after two years that I give back.
<ninjin>
srhb: I will settle for a bit of cash for now, I got spoiled back in my OpenBSD days in terms of t-shirt artistic quality. ;)
<ninjin>
srhb: Thanks as always by the way.
<srhb>
ninjin++
M0x0049[m]1 has quit [*.net *.split]
aduialthin[m] has quit [*.net *.split]
peeterss[m] has quit [*.net *.split]
qbit[m] has quit [*.net *.split]
duktus[m] has quit [*.net *.split]
Photonsphere[m] has quit [*.net *.split]
bbigras has quit [*.net *.split]
Jake[m] has quit [*.net *.split]
jdnixx[m] has quit [*.net *.split]
alienpirate5 has quit [*.net *.split]
q3k[m] has quit [*.net *.split]
boogiewoogie[m] has quit [*.net *.split]
thequux[m] has quit [*.net *.split]
aripiprazole[m] has quit [*.net *.split]
CRTified[m] has quit [*.net *.split]
logan[m]1 has quit [*.net *.split]
l33[m] has quit [*.net *.split]
jgart[m] has quit [*.net *.split]
chreekat[m] has quit [*.net *.split]
lytedev[m] has quit [*.net *.split]
stites[m]1 has quit [*.net *.split]
NobbZ[m] has quit [*.net *.split]
nh2[m] has quit [*.net *.split]
risson[m] has quit [*.net *.split]
das-g[m] has quit [*.net *.split]
TheSirC[m] has quit [*.net *.split]
daddy_james[m] has quit [*.net *.split]
bielgeets[m] has quit [*.net *.split]
rednaZ[m] has quit [*.net *.split]
Notkea[m] has quit [*.net *.split]
feepo has quit [*.net *.split]
omnigoat has quit [*.net *.split]
psibi[m] has quit [*.net *.split]
r0bby has quit [*.net *.split]
bgupta has quit [*.net *.split]
higherorder has quit [*.net *.split]
nand0p has quit [*.net *.split]
agander_m has quit [*.net *.split]
s1341 has quit [*.net *.split]
terrorjack has quit [*.net *.split]
steveeJ has quit [*.net *.split]
rodarmor has quit [*.net *.split]
dongcarl has quit [*.net *.split]
jfhbrook has quit [*.net *.split]
kgz has quit [*.net *.split]
`slikts has quit [*.net *.split]
cvlad- has quit [*.net *.split]
ehmry has quit [*.net *.split]
<{^_^}>
ninjin's karma got increased to 3
TheNumb has quit [*.net *.split]
johanot has quit [*.net *.split]
jtle has quit [*.net *.split]
dottedmag has quit [*.net *.split]
sephii has quit [*.net *.split]
adamCS has joined #nixos
talyz has quit [*.net *.split]
qz has joined #nixos
cruxeternus has joined #nixos
arahael has joined #nixos
<srhb>
Thanks for contributing :)
arahael has quit [Max SendQ exceeded]
Swant_ is now known as Swant
lsix has quit [Ping timeout: 260 seconds]
arahael has joined #nixos
<ninjin>
srhb: Well, in my 30s I now find it easier to give money than time. '^^ Will get around to it when the markets open on Monday since my bank changes me a fee for conversions during weekends.
<pushqrdx>
so for some reason setting my font config in config.nix isn't enough for some gtk applications and i have to use gsettings to change the font aliasing/hinting
<pushqrdx>
is there a nice way i can add that to my config.nix?
<srid>
Is it possible declarative configure what commands/apps to run when GNOME starts up? (Asking for launching `synthing-tray` with private API key)
bitmapper has joined #nixos
<{^_^}>
[nixpkgs] @wedens opened pull request #103816 → vendor-reset: init at 2020-11-14 → https://git.io/Jk3hJ
<matthewcroughan_>
matthewcroughan
<matthewcroughan_>
whoops, that's not the searchbox
weeqw has joined #nixos
fendor_ is now known as fendor
<matthewcroughan_>
So uh, does colemickens ignore me now? :P
<matthewcroughan_>
Sorry if I was so annoying earlier.
<matthewcroughan_>
I'm fully nixed up now though, I get it.
<pushqrdx>
sphalerite i removed wireguard from there and only left ddci-driver but getting same error for some reason, it seems like extraModulePackage doesn't exist anymore or somethging
<pushqrdx>
sphalerite so `extraModulePackages = [ config.boot.kernelPackages.ddci-driver ];` still throws
<sphalerite>
pushqrdx: there's a c missing there, it's ddcci
vidbina_ has joined #nixos
<pushqrdx>
sphalerite oh god, thank you so much :D
endformationage has joined #nixos
<pushqrdx>
while i am at it, is there a way i can declaratively specify gsettings in my configuration.nix?
superherointj has quit [Quit: Leaving]
<pushqrdx>
i am not on gnome but i use many gtk/gnome apps and they don't obey the fontconfig anti aliasing settings i added to my configuration.nix
<pushqrdx>
i have to `gsettings set org.gnome.settings-daemon.plugins.xsettings` some properties manually
<pushqrdx>
i know that the settings in my config took effect because firefox used them, but not gtk apps
cosimone has quit [Read error: Connection reset by peer]
chour has quit [Quit: WeeChat 2.9]
hyperfekt has quit [Quit: bouncer quit]
cosimone has joined #nixos
hyperfekt has joined #nixos
pushqrdx has quit [Remote host closed the connection]
Mateon1 has quit [Remote host closed the connection]
roti_343 has joined #nixos
Mateon1 has joined #nixos
<roti_343>
Hi, what is the correct way to add a package in environment.systemPackages? vim or pkgs.vim ?
<lassulus>
well it depends if there is a with pkgs; somewhere
<roti_343>
As a greenhorn, I am slightly confused. "nix search vim" returns the package "nixpkgs.vim", while the command in the documentation (nix-env -qaP '*' --description) lists "nixos.vim"
Izorkin has joined #nixos
<roti_343>
(I just installed nixos the first time :) )
ivan_ is now known as ivan
mthst has quit [Remote host closed the connection]
aasg has quit [Quit: killed]
<pumpy>
i tried xdg.dataFile.bash = { target = "${name}/.keep"; text = ""; }; but name is undefined var error. do i have to repeat bash in it with target = "bash/.keep";? can't it get that from xdg.dataFile.bash?
aasg has joined #nixos
<lassulus>
roti_343: ah well thats indeed confusing and I'm not sure why there is a difference between the new nix command (nix search) and the old one (nix-env). But I guess it should be prefixed with your channel which you can show with `nix-channel --list`
Izorkin has quit [Ping timeout: 264 seconds]
<lassulus>
roti_343: but inside your configuration.nix the nixos/nixpkgs channel is more or less available as pkgs.
<lassulus>
pumpy: well name is undefined in this context. You need to either define it somewhere else (in a let) and do something like xdg.dataFile.${name} = "${name}/.keep" .... or write bash twice
<roti_343>
ah, I think I get it. this is the comment generated by nixos-generate-config:
<roti_343>
# List packages installed in system profile. To search, run: # $ nix search wget # environment.systemPackages = with pkgs; [ # wget vim # firefox # ];
<roti_343>
so, the "with pkgs" means vim actualls gets prefixed with "pkgs."
<roti_343>
```
<roti_343>
sorry for the formatting
<roti_343>
```
Izorkin has joined #nixos
kreyren_ has joined #nixos
<lassulus>
roti_343: ah yes, with something; puts everything from something in scope so you can skip writing something.
incognito9999 has quit [Quit: ZNC 1.7.2+deb3~bpo9+1 - https://znc.in]
tboston has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @kampka opened pull request #103846 → llvm_11: Disable checks on musl libc hosts → https://git.io/JksEP
malorie has joined #nixos
<eyJhb>
Anyone that can give some input on some Nix? I have, that I use to generate CTF challenges with? I am unsure if this is the best way of doing it - https://termbin.com/7mi8
<eyJhb>
This is something that I reuse for 20-30 challenges. And I am mostly in doubt of the build step, with the extraCmds. The config part I am fine with
<eyJhb>
I somehow also need to fit in a license/author as well
<{^_^}>
[nixpkgs] @7c6f434c pushed 2 commits to release-20.09: https://git.io/JksuY
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has quit [Ping timeout: 256 seconds]
cryptomonad has quit [Quit: cryptomonad]
tboston has joined #nixos
<ToxicFrog>
Ok, I'm having an issue with VAAPI on NixOS -- /dev/dri/renderD128 exists, and ffmpeg is built with vaapi support, ffmpeg fails with "input/output error"
<ToxicFrog>
When I try vainfo: nix-shell -p libva-utils --run vainfo
<ToxicFrog>
I get "can't connect to X server" (expected, since this is headless) and then "libva info: Trying to open /run/opengl-driver/lib/dri/radeonsi_drv_video.so", which fails (as /run/opengl-driver doesn't exist)
<ToxicFrog>
Then it looks in /usr/lib/dri and /usr/lib32/dri, obviously doesn't find it there either, and gives up
<ToxicFrog>
It looks like radeonsi_drv_video.so does exist in the mesa, mesa-noglu, and mesa-drivers packages, but vainfo isn't looking in the first place.
<ToxicFrog>
*in the right place
<pumpy>
i know how to use home manager programs.bash.shellAliases for aliases but how do i set functions that i use? like .bashrc having `fun() {...}` ty
<KarlJoad>
I am having issues getting rpcbind and rpcinfo to work. I can run `sudo rpcbind`, and I see lock and sock files show up in /var/run, but I cannot get any information from them using rpcinfo. Does anyone have any insights?
<KarlJoad>
Do I by chance need to have rpcbind as a system-level package in environment.systemPackages?
wnklmnn has quit [Quit: Leaving]
philr has joined #nixos
mananamenos_ has quit [Ping timeout: 260 seconds]
Deiru has joined #nixos
<Deiru>
Hi! I've tried searching internet for quite some time, but I can't seem to find any info on how to chroot into *existing* nixos installation from a non-nixos distro.
zupo has quit [Ping timeout: 265 seconds]
<Deiru>
I'm trying get into my installed system from rescue that was provided from my hosting, which is sadly debian.
zupo has joined #nixos
<Deiru>
All I need is to chroot into the installation, modify my user and bail out. I've tried to far to run ` chroot /mnt /nix/store/*-nixos-system-*/init`, but it doesn't seem to actually change my environment that much.
KarlJoad has quit [Quit: ERC (IRC client for Emacs 27.1)]
<clever>
Deiru: you want nixos-enter to chroot into it and get a usable shell
<Deiru>
Everything I read seems to be about installing nix in-place or how to do what I need using nixos livecd, which isn't an option.
<clever>
Deiru: ah, from non-nixos, try just running bash with chroot?
<Deiru>
Bash it doesn't find.
<clever>
Deiru: bash doesnt find what?
<Deiru>
I tried running sh, which it does find, but I can't load usermod.
<Deiru>
chroot doesn't find bash.
<clever>
Deiru: give it the absolute path, /nix/store/something-nixos-system/sw/bin/bash
<clever>
Deiru: and add /nix/store/something-nixos-system/sw/bin to $PATH
<Deiru>
eh, sw/bin/ only has switch to configuration.
<Deiru>
switch-to-configuration.
<clever>
Deiru: thats not sw/bin
<clever>
switch-to-configuration is only in the non sw /nix/store/something-nixos-system/bin/
Enderger has joined #nixos
Enderger has quit [Remote host closed the connection]