<BugeyeD>
i'm using the standard bash shell (set by default) but that does not seem to pick up the .profile edits created by home-manager
<Baughn>
You need to delete your existing .bashrc / .bash_profile / .profile
<Baughn>
Otherwise home-manager won't overwrite them
<BugeyeD>
Baughn: i've tried what your config shows, but i'm not sure whether any fo the profile/rc files existed beforehand. i didn't create them myself.
<Baughn>
You could just look?
delli3_ has quit [Read error: Connection reset by peer]
coco has quit [Quit: WeeChat 2.7]
vika_nezrimaya has left #nixos ["ERC (IRC client for Emacs 26.3)"]
FareWell has quit [Ping timeout: 260 seconds]
<BugeyeD>
Baughn: haha yes, moved those out of the way and they were recreated by home-manager. .profile was updated via programs.bash.sessionVariables but still not picked up. could be my desktop environment config, i'm using the default i3 config. but at least i know i'm headed in the right direction. thanks.
brnzz has quit [Quit: Ping timeout (120 seconds)]
brnzz has joined #nixos
<BugeyeD>
Baughn: seems this gets picked up when running bash as login shell (bash -l), so apparently that is not the default ...
<Baughn>
BugeyeD: If you're running a desktop session, then the desktop's your login 'shell'.
<Baughn>
Your terminal probably has an option to run shells as "login shells" as well. That might be enough for you?
drakonis has joined #nixos
<BugeyeD>
Baughn: yes, solved it thanks. was just reporting that home-manager was in fact doing its part, in case someone finds this in a related search ...
acarrico has joined #nixos
jluttine has quit [Ping timeout: 268 seconds]
h0m1 has quit [Quit: WeeChat 2.7]
h0m1 has joined #nixos
noudle has quit []
o1lo01ol_ has quit [Remote host closed the connection]
<duairc>
error: creating directory '/nix/store/nar': Read-only file system
<duairc>
notgne2: Haha, that's exactly where I ended up
reanimus has quit [Ping timeout: 260 seconds]
reanimus has joined #nixos
racoonslug has quit [Ping timeout: 265 seconds]
<duairc>
clever: By the way, all your hydra examples are wrong and it took me days to figure it out! You have store-uri in the extraConfig when it should be store_uri
<ivan>
does anyone here want to test chromium on 19.09 (either now or regularly)? I can update the pending PR if so
_daveyjones has quit [Quit: WeeChat 2.6]
nyowa has quit [Remote host closed the connection]
kleisli has quit [Ping timeout: 260 seconds]
brnzz has quit [Quit: Ping timeout (120 seconds)]
brnzz has joined #nixos
justanotheruser has quit [Ping timeout: 248 seconds]
xkapastel has joined #nixos
Rusty1 has joined #nixos
<duairc>
clever: Noooo, it's even worse than that! The only reasons your examples work is because you type store-uri instead of store_uri (which has no effect). And you *do* need the binary_cache_secret_key_file even though it complains about it being deprecated.
shibboleth has quit [Quit: shibboleth]
sb0 has joined #nixos
delli3 has joined #nixos
justanotheruser has joined #nixos
ddellacosta has joined #nixos
Guest79502 has quit [Ping timeout: 265 seconds]
<duairc>
Holy shit it actually works!
justanotheruser has quit [Read error: Connection reset by peer]
lambda-11235 has joined #nixos
justanotheruser has joined #nixos
justanotheruser has quit [Client Quit]
<duairc>
Okay, the one last problem I have, is that the derivations on my local machine don't exactly match the ones on the remote machine, which means there are some cache misses
<duairc>
The differences amount to things like the presence of a .git folder on one but not the other
<duairc>
I guess I could just rewrite my nix expression to, instead of calling callCabal2nix directly on the directory, call it to a version of the directoy copied to the /nix/store stripped of .git and dist/ noise
<notgne2>
`lib.cleanSource`
<duairc>
notgne2: Thanks!
me has joined #nixos
me is now known as Guest88067
tpham has joined #nixos
<tpham>
How can I specify the glibc version in `default.nix`.
h0m1 has quit [Ping timeout: 245 seconds]
misterwhatever has quit [Ping timeout: 268 seconds]
Rusty1 has quit [Read error: Connection reset by peer]
<tbenst[m]>
I suppose I could just turn off `restricted mode` and maybe that's the best option, but it's not clear to me how this interacts with sandboxing (if at all) or if it's a distinct concept
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 260 seconds]
kvda has joined #nixos
fragamus has joined #nixos
<mac10688>
hi all. It takes too long to create a haskell project configured with nix and nix-shell. I have to go back and research all the files I need, etc... I want to create a global script I can run to configure the project for me.
<mac10688>
Where would I save this script so that it's always in my path?
dingenskirchen has quit [Ping timeout: 248 seconds]
Guest88067 has quit [Remote host closed the connection]
xkapastel has quit [Quit: Connection closed for inactivity]
<kvda>
nix-shell is meant to be the local script that configures your project
marcusr has quit [Remote host closed the connection]
<mac10688>
I don't know what that looks like because right now all my shell.nix look like this. (import ./release.nix).project.env
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
kvda has quit [Ping timeout: 258 seconds]
ddellacosta has quit [Ping timeout: 268 seconds]
pointfree has quit [Excess Flood]
Rusty1 has joined #nixos
pointfree has joined #nixos
<lovesegfault>
clever: Are you around?
day|flip has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
gustavderdrache has quit [Quit: Leaving.]
day|flip has quit [Remote host closed the connection]
tmaekawa has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
sb0 has quit [Quit: Leaving]
<rotaerk>
hmm, well I got X to start with bumblebee...
<rotaerk>
in addition to enabling bumblebee and setting the services.xserver.videoDrivers to [ "modesetting" ], I had to also set hardware.bumblebee.driver to "nouveau", because the default is "nvidia"
<rotaerk>
srhb, ^
<rotaerk>
though now the question is whether it will go back to randomly crashing...
<rotaerk>
and glxgears/glxinfo works ... so only thing left to watch out for is the random crashes of X... maybe bumblebee itself is the solution to that
<rotaerk>
if not, maybe it's ACPI stuff causing it...
<rotaerk>
or nouveau power management
_daveyjones has joined #nixos
<lovesegfault>
rotaerk: What GPU?
drakonis has quit [Quit: Leaving]
Rusty1 has quit [Quit: Konversation terminated!]
reallymemorable has joined #nixos
kleisli has joined #nixos
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
Acou_Bass has joined #nixos
palo1 has joined #nixos
brnzz has quit [Quit: Ping timeout (120 seconds)]
brnzz has joined #nixos
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
Chiliparrot has joined #nixos
justanotheruser has joined #nixos
cap_sensitive has joined #nixos
<cap_sensitive>
Hi. I'm new to nix. I use nix + nix-darwin on macOS 10.15. I installed neovim, how I can create an overlay to modify the 'neovim' package so that it creates symblinks to 'vi' and 'vim'?
<cap_sensitive>
So my plan is to put the 'thing.nix' in ~/.nixpkgs/overlay-darwin/default.nix and that's it?
<notgne2>
actually having it in overlays is wrong, idk why I did that, that's just making a new package which provides those commands
<notgne2>
the easiest way is probably just to replace where I wrote nixpkgs.overlays with `environment.systemPackages` or whatever your equivilent is
<notgne2>
as for actually making an overlay of the package, I'm not sure how to modify derivations in that way honestly
reallymemorable has quit [Quit: reallymemorable]
<cap_sensitive>
notgne2: I put that command in my `environment.systemPacakges`, but the symblinks won't work: vi -> /nix/store/###hash###-vim-aliases/bin/vi
isHavvy has joined #nixos
<cap_sensitive>
Also, I think if I can put the alias-creating part in my overlay so that all neovim installation would create those links would be more 'pure'
<cap_sensitive>
As I also plan to overhaul my home server with nixOS later, having an overlay would means that I can share the configuration (hopefully?)
<notgne2>
I think that's the right way to do it, but I'm concerned it may break things as I'm not including `postInstall` from `oldAttrs` (it says that attribute didn't exist, so I trust it I guess)
<notgne2>
ok that doesn't work at all actually, I must be a bit confused
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
thomashoneyman has joined #nixos
<cap_sensitive>
notgne2: Yeah I just tried, and this time, no symblink gets created at all
<cap_sensitive>
notgne2: Yes! It works! Thank you!
dansho has joined #nixos
zupo has joined #nixos
<notgne2>
tpham1: I think it's used from the `stdenv.cc` property, so you'll probably want to do something like `(stdenv.override { cc = [stuff]; }).mkDerivation { [stuff] }`
<notgne2>
but I think Nix handles libc very specially, so it might be safer/easier to just use an overlay to replace it
leotaku has quit [Ping timeout: 260 seconds]
lambda-11235 has quit [Read error: Connection reset by peer]
<tpham1>
@notgne2 I got this error
<tpham1>
`anonymous function at /nix/store/x5fp0ag6s4704rf45jnf5464pqcd9l9i-nixpkgs-20.03pre205792.fb1bc1b891f/nixpkgs/pkgs/development/libraries/glibc/default.nix:1:1 called with unexpected argument 'version', at /nix/store/x5fp0ag6s4704rf45jnf5464pqcd9l9i-nixpkgs-20.03pre205792.fb1bc1b891f/nixpkgs/lib/customisation.nix:69:16`
lambda-11235 has joined #nixos
<notgne2>
Ah, that part should have been overrideAttrs (used like in my last gist)
<tbenst[m]>
I'm trying to whitelist cuda using `allowUnfreePredicate`, but can't seem to figure out the name of the package. "cudatoolkit_10" doesn't work. When I look at derivation, it specifies pname but not name. Any ideas?
dingenskirchen has joined #nixos
<clever>
> cudatoolkit_10.name
<clever>
,
<clever>
bots dead
<clever>
nix-repl> cudatoolkit_10.name
<clever>
"cudatoolkit-10.1.243"
<clever>
tbenst[m]: thats the name your matching against
<day|flip>
RIP bot T.T
noudle has joined #nixos
<tbenst[m]>
clever: thanks, I also tried that but am getting the same errorPackage ‘cudatoolkit-10.1.243’ in /nix/store/[...]-source/pkgs/development/compilers/cudatoolkit/common.nix:214 has an unfree license (‘unfree’), refusing to evaluate.
lukash_|away is now known as lukash_
<clever>
tbenst[m]: can you pastebin the entire nix expression?
<clever>
tbenst[m]: allowUnfreePredicate passed "cudatoolkit-10.1.243" to you, lib.getName then stripped off the version info
<tbenst[m]>
clever, that's way too easy I'd have never tried it :D. thx!
is_null has quit [Ping timeout: 260 seconds]
domogled has quit [Ping timeout: 268 seconds]
day|flip has quit [Quit: Using Circe, the loveliest of all IRC clients]
veske has joined #nixos
mexisme has quit [Ping timeout: 248 seconds]
jgeerds has quit [Ping timeout: 268 seconds]
jgeerds has joined #nixos
cosimone has joined #nixos
zarel_ has joined #nixos
zarel has quit [Ping timeout: 260 seconds]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
simpson has joined #nixos
<simpson>
How would system.autoUpgrade.enable = true; interact with some (arbitrary) tool which periodically updates /etc/nixos? Would any changes I make to system configuration in that way be automatically picked up on upgrade, or do I have to explicitly run nixos-rebuild as an interactive login user?
jjakob has quit [Quit: leaving]
<etu>
simpson: I have a systemd-service and timer for that
fenedor has joined #nixos
<lassulus>
autoupgrade just runs nixos-rebuild switch periofically
<simpson>
lassulus: Right, that's what I thought. I just wanted to make sure that there's no weird case where, like, a new module file would cause things to break.
o1lo01ol1o has joined #nixos
<lassulus>
Nop. I use it with my custom source dir and everything works as expected
veske has quit [Quit: This computer has gone to sleep]
day|flip has quit [Remote host closed the connection]
iyzsong has joined #nixos
Neo-- has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
fling_ has joined #nixos
tmaekawa has quit [Ping timeout: 240 seconds]
fling has quit [Ping timeout: 245 seconds]
fling_ is now known as fling
<ar>
/24
jjakob has joined #nixos
mounty has quit [Ping timeout: 240 seconds]
mounty has joined #nixos
m0rphism has joined #nixos
__monty__ has joined #nixos
day|flip has joined #nixos
dansho has quit [Remote host closed the connection]
smatting has quit [Ping timeout: 268 seconds]
day|flip has quit [Remote host closed the connection]
Shoubit has joined #nixos
<yorick>
is pname/version backwards compatible with 19.03?
<yorick>
or at least 19.09?
vidbina has joined #nixos
<lassulus>
yes
inkbottle has quit [Read error: Connection reset by peer]
lirzhv has quit [Read error: Connection reset by peer]
inkbottle has joined #nixos
lirzhv has joined #nixos
LLED2_2 has joined #nixos
smatting has joined #nixos
LLED2_3 has quit [Ping timeout: 260 seconds]
the_pumpkin_man[ has joined #nixos
<the_pumpkin_man[>
Hello, I have a question. I'm new to NixOS and I actually got an install with an encrpyted root. I would liek to know if there is a way to change the grub keymap, because when I boot my system grub asks me the password of the partition, but its keymap is qwerty ...
<clever>
the_pumpkin_man[: is it actually grub asking? is /boot encrypted? does the prompt happen before the grub logo?
wolfshappen has quit [Ping timeout: 258 seconds]
<infinisil>
It should be stage-1, not grub anyways
mexisme has joined #nixos
<clever>
infinisil: depends on if only / is encrypted, or if /boot is also encrypted
<infinisil>
Ohh i see
wolfshappen has joined #nixos
tmaekawa has joined #nixos
<infinisil>
If it's stage-1 one can set i18n.consoleUseXkbConfig = true to have it use the same key map as the X server
<infinisil>
No idea if it's grub
mexisme has quit [Ping timeout: 260 seconds]
<the_pumpkin_man[>
It is grub
<the_pumpkin_man[>
and /boot is encrypted
<the_pumpkin_man[>
But it is strange, because Im on an EFI partition, and grub installs to /dev/sda1, which isnt encrypted
<the_pumpkin_man[>
But because this partition will later be mounted to /boot/efi, it consider /boot as encrypted
<the_pumpkin_man[>
I also get the prompt for stage-1, but for this one the keymap is set
<clever>
the_pumpkin_man[: ah, so you have the ESP at /boot/efi, no fs at /boot, and /boot is a regular dir on the encrypted / ?
tmaekawa has quit [Quit: tmaekawa]
<the_pumpkin_man[>
Yes
bvdw has quit [Write error: Connection reset by peer]
bvdw has joined #nixos
<the_pumpkin_man[>
I also tried to mount the ESP to /boot and to disable cryptodisk for grub, NixOS accepted to install but then I was stuck with GRUB who was unable to load normal.mod
<clever>
the_pumpkin_man[: looks like you need to generate a keymap file, and then load it within grub, but that would normally load after it mounts /boot
smatting has quit [Ping timeout: 268 seconds]
<clever>
i'm not sure how you would force grub to embed the keymap into its stage1 file
<the_pumpkin_man[>
I already tried that on Arch Linux, didnt work
<clever>
the_pumpkin_man[: you might be better off just making /boot the ESP, and not having it encrypted
<the_pumpkin_man[>
Yes but I already tried that, as I said I just ended in grub rescue mod
<the_pumpkin_man[>
which told me "unable to find normal.mod at some place"
smatting has joined #nixos
<clever>
the_pumpkin_man[: can you try again, but before you reboot, pastebin the output of `lsblk ; blkid ; fdisk -l ; efibootmgr -v` ?
<the_pumpkin_man[>
Well, thats dangerous
<the_pumpkin_man[>
Last time I had to reinstall everything
<clever>
the_pumpkin_man[: you dont need to reinstall anything if you break it
<clever>
the_pumpkin_man[: just boot the livecd, mount things at the "right" place, maybe tweak the config, and re-run nixos-install
<clever>
nixos-install is just a script that runs nixos-rebuild under a chroot
<the_pumpkin_man[>
Not possible
<clever>
why is it not possible?
<the_pumpkin_man[>
Because when I try to open the partition from the live cd, it doesnt find the lvm volumes
<clever>
is the lvm inside the luks?
<the_pumpkin_man[>
Yes its a LVM on LUKS setup
<clever>
then you need to luksOpen, then pvscan and vgchange -a y
<the_pumpkin_man[>
Oh ok
<the_pumpkin_man[>
because on Arch when I just do cryptsetup open, it directly finds the LVM partitions
<clever>
that might have been udev configured to activate lvm automatically
juhe has joined #nixos
<the_pumpkin_man[>
Well, then let me prepare the livecd again
<__monty__>
You're talking about restoring a setup, right? Cause during normal boot my lvm is automatically detected after decrypting.
<clever>
__monty__: yeah, the above is how to mount it from the livecd for repair work
<juhe>
Hi, I've issues getting flashplayer built, the 32.0.0.293 is not downloadable anymore. Is there a way to workaround this?
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<clever>
juhe: just let flash die? lol
<MichaelRaskin>
Hey, some of the flash games are kind of part of the history of casual gaming now!
<juhe>
clever: Actually, this sounds like a good idea... Will try and see if I bump into any site that requires it... Thanks!
<MichaelRaskin>
But yeah, looks like there has been an update 10 days ago
<the_pumpkin_man[>
clever: So I modified in my nix configuration the efiSsyMountPoint to /boot. Also modified fileSystems."/boot/efi" to /boot. So now I will install my new config
<juhe>
I think I had this in the past and was somehow able to get the file into store from some other source. But now, I don't remember how I did it and using "nix add-to-store" doesn't help here.
<clever>
the_pumpkin_man[: we will also want to inspect efibootmgr -v, before we reboot
<the_pumpkin_man[>
Yes
<the_pumpkin_man[>
But I know it should first load EFI/grub
<MichaelRaskin>
juhe: nix-prefetch-url with a file:// URL
<juhe>
MichaelRaskin: I did that, but source file I found with search engine has also the version into the file name so I downloaded it manually, renamed and used "nix add-to-store" in a hope it'd help.
<the_pumpkin_man[>
clever: efibootmgr : command not found
<the_pumpkin_man[>
Well, there's a problem ...
<the_pumpkin_man[>
This command worked before ... Hell
<clever>
the_pumpkin_man[: youll need to install it with nix-env, nix-shell or nix run
<the_pumpkin_man[>
But then why did it worked before ?
<juhe>
MichaelRaskin: I need to check hashes, maybe it doesn't work because flashplayer I downloaded has wrong hash...
<the_pumpkin_man[>
I also have canTouchEfiVariables to true
<the_pumpkin_man[>
so grub can modify the boot order
<the_pumpkin_man[>
and for this it used efibootmgr, so should work ...
<clever>
the_pumpkin_man[: grub can use efibootmgr without adding it to the global PATH
<the_pumpkin_man[>
Oh yes, exact
<the_pumpkin_man[>
Found it in the store, I will show you the results
<the_pumpkin_man[>
As you see it will boot \EFI\GRUB\grubx64.efi
<clever>
the_pumpkin_man[: and has that file in /boot been updated?
<clever>
the_pumpkin_man[: look closer, at the boor order
<the_pumpkin_man[>
I have no idea, but there is this file grubx64.efi in this path
<clever>
the_pumpkin_man[: its loading boot0008 first
<juhe>
Hm, the "nix hash-file --base32 flash_player_npapi_linux.x86_64.tar.gz" of manually downloaded file shows the same hash as nix-repl's pkgs.flashplayer.src.drvAttrs.outputHash, so this is not what is wrong.
<the_pumpkin_man[>
Oh yes
<the_pumpkin_man[>
So \EFI\NixOS-boot-efi\grubx64.efi
<clever>
juhe: is pkgs.flashplayer.src using fetchurl or fetchzip?
<the_pumpkin_man[>
Ok it also exists
<clever>
the_pumpkin_man[: what about the last-mod timestamp on both?
<the_pumpkin_man[>
What is that ?
<clever>
the_pumpkin_man[: what does `ls -lh` report for both?
<the_pumpkin_man[>
22 déc. 11:14 for the file in GRUB
<the_pumpkin_man[>
22 déc. 11:24 for the file in NixOS-boot-efi
<clever>
thenn it looks like boot0008 is the most recent one
<the_pumpkin_man[>
Well, isnt there a problem ?
<clever>
id say try rebooting and see what happens
<the_pumpkin_man[>
I reinstalled it now, we are the 23rd december
<clever>
ah
<clever>
one sec
<the_pumpkin_man[>
It should be modified the 23 dec
<the_pumpkin_man[>
clever: ok it is now 23 dec 12:53, so it changed
<the_pumpkin_man[>
Time to reboot, will tell you if worked
<juhe>
clever: yes, that did the trick... I'm heading to docs to understand the difference between add-fixed and add-to-store... Nevertheless, I'll try to phase out flashplayer anyways, but knowing how to deal with situations like this is always good!
<juhe>
clever++
<juhe>
++clever
<juhe>
damn... what's the proper sintax?
<__monty__>
{^_^} is ded
<__monty__>
Long live {^_^}!
<juhe>
oh, RIP!
<the_pumpkin_man[>
clever: Thanks it worked ! Its just strange last time I did that it diddnt work, maybe because GRUB wasnt updating properly ...
<clever>
the_pumpkin_man[: you probably need --install-bootloader when changing the ESP mount point
<the_pumpkin_man[>
Ok, thank you !
juhe has quit [Quit: Leaving.]
jjakob has quit [Ping timeout: 248 seconds]
jjakob has joined #nixos
cosimone has quit [Quit: Terminated!]
domogled has joined #nixos
smatting has quit [Ping timeout: 260 seconds]
brightone has joined #nixos
cosimone has joined #nixos
brightone has quit [Remote host closed the connection]
domogled has quit [Ping timeout: 265 seconds]
fusion809 has quit [Remote host closed the connection]
<clever>
evanjs: its failing when it starts the build, so --show-trace wont do anything
dm9 has quit [Quit: WeeChat 2.7]
<clever>
evanjs: did you include -f in strace?
rardiol has joined #nixos
<evanjs>
clever: I shall do that
<evanjs>
there it is. one in... proc? what? haha
<clever>
evanjs: it might be garbage root collection stuff
<clever>
evanjs: nixos-enter can break that with its namespacing
<evanjs>
hrm. can I rebuild or whatever outside nixos-enter?
<clever>
evanjs: outside of then nixos-enter, try doing `nix-store -r /nix/store/hmql87dbw1qa9g4x70r1fc9h21dv7kzw-nixos-system-sekka-19.09.1647.2e73f72c87e.drv --store local?root=/mnt/` ?
<evanjs>
mmkay its doing something right now
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<clever>
evanjs: that will build the whole thing within /mnt, but not update the bootloader, so youll need to nixos-rebuild at the end
domogled has quit [Ping timeout: 258 seconds]
pie_ has joined #nixos
<evanjs>
clever: okay but it should be what `operation not permitted` was stopping me at before?
<clever>
evanjs: something with building the derivation, but we are building that outside nixos-enter
<evanjs>
right right okay sweet
<clever>
evanjs: and due to the missing -f, we didnt see what
<evanjs>
I really need to either reconsider specifying channels via urls in my config (vs channels) or making sure I can rebuild/use nix repl without the channels trying to upgrade every time ...
<evanjs>
I thought it'd be easier to have them specified in one place (my config) but those few issues just drive me crazy
<evanjs>
anyway, grub entries generated, let's see if we can boot, now
xelxebar has quit [Remote host closed the connection]
<evanjs>
yayyy yeah I thought my drive was `fsck`ed last week but I just broke the boot entries. Note to self: nixos-enter is weird, if it doesn't work, try realizing the paths outside of nixos-enter and try again.
<evanjs>
clever++
xelxebar has joined #nixos
<DigitalKiwi>
who do we ping about the mising bot
<gchristensen>
oops
<evanjs>
oh good point I totally missed that again haha
<gchristensen>
seems the TLS certificate is expired..??
<evanjs>
sounds about right... 😝
<gchristensen>
hmm
<gchristensen>
cool cool cool
elux has joined #nixos
<elux>
hi
<elux>
how can i add a custom group to my configuration.nix?
<gchristensen>
evanjs, DigitalKiwi: on it
<evanjs>
gchristensen++ lol
<DigitalKiwi>
now gchristensen knows what it feels like having their karma robbed!
<DigitalKiwi>
gchristensen++
<DigitalKiwi>
twice! bahahaha
* gchristensen
watches his to-do list grow
<gchristensen>
lol
<__monty__>
gchristensen: Maybe you should set up acme for the bot?
<gchristensen>
it has acme
<__monty__>
Baffling.
nyowa has joined #nixos
smatting has joined #nixos
<DigitalKiwi>
maybe you should use an operating system that works
* DigitalKiwi
ducks
<evils>
DigitalKiwi--
<DigitalKiwi>
:D
<elux>
isn't adding a group just, `users.groups.mygroupname = {};` and then in `users.users.me = { ...., extraGroups = [ "mygroupname" ]; };` ?
<elux>
doesnt seem to work
<gchristensen>
I hear operating systems work better if they have more than 0 bytes free for a month
<evanjs>
elux: and you've relogged already, right?
gustavderdrache has joined #nixos
<evanjs>
gchristensen: I wouldn't know. I sometimes have to disable x for `nixos-rebuild`...
<evanjs>
on only one computer, luckily
<elux>
evanjs: no i had not. thx
<evanjs>
Is there a list of current issues with IFD? I think that's what's causing the 'cannot read xxx since path yyy is not valid` issues I've been having. can't remember
<evanjs>
`nixos-rebuild switch` and CTRL+C "fixes" them usually 😝
<elux>
also.. recently im getting this error when doing a switch/upgrade (im using unstable channel), `error: The option value `services.xserver.displayManager.defaultSession' in `/etc/nixos/configuration.nix' is not of type `session name'. Valid names for 'services.xserver.displayManager.defaultSession' are: ` it shows just a blank option..
<LnL>
gchristensen: store or logs?
<gchristensen>
acme works better if you forget to re-enable it after some debugging, too
<elux>
im kinda getting fed up with nix tbh ..
<evanjs>
The fights I have with NixOS are much less painful than the fights I had with Gentoo or Arch, even. Once I fix something, it tends to stay fixed.
<__monty__>
gchristensen: Curious. Not many programs that work better when they're not running ; )
<gchristensen>
lol!
<gchristensen>
Selected IO plugins do not cover the following components: account_reg. hrm.
<__monty__>
elux: Have you considered most/all of the frustration might stem from the fact you're running unstable? That's definitely not recommended practice.
<evanjs>
I can definitely vouch for that. I've been less stressed out since switching to only get the newest version of specific packages and setting <nixos> to `19.09`
<DigitalKiwi>
nixos-unstable 4lyfe
<evanjs>
I was on nixpkgs-unstable lol
<gchristensen>
evanjs: oh dear
nyowa has quit [Quit: leaving]
<evanjs>
It wasn't _that_ bad. Some weird bugs would come up every now and then, but most things were at least always up to date
<MichaelRaskin>
DigitalKiwi: meh, just rebuild from master
<DigitalKiwi>
MichaelRaskin: that's what i do on my server
<DigitalKiwi>
though usually it's actually master + whateve PR i'm working on
nyowa has joined #nixos
<MichaelRaskin>
That's also what I do on my laptop, although I don't use exactly NixOS (still, definitely Nixpkgs from master + some pieces of NixOS)
<__monty__>
This is all well and good but not everyone's ready to run unstable.
<DigitalKiwi>
my laptop occasionally goes beteen a git nixpkgs and channels but eh... that's a bit more annoying because i don't like switching my laptop often because i have to logout of everything...
<gchristensen>
hrm it seems some upgrade to simp
<gchristensen>
_le broke my acme
<__monty__>
elux: What's your defaultSession string like?
<evils>
btw, i've got an issue with my package from nix on debian, python says "no module named 'math'" etc, this issue goes away if i run it with nix-shell --pure, is there a way to ensure the right python gets used by the package?
<__monty__>
Sounds like the calls to python aren't getting patched properly.
<{^_^}>
#76270 (by grahamc, 2 minutes ago, closed): acme: "Selected IO plugins do not cover the following components: account_reg." (with fix)
<evils>
evils--
<gchristensen>
evils: karma can only go up unless you try to give it to yourself :P
<evils>
__monty__: i'm quite unfamiliar with python, how would i solve this?
<evils>
gchristensen: oh, didn't spot the "decreased" xD
<gchristensen>
:)
<evils>
DigitalKiwi--
<__monty__>
evils: That depends on the program. If it's a shell script you'd simply replace `/usr/bin/python` or `/usr/bin/env python` with the proper path to python in the store.
<__monty__>
If it's a compiled language you'll have to patch before the source gets compiled.
jakobrs has joined #nixos
cosimone has joined #nixos
<evils>
__monty__: i'm not sure how the path to python would get compiled in, or why if it's build by nix it'd use debian's python..., is this relevant? https://git.io/JeF00
<evils>
pythonPath in that file is not used i think, it's used in the wrapper, but only to set the site-packages it seems
ng0_ has joined #nixos
ng0 has quit [Disconnected by services]
ng0_ has quit [Client Quit]
ng0 has joined #nixos
ng0 has joined #nixos
rardiol has quit [Ping timeout: 260 seconds]
<__monty__>
evils: Hmm, have you checked the wrapper?
<evils>
__monty__: i would kinda expect that to have something pointing to the python binary though
<__monty__>
Reason it's using the debian python is it's calling "python" which your is resolved using the PATH. But any python should be looking up modules using the PYTHONPATH.
<__monty__>
Is the debian python a different version maybe?
<__monty__>
If so then I think you have to patch kicad's python calls.
* evils
boots debian
smatting has quit [Ping timeout: 258 seconds]
andreas303 has quit [Ping timeout: 240 seconds]
<evils>
__monty__: it's got python 2.7.15 and 3.7.5
<__monty__>
And `python` probably points to 2.7? That's the problem.
<evils>
s/15/17/ and yes
<__monty__>
Unless someone knows of a better way you'll have to patch the sources.
mac10688 has joined #nixos
jakobrs has quit [Quit: leaving]
andreas303 has joined #nixos
<evils>
__monty__: `-DPYTHON_EXECUTABLE={python}/bin/python3` i suppose, __monty__++
<{^_^}>
__monty__'s karma got increased to 10
<__monty__>
evils: That sounds like the right thing to patch, yes. Good luck!
<evils>
can anyone tell me the incantation to get kicad built on my nix desktop to my debian laptop?
o1lo01ol1o has joined #nixos
Henson has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<Henson>
hi everone. I'm trying to start a nix-shell with several different Python packages, and I'm getting a collision between one of the files that is common between two packages. Usually with nix-env I get the option to adjust the priority of one of the packages to resolve the conflict, but that's not happening in this case and I can't figure out how to move forward.
<Henson>
hmm, I think I may have found the solution
fragamus has joined #nixos
dvim has joined #nixos
<Henson>
got it. It was to specify the ignoreCollisions=true in the python27.withPackages function
pepesza has quit [Read error: Connection reset by peer]
<wedens[m]>
how do I install a package from npm that is not in nodePackages? I need a binary
reallymemorable has joined #nixos
<wedens[m]>
perhaps I can use node2nix to somehow generate an expression for "remote" package?
<Shoubit>
wedens[m], do you want to package it yourself or use it in a project, or just use the binary as a user?
<wedens[m]>
Shoubit: I just need to use the binary
<Shoubit>
wedens[m], if the project simply pulls a binary you can probably just copy its URL and make a simple Nix derivation out of it. Otherwise you're gonna be going down the path of node2nix/npm2nix to my knowledge.
<Mic92>
Ah, the webinterface is broken in firefox.
<Mic92>
In chrome it shows a release button at least.
<wedens[m]>
Shoubit: it doesn't provide pre-built binaries. it must be built from source. any ideas how can I use npm2nix with remote source?
<syd>
Is there a way to check if a binary cache is being used correctly?
<syd>
I have a suspicion that it's not
<syd>
and I also don't know why it wouldn't be
<qskwx>
hi guys
<qskwx>
im' trying to do nix-channel --update
<qskwx>
and get this
<qskwx>
error: cannot kill processes for uid '999': failed with exit code 1
<qskwx>
mb you know, what i do wrong?
<qskwx>
exit code 1 = permission denied
ambro718 has joined #nixos
<LnL>
that's a strange uid, does this command include anything other than nixbld*?
<LnL>
getent group nixbld
vidbina has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
<Shoubit>
wedens[m], you can probably import node2nix using fetchFromGitHub and use its functions directly in Nix, though it's not documented so you'll have to read the source (and hope it's flexible enough).
<elux>
im getting the error error: The option value `services.xserver.displayManager.defaultSession' in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/x11/display-managers/default.nix' is not of type `session name'.
<Church->
Stupid question, is the virtual box cli accessible on nixOS? Enabled the virtualbox service but I don't see the corresponding vboxmanage cli util
<MichaelRaskin>
At least if unprivileged client implies no setuid
magnetophon has joined #nixos
<mpickering>
How do people deal with the fact barely any python libraries are packaged in nixpkgs
<ivan>
add packages for them? :-)
duckonomy_ has quit [Quit: z.z]
<MichaelRaskin>
pypi2nix
domogled has joined #nixos
<MichaelRaskin>
As far as I understand, Nixpkgs hs not enough Python packages _but_ also enough for maintenance to be a burden of handling update fragility
<qskwx>
LnL: started nix-daemon, try both as from root and non-root
nyowa has quit [Quit: leaving]
duckonomy has joined #nixos
<mpickering>
Is there a way to stop the python builder building documentation?
nyowa has joined #nixos
mac10688 has quit [Ping timeout: 268 seconds]
<mpickering>
Easier just to clone the source locally and fix it*shrugs*
<Taneb>
(I didn't realise the Python builder did build documentation...)
bvdw has quit [Read error: Connection reset by peer]
ddellacosta has quit [Ping timeout: 265 seconds]
<LnL>
qskwx: I'm no sure, but it's either --privileged or some kind of installation issue
<simpson>
mpickering: FWIW I deal by blaming Python; if only Python were a better language, then surely Python packaging would be easier. Things like PyPI metadata not having everything we need, or setup.py being arbitrarily powerful, these are not our fault.
bvdw has joined #nixos
kleisli has joined #nixos
<syd>
Is there a way to start a service and wait for it to finish
<syd>
and have the same exit code as the service had?
<syd>
I'd like one one service to run two other services, and make sure that that succeeded,
chloekek has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<evanjs>
okay, might not be that... looks like it is being processed as I'd expect, but the new script file isn't making its way to config the xmonad.hs it's supposed to replace stuff in
Yakulu[m] has quit [Quit: killed]
joepie91[m] has quit [Quit: killed]
clacke[m] has quit [Quit: killed]
bikki[m] has quit [Quit: killed]
Ox4A6F has quit [Quit: killed]
worldofpeace has quit [Quit: killed]
shizonic has quit [Quit: killed]
bbigras has quit [Quit: killed]
abbec has quit [Quit: killed]
thequux[m] has quit [Quit: killed]
domenkozar[m] has quit [Quit: killed]
MilkManzJourDadd has quit [Quit: killed]
pheoxy has quit [Quit: killed]
geemili has quit [Quit: killed]
ejpcmac has quit [Quit: killed]
cornu has quit [Quit: killed]
Minijackson[m] has quit [Quit: killed]
manu12[m] has quit [Quit: killed]
hiroshi[m] has quit [Quit: killed]
eddyb has quit [Quit: killed]
manveru[m] has quit [Quit: killed]
Dandellion has quit [Quit: killed]
leons has quit [Quit: killed]
ronny has quit [Quit: killed]
mt[m] has quit [Quit: killed]
seb314[m] has quit [Quit: killed]
nbardiuk has quit [Quit: killed]
ilya-fedin has quit [Quit: killed]
sebass[m] has quit [Quit: killed]
jtojnar has quit [Quit: killed]
NoblesseOblige24 has quit [Quit: killed]
copy` has quit [Quit: killed]
jonge[m] has quit [Quit: killed]
kecia[m] has quit [Quit: killed]
alex[m]10 has quit [Quit: killed]
florianjacob has quit [Quit: killed]
MayeulC_backup has quit [Quit: killed]
schmittlauch[m] has quit [Quit: killed]
ma27[m] has quit [Quit: killed]
nilsirl[m] has quit [Quit: killed]
jschievink has quit [Quit: killed]
offlinehacker has quit [Quit: killed]
zurdo has quit [Quit: killed]
Vskilet has quit [Quit: killed]
luftmensch[m] has quit [Quit: killed]
DenisLehmann[m] has quit [Quit: killed]
haslersn has quit [Quit: killed]
Irenes[m] has quit [Quit: killed]
taserlag[m] has quit [Quit: killed]
gcoakes[m] has quit [Quit: killed]
pentadyne[m] has quit [Quit: killed]
tokudan[m] has quit [Quit: killed]
imj[m] has quit [Quit: killed]
lisprez[m] has quit [Quit: killed]
Brian[m]4 has quit [Quit: killed]
olejorgenb[m] has quit [Quit: killed]
icetan[m] has quit [Quit: killed]
rihardsk[m] has quit [Quit: killed]
eeyun[m] has quit [Quit: killed]
isgy[m] has quit [Quit: killed]
ragge[m] has quit [Quit: killed]
disynthetic[m] has quit [Quit: killed]
JaakkoLuttinen[m has quit [Quit: killed]
attero has quit [Quit: killed]
Ericson2314 has quit [Quit: killed]
danielrf[m] has quit [Quit: killed]
roberth has quit [Quit: killed]
bendlas has quit [Quit: killed]
colemickens has quit [Quit: killed]
mkg20001 has quit [Quit: killed]
frederic_chopwn[ has quit [Quit: killed]
momack2[m] has quit [Quit: killed]
yangm has quit [Quit: killed]
thefloweringash has quit [Quit: killed]
gsals[m] has quit [Quit: killed]
david-sawatzke[m has quit [Quit: killed]
musicmatze has quit [Quit: killed]
ZerataX has quit [Quit: killed]
tails[m] has quit [Quit: killed]
zmlww[m] has quit [Quit: killed]
IslandUsurper has quit [Quit: killed]
octowan[m] has quit [Quit: killed]
Seb[m] has quit [Quit: killed]
slabity has quit [Quit: killed]
regnat[m] has quit [Quit: killed]
keithy[m] has quit [Quit: killed]
vaibhavsagar has quit [Quit: killed]
abbradar[m] has quit [Quit: killed]
Notkea[m] has quit [Quit: killed]
setthemfree[m] has quit [Quit: killed]
rnhmjoj has quit [Quit: killed]
li_matrix has quit [Quit: killed]
harkenedraven has quit [Quit: killed]
hpfr[m] has quit [Quit: killed]
xavierm02 has quit [Quit: killed]
layus[m] has quit [Quit: killed]
arianvp[m] has quit [Quit: killed]
GerdFlaig[m] has quit [Quit: killed]
goldengoof[m] has quit [Quit: killed]
submoo[m] has quit [Quit: killed]
luc65r[m] has quit [Quit: killed]
wildtrees[m] has quit [Quit: killed]
goibhniu has quit [Quit: killed]
wak-work has quit [Quit: killed]
pinage404[m] has quit [Quit: killed]
spacekitteh[m] has quit [Quit: killed]
sylvie[m] has quit [Quit: killed]
malteof[m] has quit [Quit: killed]
bachp has quit [Quit: killed]
mica[m] has quit [Quit: killed]
contrun[m] has quit [Quit: killed]
freerangechicken has quit [Quit: killed]
aterius has quit [Quit: killed]
otini has quit [Quit: killed]
aanderse has quit [Quit: killed]
hagelslag[m] has quit [Quit: killed]
Victor[m]1 has quit [Quit: killed]
clefru has quit [Quit: killed]
sevcsik- has quit [Quit: killed]
blitzclone_ has quit [Quit: killed]
escaP[m] has quit [Quit: killed]
dpc has quit [Quit: killed]
zer0xp[m] has quit [Quit: killed]
Nyanloutre[m] has quit [Quit: killed]
Smith[m] has quit [Quit: killed]
MiloIgnis[m] has quit [Quit: killed]
WillW has quit [Quit: killed]
niksnut[m] has quit [Quit: killed]
mirsal has quit [Quit: killed]
is0x3F has quit [Quit: killed]
arcnmx has quit [Quit: killed]
siraben has quit [Quit: killed]
provessor[m] has quit [Quit: killed]
fgaz has quit [Quit: killed]
ninjatrappeur[m] has quit [Quit: killed]
kirelagin has quit [Quit: killed]
philipp[m]2 has quit [Quit: killed]
MerlinGttlinger[ has quit [Quit: killed]
balsoft has quit [Quit: killed]
marijan[m] has quit [Quit: killed]
marius851000[m] has quit [Quit: killed]
xavierzwirtz[m] has quit [Quit: killed]
pachacuti[m] has quit [Quit: killed]
tobim[m] has quit [Quit: killed]
arsfeld[m] has quit [Quit: killed]
acowley[m] has quit [Quit: killed]
jwaksbaum[m] has quit [Quit: killed]
tbenst[m] has quit [Quit: killed]
psiperator[m] has quit [Quit: killed]
null_radix[m] has quit [Quit: killed]
NickHu has quit [Quit: killed]
rycee has quit [Quit: killed]
yoho[m]1 has quit [Quit: killed]
DanP[m] has quit [Quit: killed]
gaisseml[m]1 has quit [Quit: killed]
kaychaks[m] has quit [Quit: killed]
nh2[m] has quit [Quit: killed]
gaisseml[m] has quit [Quit: killed]
phittacus has quit [Quit: killed]
Sisyphe[m] has quit [Quit: killed]
alienpirate5 has quit [Quit: killed]
icetan has quit [Quit: killed]
bohan[m] has quit [Quit: killed]
ndarwincorn has quit [Quit: killed]
webdavis has quit [Quit: killed]
cr8[m] has quit [Quit: killed]
test5864346[m] has quit [Quit: killed]
the_pumpkin_man[ has quit [Quit: killed]
cyberwolf[m] has quit [Quit: killed]
macerbi[m]1 has quit [Quit: killed]
veleiro has quit [Quit: killed]
bennofs[m] has quit [Quit: killed]
quiet_laika[m] has quit [Quit: killed]
bricewge has quit [Quit: killed]
rendeko[m] has quit [Quit: killed]
tsrt^ has quit [Max SendQ exceeded]
zummed[m] has quit [Quit: killed]
LinuXit has quit [Quit: killed]
abbafei[m] has quit [Quit: killed]
HappyEnt[m] has quit [Quit: killed]
wedens[m] has quit [Quit: killed]
deadvader[m] has quit [Quit: killed]
emmanuelrosa[m] has quit [Quit: killed]
tsrt^ has joined #nixos
nyowa has quit [Quit: leaving]
nyowa has joined #nixos
avocadoom has joined #nixos
zupo has joined #nixos
endformationage has joined #nixos
<avocadoom>
Hi, has anybody experience with running a container registry within GitLab on NixOS? I tried running it under the GitLab domain and a separate domain but was not successful either.
<evanjs>
okay... so I've verified that the command is passed into substituteAll and the value is retained in the argument... but for some reason it gets stripped before it's applied to the file :/
<MichaelRaskin>
nixos-rebuild switch will fail without doing any damage (HDD consumption is not considered damage in Nix world) if the build cannotsucceed
<MichaelRaskin>
itsu: BTW, this is a room bridged to IRC, and multiline Matrix messages get converted to pastebin-like links
<MichaelRaskin>
So you might want to give one-line summaries of your questions before the multiline details
<MichaelRaskin>
itsu: Strange. If it was a computer in my comfortable reach, I would probably just start normal GRUB debugging (where exactly it expects the kernel, what ls says)
<zeta_0>
the command: `git pullall --rebase` is not working?
<itsu[m]>
MichaelRaskin: I just started the VM once again it is just back to normal... I assume it was an issue related to virtualbox and not nixos but I don't know what it was and what fixed it as I didn't do anything since it was down... so weird. Anyway, thanks for your help
iori has quit [Remote host closed the connection]
takeda has quit [Ping timeout: 260 seconds]
elux has joined #nixos
pie_ has quit [Ping timeout: 258 seconds]
ixxie has joined #nixos
pie_ has joined #nixos
supermathieu has joined #nixos
mexisme has quit [Ping timeout: 258 seconds]
<supermathieu>
I am trying to set up my first overlay and packages override. I am working on a "simple" overlay that simply bumps watson version. My code is here: https://pastebin.com/VKyky33X
<supermathieu>
When I try to use my overlay I got an error stating that the version variable is undefined, but to me it seems to be defined.
elux has quit [Ping timeout: 265 seconds]
mog has quit [Quit: im quiting!]
vidbina has quit [Ping timeout: 265 seconds]
<rotaerk>
seems absurd to me how much of a pain it is to preview fonts in linux
<MichaelRaskin>
supermathieu: did you mean to put rec so that outer version would be in scope for inherit?
mog has joined #nixos
mexisme has joined #nixos
takeda has joined #nixos
kleisli has joined #nixos
<rycee>
zeta_0: Did you check what's inside `~/.config/git/config`? Did it seem OK?
<supermathieu>
MichaelRaskin:Hmm, I thought that since the original derivation had the rec I didn't have to. I just tried adding the rec keyword after oldAttrs: but didn't work. Where should I put it?
rardiol has quit [Ping timeout: 240 seconds]
<zeta_0>
rycee: thanks for responding, give me one second to check that
<leotaku>
What is the difference between clever's "qemu-user" and "boot.binfmt.emulatedSystems"? Which should I be using?
<rycee>
zeta_0: I'm guessing it needs some extra level of string escaping. Unfortunately it is necessary sometimes :-/
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<supermathieu>
MichaelRaskin:Seems to work, thanks!
Guanin has quit [Ping timeout: 245 seconds]
<Fare>
Back to libinput... I managed to get things working the other day... by (1) restoring the 40-libinput file, that was actually necessary, and (2) removing the multitouch entry, that may (or may not? I didn't double check) interfere, and (3) adding my own manual entry with inputClassSections.
<zeta_0>
rycee: well, alright, i'll try to do a rebuild with that change, i'll let you know if it works or not
<Fare>
That's not how it should work, ideally :-/
<rycee>
zeta_0: That half related. It is the same error but he got it by doing the mistake manually
opthomasprime has left #nixos [#nixos]
kleisli has quit [Ping timeout: 260 seconds]
<Fare>
as for config.boot.vesa, it should be broken in two parts, (1) the ability to specify a vga= mode, and (2) a separate flag for nomodeset.
shabius_ has joined #nixos
<rycee>
zeta_0: Basically, without the ! in the beginning you ended up with running `git git pull --ff-only "$@" && git submodule update --init --recursive`
<Fare>
and the mode in (1) should not be hardwired to 0x317
<rotaerk>
hmm "fontmatrix" is a good solution to previewing fonts...
shabius has quit [Ping timeout: 250 seconds]
<MichaelRaskin>
Fare: maybe with UEFI specifying vga= is no longer popular enough for a special option (one still can add a boot parameter)
<zeta_0>
rycee: oh, ok, it makes sense now, time to do a rebuild, one second
zeta_0 has quit [Quit: rebuilding]
<Fare>
yeah. Removing it would make sense, too.
<Fare>
Leaving as is is just begging for trouble.
<MichaelRaskin>
Well, I guess if you change nothing (and BIOS→UEFI is a pretty large boot-related change!) you kind of want this option to stay where it is. I guess it doesn't gain any new users…
leotaku has quit [Ping timeout: 260 seconds]
zeta_0 has joined #nixos
ambro718 has quit [Ping timeout: 268 seconds]
<zeta_0>
rycee: the git alias `git pullall --rebase` command finally works, thanks for the help
<zeta_0>
rycee++
<{^_^}>
rycee's karma got increased to 22
<rycee>
zeta_0: Glad it worked out. It was more of a Git issue than a HM issue :-)
<zeta_0>
rycee: oh, and it's also these little syntactic differences that i miss
<avocadoom>
Is there anyone who can answer my gitlab question?
<rycee>
avocadoom: Can you repeat the question?
<avocadoom>
rycee: I try to configure GitLab to use a container registry, which runs on the same system, but I cannot find any documentation about this and my previous attempts didn't work out even if they were correct according to the documentation. My question was if someone here has experience with this problem.
ddellacosta has quit [Ping timeout: 260 seconds]
leotaku has joined #nixos
<rycee>
avocadoom: Hmm, yeah I'm not familiar with this :-) I think this is specific enough that you probably will have better luck on the forum: https://discourse.nixos.org/
<rycee>
I'm pretty familiar with gitlab.com but I've never run my own instance.
zeta_0 has quit [Quit: taking a break]
rom35 has joined #nixos
<worldofpeace>
elux: Can you share more on that issue? Exact config? I was highly involved in the process of those commits being written
<worldofpeace>
i.e were you using the deprecated options and it didn't work?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rom35 has quit [Remote host closed the connection]
fusion809 has joined #nixos
zeta_0 has joined #nixos
kaba has joined #nixos
<kaba>
Hi, how can I link opencl libs to a program in nixos?
fendoer has joined #nixos
hlolli has joined #nixos
leotaku has quit [Ping timeout: 240 seconds]
fenedor has quit [Ping timeout: 240 seconds]
litschi has quit [Quit: WeeChat 2.7]
kaba has quit [Remote host closed the connection]
ixxie has quit [Ping timeout: 268 seconds]
brnzz has quit [Quit: Ping timeout (120 seconds)]
brnzz has joined #nixos
<hlolli>
unrelated question. I was updating nixos-dev, and I noticed that my i3wm has started to full-screen (mod+f) chrome and chromium to the point that I can't see the address-bar/tabs anymore. Any i3 users that experienced it too, and have a solution?
ixxie has joined #nixos
tilpner_ has joined #nixos
<Fare>
MichaelRaskin, at the very least, I'd add a big caveat making this option deprecated, explaining the consequences, and how to reproduce the effects with explicit boot parameters.
supermathieu has quit [Remote host closed the connection]
tilpner has quit [Ping timeout: 268 seconds]
jgeerds has joined #nixos
<MichaelRaskin>
I guess explaining the consequences needs understanding them!
ixxie has quit [Ping timeout: 265 seconds]
gustavderdrache has quit [Quit: Leaving.]
litschi has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
ddellacosta has joined #nixos
smatting has quit [Ping timeout: 260 seconds]
<Fare>
Maybe I should submit a documentation update...
<Fare>
what is the recommended way to specify kernel boot parameters? boot.kernelParams ?
buckley310 has joined #nixos
ivegotasthma has joined #nixos
buckley310 has quit [Client Quit]
<Fare>
I don't understand how the kernelParams are merged --- where is it specified that they are all concatenated together?
<Fare>
does mkOption = { type = types.listOf types.str; ... } do that??? (in nixos/modules/system/boot/kernel.nix)
<MichaelRaskin>
It's an option with the module system type list using default merge logic which is concatenation
kvda has joined #nixos
<MichaelRaskin>
Ah, it is string, not list. Still, defaults to concatenation
buckley310 has joined #nixos
<Fare>
so the type = specifies not just the type, but also the merging algorithm?
<MichaelRaskin>
Well, it is considered a part of the type
zeta_0 has joined #nixos
<gchristensen>
btw I'm asking Freenode to preemptively put Sigyn in here, due to some spam activity in other channels
<Fare>
is it always the + operator, or is it sometimes something else?
e has joined #nixos
<MichaelRaskin>
Obviously, for attrsets it is not + (it is undefined for attrsets)
Sigyn has joined #nixos
<gchristensen>
thank you, e
Sigyn has left #nixos ["Leaving the channel. /invite Sigyn #nixos again if needed"]
* e
looks at sigyn blankly
Sigyn has joined #nixos
leotaku has joined #nixos
<MichaelRaskin>
Fare: wrong channel, and closer to deepMerge
zeta_0 has quit [Quit: `]
<Fare>
is that the makeExtensible thing in lib/fixed-points.nix ?
zeta_0 has joined #nixos
<MichaelRaskin>
lib/modules.nix and specifically for types lib/types.nix
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zeta_0>
is there a nix pkg that comes with sounds? i need some to setup an irc sound notifier?
<Fare>
I've been kind of reimplementing the Nix object system in Scheme, and that's one thing I haven't done yet, because I don't understand exactly where this merge function is called.
<Fare>
is the merge function associated to the value in the "bottom" object of the prototype, and then propagated at combined prototype?
<Fare>
or associated to a descriptor separate from the object being computed?
litschi has quit [Ping timeout: 268 seconds]
leotaku_ has joined #nixos
<das_j>
"the string … is not allowed to refer to a store path". Is there anything I can do to ignore this constraint?
leotaku has quit [Ping timeout: 268 seconds]
kvda has joined #nixos
smatting has quit [Ping timeout: 260 seconds]
<simpson>
das_j: What are you trying to craft? If you're running into this constraint, then you're probably either trying to do something like IFD, or something that runs around Nix's isolation model.
<simpson>
,ifd
<{^_^}>
import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is sometimes problematic because it requires evaluating some, building some, and then evaluating the build result. It has been described as "such a nice footgun."
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<das_j>
yeah, an IFD is exactly what I want here…
<das_j>
I'm trying to evaluate the nixos manual (which works), and parse the resulting JSON (which does not work) in nix eval
dbmikus has quit [Ping timeout: 265 seconds]
zeta_0 has joined #nixos
drakonis has quit [Quit: WeeChat 2.6]
mq32 has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
<das_j>
oh so do I need to disable the restricted mode?
bvdw has joined #nixos
softinio has joined #nixos
Fare has quit [Ping timeout: 268 seconds]
philr has joined #nixos
softinio has quit [Client Quit]
chloekek has quit [Ping timeout: 258 seconds]
afics has joined #nixos
<cap_sensitive>
Hi all. Currently I have an overlay in my darwin_configuration.nix to override some properties of neovim so that the neovim creates symblinks to vi and vim. I'm trying to make this more general: https://github.com/capsensitive/nix-config
litschi has joined #nixos
<cap_sensitive>
I'm stuck at super.neovim.override. That seems to only take a set, not a path. Is there anyway to make that behaves like callPackage?
__monty__ has quit [Quit: leaving]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Fare has joined #nixos
selfsymmetric-mu has quit [Ping timeout: 268 seconds]