worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
<infinisil> syd: Oh, use the .system attribute of the evaluation
<syd> hm, then why does it work with `-A`?
<infinisil> `import <nixpkgs> {}` isn't a derivation itself, but a bunch of attributes already, one of which is `system`, the actual system derivation
<infinisil> nix-build probably only looks for derivations one level deep
<syd> aha!
<syd> what you suggested works :)
<infinisil> :D
<syd> what other attributes are there over there?
<syd> that seems like an interesting attrset
<infinisil> .config for config values, .options for all options, .pkgs for the pkgs set and some more
<syd> ok cool thanks
<syd> running out of disk space
<syd> yeah looks like this is right :P
<infinisil> .system is also just a shorthand for .config.system.build.toplevel
vika_nezrimaya has quit [Read error: Connection reset by peer]
<syd> oh xD
<infinisil> (and all of .config.* are a shorthand to .options.*.value)
vika_nezrimaya has joined #nixos
is_null has quit [Ping timeout: 258 seconds]
<rotaerk> huh. i switched back to modesetting and bumblebee, but i disabled automatically starting X
<rotaerk> after booting into the shell, i ran lspci
<rotaerk> and that froze the system
<rotaerk> can't even switch to another tty
<infinisil> I sure am glad we can rollback in NixOS!
<rotaerk> yeah
rardiol has quit [Quit: No Ping reply in 180 seconds.]
rardiol has joined #nixos
<rotaerk> ugh
delli3_ has joined #nixos
mbrgm_ has joined #nixos
m0rphism has quit [Ping timeout: 260 seconds]
syd has quit [Remote host closed the connection]
delli3 has quit [Ping timeout: 265 seconds]
<rotaerk> this might explain the random crashes i get with nouveau as well as the bumblebee problem
Rusty1 has quit [Remote host closed the connection]
mbrgm has quit [Ping timeout: 265 seconds]
mbrgm_ is now known as mbrgm
<BugeyeD> Baughn: thanks for the recommendation. it's now on my to-do list ... are you self-hosting?
<Baughn> Nah. It should be easy enough, but I'm happy to pay for good software.
magnetophon has quit [Remote host closed the connection]
<BugeyeD> hi all. how does one go about getting home-manager to manage shell environment (eg. export EDITOR=vim)? aside from using actual dotfiles.
<BugeyeD> the docs contains a "do this if you don't want home-manager to manage your environment" but i can't seem to get it working properly.
<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> Has anyone ever encountered this?
<notgne2> duairc: in the absence of clever we have IRC logs https://logs.nix.samueldr.com/nixos/2018-05-10#1195494;
<notgne2> maybe that will help
<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]
h0m1 has joined #nixos
jluttine has joined #nixos
bhipple has quit [Ping timeout: 265 seconds]
vonfry has joined #nixos
bhipple has joined #nixos
<jbetz> anyone tried getting a linode running nixos? there's actually documentation on the linode website (https://www.linode.com/docs/tools-reference/custom-kernels-distros/install-nixos-on-linode/), which seems to work, except that my linode doesn't have internet access
<infinisil> Your server doesn't have internet??
<ivan> maybe jbetz means the internet is broken on the installed nixos
<infinisil> Ah that would make more sense
<jbetz> yes, that's what I meant
<jbetz> it had internet access during installation, so I don't think it's a linode issue
<ivan> jbetz: does linode do DHCP? what's your nixos configuration?
<jbetz> ivan: it does not, the instructions explicitly said to disable it
<ivan> did you have a networking.interfaces.eth0.ipv4.addresses = [ ... ] and networking.defaultGateway?
<ivan> check ifconfig to confirm it's actually eth0
<jbetz> I did not. the only other network change I made was just opening up some tcp firewall ports.
<jbetz> and hmm, ifconfig just returns `lo`
<ivan> ah maybe you are missing an ethernet module or firmware
<ivan> hardware.enableAllFirmware = true;
<ivan> imports = [ <nixpkgs/nixos/modules/profiles/qemu-guest.nix> ]
tpham1 has joined #nixos
tpham has quit [Remote host closed the connection]
vonfry has quit [Remote host closed the connection]
tpham1 has left #nixos [#nixos]
<ivan> check journalctl -b to see if there's a hint
tpham1 has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
<jbetz> hmm, nothing that stands out, other than some stuff about missing `etc/netgroup`
<jbetz> anything in particular to look for?
<ivan> if there are no complaints about some ethernet failing to load, you are probably missing a module
<ivan> importing <nixpkgs/nixos/modules/profiles/qemu-guest.nix> will bring that in
jmeredith has quit [Quit: Connection closed for inactivity]
<jbetz> thanks, I'll try reinstalling with that
<evils> i'm having an issue with kicad not finding its own icons for the filechooser, any suggestions?
Guest30294 is now known as shapr
shapr has joined #nixos
shapr has quit [Changing host]
kvda has joined #nixos
kvda has joined #nixos
kvda has quit [Changing host]
<evils> i also have no idea how a menu would find the app's icon (dmenu user here, i don't feel like setting up a DM to test if that even works...)
kvda has quit [Client Quit]
kvda has joined #nixos
day|flip has joined #nixos
gustavderdrache has joined #nixos
day|flip has quit [Quit: Using Circe, the loveliest of all IRC clients]
<tbenst[m]> anyone have a non-trivial nixops hydra config they can share? Is the one used for hydra.nixos.org posted somewhere?
<samueldr> I can't help with it, but it *is* posted somewhere :)
<tbenst[m]> ah thanks samueldr . Hm I wonder how they avoid using `allowed-uris`
<samueldr> hm?
<samueldr> though I say "hm?" my hydra knowledge is limited so I'm not sure I can help
<tbenst[m]> I'm trying to run the `hello-world` of hydra and already hitting issues: https://github.com/tbenst/hydra-example/blob/master/release.nix
<tbenst[m]> I'm using simle-hydra: https://github.com/ElvishJerricco/simple-hydra
<tbenst[m]> but `pkgs = (import <nixpkgs> {});` fails as nixpkgs is not copied to nixops deploy
<tbenst[m]> so I tried using `fetchTarball` instead, but ran into https://github.com/NixOS/nix/issues/1888
<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
Henson has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
thomashoneyman has joined #nixos
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...
nixy37 has quit [Quit: The Lounge - https://thelounge.chat]
nixy37 has joined #nixos
<rotaerk> also causes lspci to stop hanging ...
<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]
felixfoertsch has joined #nixos
rardiol has quit [Ping timeout: 265 seconds]
Acou_Bass has quit [Quit: ZNC 1.7.4 - https://znc.in]
marcusr has joined #nixos
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'?
mac10688 has quit [Ping timeout: 240 seconds]
<cap_sensitive> How do I translate the buildInput into a valid overlay?
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thomashoneyman has quit [Ping timeout: 260 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justanotheruser has quit [Ping timeout: 268 seconds]
<rotaerk> lovesegfault, nVidia GeForce GTX 1650 (it's https://store.hp.com/us/en/pdp/hp-spectre-x360-laptop-15t-touch-5kc45av-1)
kleisli has quit [Ping timeout: 240 seconds]
<notgne2> cap_sensitive: https://gist.github.com/notgne2/76046448a6c0df6377f3df4f9a9b8227 are you looking for something like this?
<notgne2> (untested, but the basic idea is there)
<cap_sensitive> notgne2: Yes
<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?)
Havvy has quit [Ping timeout: 265 seconds]
<notgne2> cap_sensitive: https://gist.github.com/notgne2/a1a6f033edb6be265627a2f4c7696810 you could try this actually
<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
<tpham1> How can I override the glibc version?
<notgne2> cap_sensitive: at last I think this one works https://gist.github.com/notgne2/25ae989333e83b17a401741eb4fed487
<cap_sensitive> notgne2: /url 1
<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> https://github.com/NixOS/nixpkgs/issues/50329 this is probably a step in the direction of figuring it out
day|flip has joined #nixos
<notgne2> tpham1: https://gist.github.com/notgne2/41abc14c53bac7426c3633216cc92d25 something like this perhaps
_daveyjones has quit [Quit: WeeChat 2.6]
<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)
sb0 has joined #nixos
is_null has joined #nixos
<tpham1> Can you give me the link. https://gist.github.com/notgne2/41abc14c53bac7426c3633216cc92d25 is not work
day|flip has quit [Remote host closed the connection]
day|flip has joined #nixos
day|flip has quit [Quit: Using Circe, the loveliest of all IRC clients]
day|flip has joined #nixos
leotaku has joined #nixos
lambda-11235 has quit [Read error: Connection reset by peer]
pie_ has quit [Ping timeout: 260 seconds]
day|flip has quit [Quit: Using Circe, the loveliest of all IRC clients]
zaeph has joined #nixos
day|flip has joined #nixos
thomashoneyman has quit [Quit: Lost terminal]
bhipple has quit [Remote host closed the connection]
Makaveli7 has joined #nixos
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
lord| has joined #nixos
zarel has quit [Ping timeout: 258 seconds]
zarel has joined #nixos
mexisme has quit [Ping timeout: 258 seconds]
thc202 has joined #nixos
mexisme has joined #nixos
jgeerds has joined #nixos
chloekek has joined #nixos
smatting has joined #nixos
<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> nix-repl> lib.getName "cudatoolkit-10.1.243"
<clever> "cudatoolkit"
<clever> tbenst[m]: theres the problem
<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
day|flip has joined #nixos
<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]
<yorick> thanks!
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!
<__monty__> clever: Counterpoint: https://www.ferryhalim.com/orisinal/
<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
<clever> the_pumpkin_man[: `nixos-rebuild boot --install-bootloader`
<clever> and then check if the timestamps changed again
<juhe> MichaelRaskin: the mozilla-plugins/flashplayer/default.nix uses fetchurl
<juhe> Need to check with nix-repl...
<clever> juhe: try nix-store --add-fixed sha256 flash_player_npapi_linux.x86_64.tar.gz ?
<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]
cosimone has quit [Quit: Quit.]
Chiliparrot has joined #nixos
leotaku has quit [Quit: ZNC 1.7.4 - https://znc.in]
ksixty has joined #nixos
magneticduck has joined #nixos
domogled has joined #nixos
leotaku has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.7]
vidbina has quit [Ping timeout: 260 seconds]
veske has joined #nixos
<evanjs> Any advice on debugging `writing to file: Operation not permitted` on `nixos-rebuild switch`?
<clever> evanjs: did you run it as root?
<evanjs> clever: via the installer image, yep
<evanjs> I should not this is inside `nixos-enter`, if that matters
<gchristensen> is there a way to `systemctl start` a service and tell it to ignore the timeout?
<evanjs> s/not/note/
<gchristensen> my postres server won't start because it has to recover a lot from the WAL, and that is taking a long time
<clever> evanjs: switch will never work inside nixos-enter, you want boot
<evanjs> clever: figured as much. Thank you! I’ll try that
<clever> gchristensen: in cases like that, i would just manually execute it, under `sudo -u foo`
<evanjs> Should’ve paid more attention to the systemd as init system bit
<gchristensen> aye :/
<gchristensen> not so easy with postgres it seems
<evanjs> clever: so uh... next step if boot doesn’t work?
afics has quit [Ping timeout: 245 seconds]
leotaku has quit [Quit: ZNC 1.7.4 - https://znc.in]
<niksnut> gchristensen: put a different timeout in /run/systemd/system?
<gchristensen> hmm yeah that could work
<gchristensen> thanks, niksnut
dm9 has joined #nixos
<clever> evanjs: how is it supposed to be booting? efi? legacy?
<evanjs> clever: EFI
leotaku has joined #nixos
<clever> evanjs: try `nixos-rebuild boot --install-bootloader` ?
veske has quit [Quit: This computer has gone to sleep]
<evanjs> Still get “Operation not permitted”
<evanjs> writing to file
<clever> evanjs: which file?
<evanjs> 🤷‍♂️
<clever> evanjs: `strace -o logfile -f nixos-rebuild boot --install-bootloader` then `grep EPERM logfile` ?
o1lo01ol1o has quit [Remote host closed the connection]
<evanjs> Oooo lemme try that
<evanjs> Hrm. Anything to check aside from EPERM? Not seeing any.
<clever> evanjs: can you pastebin more output?
<evanjs> clever: just the strace?
<clever> evanjs: both would help
<evanjs> Not much aside from that. Unless just what expressions will be built helps
<evanjs> `--show-trace` doesn’t seem to change that haha
Rusty1 has joined #nixos
mexisme has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
<evanjs> clever: normal output -- https://pastebin.com/ZS5vCV7e
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<evanjs> clever: strace - https://pastebin.com/UyWwWVGk
fintohaps has left #nixos [#nixos]
<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.
{^_^} has joined #nixos
<evils> evils++
<{^_^}> evils's karma got decreased to 1
<gchristensen> ,botsnack
<{^_^}> Oh thanks, have a cookie yourself
<evils> that's not right, i used to have more
<{^_^}> #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.
<evils> __monty__: it's kicad
<__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__: check it for what?
<evils> __monty__: here's the entirety of my latest, https://hastebin.com/ugacizulax.bash
<__monty__> For whether the python path's set properly.
<__monty__> Hmm, that looks fine.
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/eeaf1f702d4 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<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], you probably just want to do this then https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md
<wedens[m]> I'd prefer to install it declaratively
<Mic92> When I try to print to a printer shared via cups, it says for my document: Held for authentication. This is the server: https://github.com/Mic92/dotfiles/blob/master/nixos/vms/matchbox/modules/cups.nix This is the client: https://github.com/Mic92/dotfiles/blob/master/nixos/configuration.nix#L224
<Mic92> Any ideas, what I do wrong?
<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?
jonafato has quit [Quit: ZNC - http://znc.in]
jonafato has joined #nixos
ddellacosta has joined #nixos
jgeerds has quit [Ping timeout: 260 seconds]
rardiol has joined #nixos
syd has joined #nixos
qskwx has joined #nixos
<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).
<qskwx> LnL: sorry, what does getent mean?
<qskwx> cat /etc/passwd shows
<qskwx> nixbld1:x:999:1001::/var/empty/:/usr/sbin/nologin
eacameron has joined #nixos
reallymemorable has joined #nixos
<LnL> hm ok, so I guess this is a manually configured system?
horner has joined #nixos
<evanjs> Hrm. Any ideas why a service ExecStart might work when manually invoked but not via the service itself?
<evanjs> e.g. /nix/store/hmpfpcz7xq4rv8pdfdi5c18n66mfanzr-xmobar-0.30/bin/xmobar /nix/store/4c5z8zas6v0jlb0mfgm2m8hcwfgcb8pk-xmobar-config works
<qskwx> this is docker image
<evanjs> but systemctl start xmobar --user starts xmobar without the provided config file
<LnL> qskwx: aha, is sandboxing enabled? nix show-config | grep 'sandbox ='
<LnL> qskwx: sandboxing will only work in a privileged container
<elux> anyone else having issues with their nix config after this commit? https://github.com/NixOS/nixpkgs/commit/8dc5ff7dcfd1c58c32004ffae25e6d31ed83d86c
<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
<evanjs> Church-: you're trying VBoxManage, right? (vs vboxmanage)
<Church-> Sigh
<elux> yet, i dont even set services.xserver.displayManager manually, other then setting displayerManager.startx.enable = true;
<Church-> Thanks
<evanjs> :D
<evanjs> zsh has spoiled me but yeah np
<Church-> Yeah need to get zfs set up next
<Church-> Which should be interesting...
Chiliparrot has joined #nixos
<Church-> Gonna be running it on a USB disk shelf. Wonder how fast it'll fail :D
<qskwx> LnL: sandbox = false
<eacameron> builtins.fetchGit shares all git blobs between repos, right?
<eacameron> This has caused massive slowdown in the past.
<eacameron> Does anyone know if this has been changed? And if not, is there a way for me to manually blow away the "blob cache" that it's using?
<fyuuri> Hi. During the bootprocess I am asked to give the root password for maintenance. However, I deactiveated root login. What can I do?
<LnL> qskwx: ok weird, and what user does the daemon or client run as?
<infinisil> fyuuri: You can reboot, change the grub entry to use `init=/bin/sh`, then change the root password
<infinisil> I believe
<fyuuri> infinisil: thx! Why do I sometime have to perform fsck by hand?
<infinisil> I have no idea about fsck
sb0 has quit [Quit: Leaving]
<keithy[m]> hi I am going throug the pills, and my .profile has not been set
<keithy[m]> should it be on nixos?
drakonis has joined #nixos
<the_pumpkin_man[> Also look at your .bash_profile or .zsh_profile
<the_pumpkin_man[> If you are using bash or zsh
<keithy[m]> I havent got either
<keithy[m]> its basically a fresh install of nixos
<the_pumpkin_man[> Oh you are on NixOS
<keithy[m]> there is nix specific stuff in /etc/profile but the pills docs mention other things that arent there
<the_pumpkin_man[> Then yes dont care
<keithy[m]> ok thx
<fyuuri> infinisil: i can boot into sh, but I cannot even start passwd...
<infinisil> fyuuri: Try calling it directly from /nix/store/...
chloekek has quit [Quit: WeeChat 2.6]
<fyuuri> inifisil: there are like 6k entries... and I cannot call grep or ag
jakobrs has joined #nixos
takeda has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
lukash_ is now known as lukash_|away
vidbina has quit [Ping timeout: 260 seconds]
<qskwx> LnL: in a container i'm running nix-channel as root
<qskwx> LnL: but installed nix as a non-priviledged user
vidbina has joined #nixos
psyanticy has joined #nixos
<qskwx> same thing when running as usual user
erasmas has joined #nixos
<infinisil> fyuuri: Maybe `echo /nix/store/*/bin/passwd`
philr has quit [Ping timeout: 265 seconds]
<Church-> Hmm, oh vbox errors
<Church-> How I haven't missed you
<fyuuri> infinisil: ^^ sry. Thank you.
<LnL> qskwx: you can't combine build user separation and unprivileged client without the nix-daemon
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e298a63fdc1 (from 51 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<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…]
jakobrs has quit [Quit: leaving]
<evanjs> Is there any reason that a command (with args/spaces) might get have them stripped when being processed by https://github.com/Infinisil/system/blob/master/config/new-modules/scripts.nix?
horner has quit [Quit: zzZzZzZzZZZzzz…]
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 :/
boxscape has joined #nixos
opthomasprime has joined #nixos
cosimone has quit [Quit: Quit.]
mexisme has joined #nixos
cosimone has joined #nixos
syd has quit [Remote host closed the connection]
zeta_0 has joined #nixos
<zeta_0> i am trying to add a git alias in home.nix, but i am getting an error when i try to rebuild? https://hastebin.com/ugabokegad.php https://hastebin.com/otuvoruwuz.rb
<evils> __monty__: no luck on debian with the python executable's path passed to cmake, gn
vidbina has quit [Ping timeout: 258 seconds]
<__monty__> evils: Too bad, nn.
<__monty__> evils: Maybe there's a literal path somewhere in the codebase that's being used instead?
<zeta_0> could you guys take a quick look at my problem, i think "$@" is causing the error?
<lassulus> zeta_0: you can do ''git pull --ff-only "$@" && git submodule update --init --recursive''
<lassulus> ;
<lassulus> or escape the inner " with \"
dvim has quit [Quit: Connection closed for inactivity]
<zeta_0> lassulus: i am not sure what you mean by the 2nd option?
<lassulus> pullall = "git pull --ff-only \"$@\" && git submodule update --init --recursive";
reanimus has quit [Quit: Logging off...]
<zeta_0> lassulus: cool, thanks for the help, i am going to do a quick rebuild to see if it works
elux has quit [Ping timeout: 240 seconds]
wysp3r[m] has joined #nixos
magneticduck has quit [Quit: Leaving]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
mexisme has quit [Ping timeout: 248 seconds]
sigmundv_ has joined #nixos
smatting has joined #nixos
zeta_0 has joined #nixos
<zeta_0> lassulus: the 2nd option didn't work:
<zeta_0> [zeta@nixos:/ghc]$ git pullall --rebase
<zeta_0> expansion of alias 'pullall' failed; 'git' is not a git command
dbmikus has joined #nixos
<lassulus> Huh. What does alias pullall say?
<zeta_0> lassulus: `alias pullall` didn't return anything, i did this in eshell so maybe it will work in a regular terminal?
sigmundv_ has quit [Ping timeout: 260 seconds]
<lassulus> Good question. you can try
<rotaerk> how do you know if Xft is available in linux, also once it is, how do you see what fonts are available and what they look like
wildtrees has joined #nixos
<zeta_0> lassulus: i asked this question in #emacs, so i am just waiting for a response from them
<rotaerk> can't find anything about it expect what the format of an Xft pattern is
rardiol has quit [Ping timeout: 260 seconds]
hanemile5 has joined #nixos
<gustavderdrache> https://freedesktop.org/wiki/Software/Xft/ looks like the answers are 1) yes and 2) you can probably just rely on fontconfig nowadays
thefloweringash has joined #nixos
imj[m] has joined #nixos
keithy[m] has joined #nixos
wnklmnn[m] has joined #nixos
Sisyphe[m] has joined #nixos
mica[m] has joined #nixos
icetan[m] has joined #nixos
clacke[m] has joined #nixos
fgaz has joined #nixos
webdavis has joined #nixos
WillW has joined #nixos
acowley[m] has joined #nixos
setthemfree[m] has joined #nixos
emmanuelrosa[m] has joined #nixos
wedens[m] has joined #nixos
Vskilet has joined #nixos
goibhniu has joined #nixos
Thinkofname[m] has joined #nixos
is0x3F has joined #nixos
bendlas has joined #nixos
Minijackson[m] has joined #nixos
vaibhavsagar has joined #nixos
pinage404[m] has joined #nixos
alexarice[m] has joined #nixos
danielrf[m] has joined #nixos
mirsal has joined #nixos
ejpcmac has joined #nixos
dtz has joined #nixos
yangm has joined #nixos
domenkozar[m] has joined #nixos
hpfr[m] has joined #nixos
Ericson2314 has joined #nixos
blitzclone_ has joined #nixos
mkg20001 has joined #nixos
macerbi[m] has joined #nixos
zer0xp[m] has joined #nixos
spacekitteh[m] has joined #nixos
sevcsik- has joined #nixos
slabity has joined #nixos
florianjacob has joined #nixos
tails[m] has joined #nixos
ninjatrappeur[m] has joined #nixos
musicmatze has joined #nixos
joepie91[m] has joined #nixos
abbradar[m] has joined #nixos
icetan has joined #nixos
abbafei[m] has joined #nixos
Notkea[m] has joined #nixos
momack2[m] has joined #nixos
test5864346[m] has joined #nixos
aanderse has joined #nixos
yoho[m]1 has joined #nixos
sebass[m] has joined #nixos
bbigras has joined #nixos
abbec has joined #nixos
Ox4A6F has joined #nixos
DenisLehmann[m] has joined #nixos
MarkOtaris has joined #nixos
bachp has joined #nixos
phyfey[m] has joined #nixos
clefru has joined #nixos
offlinehacker has joined #nixos
freerangechicken has joined #nixos
colemickens has joined #nixos
kecia[m] has joined #nixos
tobim[m] has joined #nixos
zurdo has joined #nixos
LinuXit has joined #nixos
worldofpeace has joined #nixos
ndarwincorn has joined #nixos
NickHu has joined #nixos
ronny has joined #nixos
harkenedraven has joined #nixos
MiloIgnis[m] has joined #nixos
eddyb has joined #nixos
mt[m] has joined #nixos
pingveno[m] has joined #nixos
dywedir[m] has joined #nixos
zmlww[m] has joined #nixos
octowan[m] has joined #nixos
sylvie[m] has joined #nixos
frederic_chopwn[ has joined #nixos
dpc has joined #nixos
malteof[m] has joined #nixos
lel[m] has joined #nixos
jschievink has joined #nixos
jonge[m] has joined #nixos
thequux[m] has joined #nixos
marijan[m] has joined #nixos
wildtrees[m] has joined #nixos
wak-work has joined #nixos
balsoft has joined #nixos
kirelagin has joined #nixos
rnhmjoj has joined #nixos
rihardsk[m] has joined #nixos
NoblesseOblige24 has joined #nixos
alex[m]9 has joined #nixos
manu12[m] has joined #nixos
siraben has joined #nixos
disynthetic[m] has joined #nixos
cyberwolf[m] has joined #nixos
arianvp[m] has joined #nixos
schmittlauch[m] has joined #nixos
craige[m] has joined #nixos
seb314[m] has joined #nixos
ma27[m] has joined #nixos
l33[m] has joined #nixos
copy` has joined #nixos
haslersn has joined #nixos
the_pumpkin_man[ has joined #nixos
HappyEnt[m] has joined #nixos
contrun[m] has joined #nixos
MilkManzJourDadd has joined #nixos
gaisseml[m]1 has joined #nixos
hagelslag[m] has joined #nixos
Seb[m] has joined #nixos
kaychaks[m] has joined #nixos
Dandellion has joined #nixos
Noughtmare[m] has joined #nixos
goldengoof[m] has joined #nixos
luftmensch[m] has joined #nixos
leons has joined #nixos
flacks has joined #nixos
nilsirl[m] has joined #nixos
hiroshi[m] has joined #nixos
jtojnar has joined #nixos
alienpirate5 has joined #nixos
veleiro has joined #nixos
rycee has joined #nixos
bricewge has joined #nixos
olejorgenb[m] has joined #nixos
tokudan[m] has joined #nixos
EuAndreh[m] has joined #nixos
nbardiuk has joined #nixos
rendeko[m] has joined #nixos
pachacuti[m] has joined #nixos
Nyanloutre[m] has joined #nixos
phittacus has joined #nixos
david-sawatzke[m has joined #nixos
marius851000[m] has joined #nixos
regnat[m] has joined #nixos
otini has joined #nixos
provessor[m] has joined #nixos
DanP[m] has joined #nixos
MayeulC_backup has joined #nixos
pentadyne[m] has joined #nixos
simbergm has joined #nixos
ragge[m] has joined #nixos
cornu has joined #nixos
snupples[m] has joined #nixos
bohan[m] has joined #nixos
jwaksbaum[m] has joined #nixos
cr8[m] has joined #nixos
nh2[m] has joined #nixos
MerlinGttlinger[ has joined #nixos
null_radix[m] has joined #nixos
Victor[m]1 has joined #nixos
roberth has joined #nixos
pheoxy has joined #nixos
gaisseml[m] has joined #nixos
xavierm02 has joined #nixos
philipp[m]2 has joined #nixos
IslandUsurper has joined #nixos
ZerataX has joined #nixos
submoo[m] has joined #nixos
Irenes[m] has joined #nixos
lisprez[m] has joined #nixos
bennofs[m] has joined #nixos
gsals[m] has joined #nixos
ilya-fedin has joined #nixos
geemili has joined #nixos
bikki[m] has joined #nixos
Brian[m]3 has joined #nixos
fpletz[m] has joined #nixos
shizonic has joined #nixos
niksnut[m] has joined #nixos
attero has joined #nixos
isgy[m] has joined #nixos
layus[m] has joined #nixos
JaakkoLuttinen[m has joined #nixos
Smith[m] has joined #nixos
quiet_laika[m] has joined #nixos
Christian[m]1 has joined #nixos
escaP[m] has joined #nixos
GerdFlaig[m] has joined #nixos
li_matrix has joined #nixos
Yakulu[m] has joined #nixos
aterius has joined #nixos
eeyun[m] has joined #nixos
arcnmx has joined #nixos
manveru[m] has joined #nixos
psiperator[m] has joined #nixos
zummed[m] has joined #nixos
tbenst[m] has joined #nixos
arsfeld[m] has joined #nixos
luc65r[m] has joined #nixos
deadvader[m] has joined #nixos
taserlag[m] has joined #nixos
grahamc[m] has joined #nixos
gcoakes[m] has joined #nixos
xavierzwirtz[m] has joined #nixos
<rotaerk> gustavderdrache, I'm under the impression that a linux environment has to be configured to support Xft, so it can't simply be "yes" :P
andreas303 has quit [Ping timeout: 240 seconds]
<rotaerk> as for fontconfig ... how do I look at fonts with it? I'm under the impression that it's just this suite of tools that start with "fc-"
<rotaerk> but I don't see one for actually rendering the font
kleisli has quit [Ping timeout: 260 seconds]
mexisme has joined #nixos
<gustavderdrache> unfortunately we've exhausted my knowledge of X11
<gustavderdrache> there used to be some kind of x11 font browser but i can't for the life of me remember what it's called
<gustavderdrache> =https://www.xfree86.org/4.2.0/xfontsel.1.html
andreas303 has joined #nixos
<rotaerk> think that only works for XLFD
<gustavderdrache> ¯\(°_o)/¯
xelaushi[m] has joined #nixos
ddellacosta has joined #nixos
itsu[m] has joined #nixos
mexisme has quit [Ping timeout: 258 seconds]
mexisme has joined #nixos
<itsu[m]> also, should I always `nixos-rebuild build` before to make sure it compiles safely or can I always `nixos-rebuild switch`
<itsu[m]> * also, should I always `nixos-rebuild build` before to make sure it compiles safely or can I always `nixos-rebuild switch` ?
<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
fragamus has quit [Quit: Textual IRC Client: www.textualapp.com]
<itsu[m]> oups I see... Thank you !
<zeta_0> rycee: i am trying to set a git alias in home.nix, i finally got it to rebuild, but when i run it in terminal, it throws a weird error:
<MichaelRaskin> Did you change anything related to filesystem layout?
<zeta_0> [zeta@nixos:/ghc]$ git pullall --rebase
<zeta_0> expansion of alias 'pullall' failed; 'git' is not a git command
<itsu[m]> <MichaelRaskin "Did you change anything related "> I don't think I did, I think it was just related to user and group management :-S
rardiol has joined #nixos
iori has joined #nixos
<zeta_0> rycee: here is my nix code and the link to the alias that i am trying to set: https://hastebin.com/weyutuvevu.php https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions/git/submodules
Chiliparrot has joined #nixos
vidbina has joined #nixos
elux has joined #nixos
<zeta_0> rycee: do you know what is wrong?
<MichaelRaskin> itsu: hmmm. Did you do nix-collect-garbage? Do you have copyKernels enabled?
Neo-- has quit [Ping timeout: 265 seconds]
psyanticy has quit [Quit: Connection closed for inactivity]
<itsu[m]> MichaelRaskin: I didn't nix-collect-garbage and I don't have enabled copyKernels.
takeda has quit [Ping timeout: 258 seconds]
takeda has joined #nixos
elux has quit [Ping timeout: 240 seconds]
<zeta_0> how do i fix this git alias in home.nix to get it to work correctly?
<zeta_0> pullall = "git pull --ff-only \"$@\" && git submodule update --init --recursive";
<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 :-/
takeda has quit [Ping timeout: 260 seconds]
jonafato has quit [Quit: ZNC - http://znc.in]
jonafato has joined #nixos
erasmas has quit [Quit: leaving]
<MichaelRaskin> supermathieu: right after oldAttrs should work, actually
kaliumxyz has joined #nixos
cantstanya has quit [Ping timeout: 240 seconds]
<zeta_0> '
cantstanya has joined #nixos
eacameron has quit [Quit: Connection closed for inactivity]
is_null has joined #nixos
<zeta_0> rycee: i am trying to implement the instructions from this git pullall section into the git alias section in home.nix https://gitlab.haskell.org/ghc/ghc/wikis/working-conventions/git/submodules
<rycee> I think you need an exclamation point at the beginning of the alias.
<rycee> zeta_0: Yeah, it has a ! at the beginning. You need that for Git to treat the alias as a shell command.
<rycee> Otherwise the alias will be treated as a sub-command of git.
<rycee> So, try `pullall = "!git pull …`
<zeta_0> rycee: do i need to set an alias for git as well like in these instructions that i am looking at? https://jeffkreeftmeijer.com/git-git/
<zeta_0> rycee: or is that for something else?
Fare has joined #nixos
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 :-)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9754ee33e6e (from 81 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<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 [Quit: Colloquy for iPad - http://colloquy.mobi]
rom35 has joined #nixos
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...
smatting has joined #nixos
<gchristensen> Fare: please :D
<Fare> gchristensen, will do.
buckley310 has quit [Quit: The Lounge - https://thelounge.chat]
<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]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
andreas303 has quit [Ping timeout: 240 seconds]
Rovanion has quit [Ping timeout: 268 seconds]
litschi has quit [Ping timeout: 258 seconds]
zaeph has quit [Ping timeout: 245 seconds]
reanimus has joined #nixos
Rovanion has joined #nixos
fendoer has quit [Quit: Leaving]
andreas303 has joined #nixos
kvda has joined #nixos
domogled has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #76293 → zabbix: 3.0.28 -> 3.0.29, 4.0.15 -> 4.0.16, 4.4.3 -> 4.4.4 → https://git.io/JeFo5
<{^_^}> [nixpkgs] @mmahut pushed 4 commits to master: https://git.io/JeFod
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
xkapastel has joined #nixos