<marler8997>
well, if it was flagged by a community member it makes sense
Guest97130 has quit [Read error: Connection reset by peer]
<marler8997>
we should find out who flagged them and ask why they did
<jackdk>
is there a release date for 19.03 yet?
<samueldr>
sphalerite ^
Rusty1 has quit [Quit: Konversation terminated!]
joepie91 has quit [Excess Flood]
<romanofskiWork>
is anyone using nix-shell for Python work? I'm wondering how to install packages in develop mode or what the workflow actually is to make it work
<romanofskiWork>
ah yep I read through it.. it also mentions: 9.11.2.3. Development mode ... and I thought.. huh do I invoke my nix-shell wrong or what am I doing
<romanofskiWork>
I'll have a closer look
<romanofskiWork>
perhaps I messed something up
<romanofskiWork>
cheers!
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
<wolfman154>
How do I change my terminal settings in configuration.nix ? I want to change the font and theme(background color), I am using xmonad so I have no access to the terminal GUI.
<samueldr>
wolfman154: it depends on which terminal you're ending up using
<samueldr>
and not all will have options in configuration.nix
<wolfman154>
samueldr: vconsole.conf is not writable so I am trying to figure how to do this in configuration.nix ?
<christianpoveda>
Ok i was checking the `generators.nix` documentation and i can generate an `.ini` file and then load it using `dconf load`, how can I execute `dconf load` from nix?
<samueldr>
vconsole.conf isn't related to X; though maybe I'm wrong in assuming it was for a terminal running under X in xmonad?
<samueldr>
(and I'm not sure vconsole.conf has anything to do with colour, from what I see)
<infinisil>
christianpoveda: There's no "running code from Nix"
<infinisil>
You can only create script that run code, and maybe include those scripts in the NixOS setup stuff/systemd services
<wolfman154>
samueldr: well I completely removed gnome and gdm, and replaced them with xmonad, terminal has no GUI to change the font and theme?
<infinisil>
wolfman154: Um, what terminal are you using?
<samueldr>
I don't know about xmonad, but I'm pretty sure it doesn't have its own terminal; so it must end up using one, might be xterm, might be urxvt
<samueldr>
then, once figured out, since it's a user setting, there probably won't be anything nixos-specific to configure, if it's one of the two I listed, might be done through Xdefaults
<christianpoveda>
infinisil: where can i read about that?
<infinisil>
christianpoveda: You are using NixOS right?
<christianpoveda>
yes
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil>
Hmm, and you only want to change that .ini file with nixos-rebuilds?
<wolfman154>
infinisil: I think I am using xterm, I am not sure though
<christianpoveda>
infinisil: i guess that would be correct
<infinisil>
christianpoveda: I think you want to go for a systemd user service with `systemd.user.services`, search through nixpkgs (with rg or https://search.nix.gsc.io/) to find examples of it
HappyEnt has quit [Remote host closed the connection]
<infinisil>
I'm afraid I don't know any good explanation of systemd services, and user ones especially
<infinisil>
I live from examples
aplainzetakind has joined #nixos
<christianpoveda>
probably I'm overengineering this? i guess i could just mantain everything in an .ini file and run `dconf load` when i need to update something
romanofskiWork is now known as romanofski
<infinisil>
a systemd user service isn't something big, it's the best way to get a command to run when a file you specify in nixos changes
<infinisil>
I guess you *could* use the very new userActivationScripts, activationScripts are discouraged in general though
<infinisil>
christianpoveda: Oh wait, is your .ini file even managed by NixOS/
<infinisil>
?
<wolfman154>
How do I change my terminal settings in configuration.nix ?
<aplainzetakind>
What could be the reason for `---- oh no! ----\n Sorry, I don't know what to do on Linux` when trying to run the binary installation script?
<infinisil>
wolfman154: So yeah that's probably xterm. I suggest you to switch to a different one, xterm isn't well fit for beginners, other terminals will be easier to configure and have a GUI too.
<christianpoveda>
infinisil: not that i'm aware of, I was thinking on generating the file from nix and then hooking a script with it when rebuilding
<infinisil>
christianpoveda: I see, so this might look something like this: `let iniFile = pkgs.writeText "dconf.ini" "<the contents>"; in { systemd.user.services.dconf-reload.script = "${pkgs.dconf}/bin/dconf load ${iniFile}"; }`
<wolfman154>
infinisil: echo $SHELL tells me I am using bash, I am only using xmonad so the terminal has no GUI and the terminal settings are not writable, how would I change the terminal font and theme in configuration.nix ?
<aplainzetakind>
samueldr: Yes I'm using OpenRC.
<samueldr>
aplainzetakind: (1) I'll PR an updated error message specifically for the init
<samueldr>
aplainzetakind: (2) AFAIK multi user installs using the script are only supported under systemd
<samueldr>
(by lack of contributors mainly)
<infinisil>
wolfman154: So you decided on using the really hard-to-configure and outdated urxvt instead of a simpler, newer terminal?
<samueldr>
aplainzetakind: I mean, lack of contributors using a distribution using another init system, not lack of contributors at all :)
<infinisil>
wolfman154: Maybe you're not getting something here. xmonad doesn't make you have to use that terminal, you're free to choose any terminal you want! If you're coming from a traditional DE background, this might be a bit confusing
<mehran>
what's different between install a package with root privilege or without it?
<aplainzetakind>
I'm on Gentoo, I actually emerged nix but the user profile symlink was a dead-end and I wasn't confident to manually fix stuff, and since the ebuild was marked as unstable I decided to just unmerge it and do it manually.
rcshm has joined #nixos
<samueldr>
(sorry, I'm not and wasn't a Gentoo user, can't really be of help with specifics, if any)
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<ToxicFrog>
mehran: without installs it for just you, as root installs it for everyone
<infinisil>
wolfman154: You could for example give terminator a go with `nix-shell -p terminator --run terminator`, this has a GUI you can use to configure
Notkea has quit [Read error: Connection reset by peer]
<wolfman154>
infinisil: I am just using the default terminal, should I change terminals or just try to change bashes font and theme in configuration.nix ?
Notkea has joined #nixos
<infinisil>
wolfman154: Change terminals, I think it's better for you
<wolfman154>
infinisil: ok I’ll give it a try, thanks for the tips
<mehran>
what's the root? Is that a user like all other distributions or what?
<wolfman154>
infinisil++
<{^_^}>
infinisil's karma got increased to 66
<ToxicFrog>
mehran: by "the root" do you mean GC roots, or the root user?
<christianpoveda>
infinisil: ohhh ok, that sounds great
<mehran>
ToxicFrog: what's GC roots?
<christianpoveda>
infinisil: i guess i could use a generator to produce the contents of the file?
<infinisil>
mehran: For linux in general there's 2 roots: The root of the filesystem, also known as "/", that's the topmost directory. The root user, this is the user with god mode in Linux, it can do anything. Both of those also exist in NixOS
<mehran>
I just wanna know the Concept of root user. Do we have any root user concept Different from other distributions at all?
<infinisil>
mehran: No, the root user works pretty much the same on NixOS
<gchristensen>
samueldr: still need help?
<christianpoveda>
infinisil: that would apply the configuration systemwide?
<samueldr>
gchristensen: am I misremembering that you have the required privileges to unhide posts?
<gchristensen>
I quite possibly do
<infinisil>
christianpoveda: Well it's configuration.nix, that *defines* the system
<infinisil>
christianpoveda: If you're having trouble I can also get you a working example
<mehran>
infinisil: alright, thank you!
<samueldr>
gchristensen: did you just?
<gchristensen>
samueldr: I think I did
<gchristensen>
how does it look?
<samueldr>
right
<gchristensen>
great
<aanderse>
does anyone else think that nixos tests need a web testing framework integrated right in?
<gchristensen>
oh?
<aanderse>
the web modules like nextcloud, redmine, gitea, etc... they do some basic tests like "does the port listen?"
<aanderse>
but that ain't great
<aanderse>
it would be nice if we had a web testing framework because then you could "drive around" a bit
<aanderse>
make sure that more detailed things actually work
<{^_^}>
[nixpkgs] @Infinisil merged pull request #57836 → nixos/security: make duo support secure failure correctly → https://git.io/fjv2H
<christianpoveda>
infinisil: hahaha ok, I just meant, this is to configure something for a single user
<samueldr>
gchristensen: do you have any other rights than "Leader"? because I do too, and had the Unhide options, but the Ajax request failed with a 403 :/
<christianpoveda>
which in my case is irrelevant because i'm the only user of my laptop
<{^_^}>
[nixpkgs] @Infinisil pushed commit from @reanimus to release-19.03 « nixos/security: make duo support secure failure correctly »: https://git.io/fjUib
<christianpoveda>
but i was just thinking if this just loads that configuration for every single user
sam_d has quit [Ping timeout: 250 seconds]
<samueldr>
aanderse: I bet you can't do it :) [as in, yes please do it, I'm pressuring you and try to prove me wrong!]
<{^_^}>
[nixpkgs] @Infinisil pushed commit from @reanimus to release-18.09 « nixos/security: make duo support secure failure correctly »: https://git.io/fjUiN
<gchristensen>
samueldr: looks like I'm full admin
<samueldr>
gchristensen: that might help :) wondering if hosted discourse are having a bit of an issue
ym555 has joined #nixos
<infinisil>
christianpoveda: Ah yeah, it does, well only the users that actually log in
<slack1256>
On normal systems, the effects of nice-values on process aren't really noticiable, right?
<Irenes>
it depends on what the machine is doing and how closely you're watching
<Irenes>
but loosely, yeah
<Irenes>
in twenty years of trying to use nice-values to speed up things I cared about, I've never been able to convince myself it made a difference
<samueldr>
might help if your nix builds are niced a bit, when doing something like a huge compile
<aplainzetakind>
Is /nix/var/nix/profiles/per-user/$(whoami)/ supposed to be populated after a fresh install, or are there some commands I need to run?
<christianpoveda>
infinisil: is there any way to make it just work under a certain user, like some kind of configuration inside users.users?
<aplainzetakind>
~/.nix-profile is presently a dead link.
<infinisil>
christianpoveda: Lots of people are using this ^
<CMCDragonkai>
When writing a nixos configuration if it is mean to be written generically, what is a good way of generating unique IDs for the hostname or ID config in the os-release?
<marler8997>
It looks like my account is no longer on hold, but all my poasts have still been hidden...
<infinisil>
CMCDragonkai: Generate it outside of Nix and insert it :)
<gchristensen>
:/ looking, marler8997
<christianpoveda>
infinisil: well i'm gonna have a busy night, i'll start reading hahaha thank you for all your help
<infinisil>
CMCDragonkai: Oh, I guess that's not generic
<CMCDragonkai>
infinisil: Are you saying to ask the end-users to update their config?
<CMCDragonkai>
It seems to generate the hostId if the hostId is null.
<samueldr>
discourse's spam protection might be a bit too eager :/ it'd be nice to somewhat lessen them and e.g. whitelist github
<gchristensen>
marler8997: your posts are currently hidden?
<marler8997>
Now that I think about it, it did flag them right as I was trying to reply on a post....so maybe it triggered a retroactive scan of everthing I've posted?
<marler8997>
no it looks like they are there now
<samueldr>
gchristensen: they're the one you apparently unhid
<infinisil>
CMCDragonkai: Nope, that's only when it's *not* null
<marler8997>
it was just the 3 it looks like
<CMCDragonkai>
infinisil: So when it is null, what does hostId become?
romanofski has joined #nixos
<infinisil>
CMCDragonkai: That just generates a different encoding of it
<infinisil>
CMCDragonkai: Nothing, there is none
<infinisil>
And the file /etc/hostid won't exist
<zgrep>
Running nix-channel --list as root gives... nothing. Something makes me think that this is incorrect for a nixos system... am I mistaken?
<infinisil>
CMCDragonkai: I guess you could do `hostId = throw "Generate your host id like this (command) and insert it here"`
<infinisil>
If you really need it to exist
<infinisil>
(I have no idea what host id is used for tbh)
<buckley310>
zgrep, yeah, that should really return something o.o
<zgrep>
Peeking into /nix/var/nix/profiles/per-user/root/channels, there is a nixos directory there. But I'm not well-acquainted enough with nix to know what this means.
<buckley310>
you could always just re-add the correct channel and maybe everything goes back to working. are you on release-18.09?
<zgrep>
Yeah. Brand new install, first boot.
<samueldr>
zgrep: sudo -i nix-channel --list
<samueldr>
(humor me, I'm still unclear if there was or wasn't an issue requiring -i)
<zgrep>
Ah, that does return the correct thing.
<{^_^}>
[nixpkgs] @veprbl pushed 3 commits to release-19.03: https://git.io/fjUPq
<infinisil>
nix-channel, giving us all problems since forever
<buckley310>
weird. "sudo nix-channel --list" works for me
<samueldr>
here I think it's part of how NIX_PATH is set
<samueldr>
but definitely unsure
<infinisil>
buckley310: Are you on Linux and are you on macOS zgrep?
<samueldr>
nixos-rebuild might fail without -i, zgrep have you rebuilt since installing?
<infinisil>
Ah no zgrep said "first boot", so that's probably NixOS
o1lo01ol1o has joined #nixos
<buckley310>
I am on nixos, and i have never used "-i" for my nix operations lol
<buckley310>
except at work where i put Nix on a RHEL box...
<zgrep>
I'm going to assume that it's because nix-channel looks at $HOME for some reason, and therefore -i is needed. In fact, doing `HOME=/root sudo nix-channel --list` works.
<samueldr>
comparing `sudo bash -c 'echo $NIX_PATH'` with `sudo -i bash -c 'echo $NIX_PATH'` might shed some light, if it's related to NIX_PATH
<buckley310>
huh
<{^_^}>
[nixos-homepage] @craigem opened pull request #269 → Added how to update Planet NixOS → https://git.io/fjUP3
ericsagnes has quit [Ping timeout: 255 seconds]
slack1256 has quit [Remote host closed the connection]
<zgrep>
But the latter already exists at the end of my NIX_PATH? :/
slack1256 has joined #nixos
silver has quit [Read error: Connection reset by peer]
<slack1256>
To use chrt as a normal user I need to enable security.rtkit ? the docs aren't clear
<{^_^}>
[nixpkgs] @ajs124 opened pull request #58418 → performous: fix build by using boost 166 → https://git.io/fjUPu
<CMCDragonkai>
infinisil: What is the difference between `hostName` and `hostId` anyway?
<CMCDragonkai>
If `hostName` can be given by DHCP, why not `hostId`?
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjUPz
<samueldr>
CMCDragonkai: >> gethostid() and sethostid() respectively get or set a unique 32-bit identifier for the current machine. The 32-bit identifier is intended to be unique among all UNIX systems in existence. This normally resembles the Internet address for the local machine, as returned by gethostbyname(3), and thus usually never needs to be set.
lopsided98 has quit [Remote host closed the connection]
sigmundv has quit [Ping timeout: 245 seconds]
lopsided98 has joined #nixos
elux has joined #nixos
<elux>
hi there
<elux>
ive recently moved to nixos from arch, and im absolutely loving it. what a magical system
<elux>
im trying however to do a few basic things as i configure my system. First, how do i install a basic gtk2/3 theme with icons? 2. where can i find other cursor themes for X?
<romanofski>
elux: you could use: nix-env -qasP '.*theme.*' to query for all packages with 'theme' in the name
<romanofski>
I couldn't find something specific to cursor themes
<romanofski>
and I think if there is a package you found and want to install it globally, you'd add it in /etc/nixos/configuration.nix (if I'm correct)
<zgrep>
samueldr: I'm confused as to what I should do/say with regards to the possibly (non-)existent issue now. I can't reproduce it, and as best as I can tell NIX_PATH does not seem to have $HOME in it, but rather does the prepending thing (when -i is there, nothing is prepended when -i isn't there).
<samueldr>
zgrep: sorry, no idea either :/
<zgrep>
Yay, heisenbugs!
Glider_IRC__ has joined #nixos
<elux>
thanks romanofski ill try that out -- ive also been using home-manager, does it source from the same pkgs?
Glider_IRC_ has quit [Ping timeout: 255 seconds]
slack1256 has quit [Remote host closed the connection]
elux has quit [Quit: leaving]
aleph- is now known as Case-
<{^_^}>
[nixpkgs] @veprbl merged pull request #58418 → performous: fix build by using boost 166 → https://git.io/fjUPu
<{^_^}>
[nixpkgs] @veprbl pushed commit from @ajs124 to master « performous: fix build by using boost 166 (#58418) »: https://git.io/fjUPS
<{^_^}>
[nixpkgs] @veprbl pushed commit from @ajs124 to release-19.03 « performous: fix build by using boost 166 (#58418) »: https://git.io/fjUPH
<scott>
tilpner: AlexRice[m]: found a weird solution to my proton problems... i had all my games on an NTFS drive, and moving Castle Crashers and The Witness to my root ext4 drive made them work
<scott>
maybe wine or proton don't like NTFS for some reason. seems plausible
<CMCDragonkai>
just installed nixos on a new machine, when rebooting into tty1 the entire screen is flashing
<CMCDragonkai>
what could be the reason for this?
<samueldr>
X failing to start right
<samueldr>
and the display-manager looping to restart it
<CMCDragonkai>
that could be it... i had set 2 defaults, one for windowManager and one for desktopmanager
<samueldr>
CMCDragonkai: new hardware, new as in recent?
<CMCDragonkai>
yep
<samueldr>
possible it's X failing to start due to it being to new
<samueldr>
lately it seems there's been a wave of them :)
<samueldr>
CMCDragonkai: a bunch of those have been pushed from releases to releases (those that are features) so "89 Open" isn't as scary as it sounds
<samueldr>
otherwise, I already run my work (like $$ work) laptop from 19.03 since about two weeks and haven't had anything wrong
<samueldr>
I think 19.03 should be painless with most users
christianpoveda has joined #nixos
jasongrossman has joined #nixos
<CMCDragonkai>
i'm going to try 19.03 from nixpkgs-channels build
<christianpoveda>
is there any tool for package suggestion on nixos?
<Case->
samueldr: So I've come to a realization.
<Case->
We must rewrite Nix to be more like B.
Case- is now known as Church-
<samueldr>
Case-: good thing I saw your nick change earlier aleph-
<samueldr>
or Church-
<Church->
Heheheh
<CMCDragonkai>
samueldr: Should i be using 4.19 or 5.0 kernel for the 19.03 branch?
<Church->
samueldr: Think I was some random nutter otherwise?
<samueldr>
Church-: please elaborate, not sure I know enough about B to know what you mean
<samueldr>
or, Church-, I know I don't know enough about B
<Church->
It's just beautifully terse.
<samueldr>
CMCDragonkai: as you please, 4.19 is the default starting 19.03, but _latest is probably not a bad choice either
<Church->
Writing a C compiler over the next few weeks and I keep going back to B.
<Church->
And I have to stop myself from attempting to write a B compiler or for writing my C compiler in B's style.
<Church->
It'd look like beautiful, beautiful line noise.
<samueldr>
aw, checked something, I had hope stateVersion would still be unused in 19.03, but two packages will rely in it being pre or post 19.03 (syncthing and redmine)
<jasongrossman>
samueldr: I hate stateVersion so much I'm thinking of switching to Windows. Or OS/360.
hmm156 has joined #nixos
<samueldr>
jasongrossman: which is why I checked, didn't want to see you leave :)
<CMCDragonkai>
just a question, nvidia on ryzen7 should still be using vaapiVdpau right?
<{^_^}>
[nixpkgs] @veprbl pushed commit from @andersk to master « imagemagick7Big: Revert meta.broken to false (#58414) »: https://git.io/fjUXB
<jasongrossman>
samueldr: Thank you.
<samueldr>
jasongrossman: (I was kinda being silly here) is there anything specific with stateVersion, other than the name being unwholesome, that warranted the outburst?
<{^_^}>
[nixpkgs] @veprbl pushed commit from @tomfitzhenry to staging-19.03 « adoptopenjdk: Remove libfreetype.so from adoptopenjdk's derivation. (#58412) »: https://git.io/fjUX2
InFlames has joined #nixos
<CMCDragonkai>
for 19.03
<CMCDragonkai>
changing back to 4.19 worked
christianpoveda has quit [Ping timeout: 256 seconds]
hmm156 has quit [Quit: Page closed]
<slack1256>
What do I need to enable to use chrt as a normal user?
<buckley310>
maybe use a security wrapper around chrt with SYS_CAP_NICE?
<romanofski>
hm.. odd.. so I found a shellHook which does a pip install -e in nix packages.. but when I invoke nix-shell it doesn't seem to be executed
<slack1256>
buckley310: That is what I was thinking on doing. Maybe that is avalaible as a config option for nixos?
<romanofski>
I'm missing something simple I suppose without knowing
<jasongrossman>
samueldr: My problem with stateVersion is the amount of confusion it generates, in what's otherwise such an elegant and unconfusing system (once you grok it).
<samueldr>
jasongrossman: good, I was wondering if there was something else, which sounds like "no there isn't" :)
<InFlames>
I am trying to install steam and it seems to have installed well, but when I launch "steam", my touchpad in my dell xps 9560 becomes unresponsive, I actually don't see the cursor anymore either, but the keyboard works semi fine, it too has some odd behavior
<jasongrossman>
samueldr: Right.
<slack1256>
buckley310: Thank you, I needed that hint. You are really helpful
<slack1256>
buckley310++
<{^_^}>
buckley310's karma got increased to 1
<buckley310>
:D!
<CMCDragonkai>
4.19 kernel with 23fd1394dc6 worked
<infinisil>
jasongrossman: Weeeelll, there's lots of ugly corners of nixpkgs/NixOS
<CMCDragonkai>
however i hit another strange problem... i logged into the root user, and then created another user, and then after rebooting, i could no longer relogin into root.. how weird!
<infinisil>
jasongrossman: (in response to "in what's otherwise such an elegant and unconfusing system")
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
<jasongrossman>
infinisil: I knew I was going to have to expand what I said! I meant for many users, not for power users / developers. And even so maybe I was wrong, but I was close enough to right to explain my annoyance with stateVersion.
slyfox_ has joined #nixos
slyfox has quit [Ping timeout: 250 seconds]
<infinisil>
:)
<CMCDragonkai>
is there some bios settings to set to enable kvm-amd and coretemp for the ryzen 7?
<slack1256>
CMCDragonkai: modify boot.kernelModules on configuration.nix
<buckley310>
most BIOSs have a "virtualization on/off"
<CMCDragonkai>
i already did, and i checked journalctl --boot
<slack1256>
oh bios settings
<CMCDragonkai>
and it saw some errors about kvm-amd and coretemp not being able to be loaded
<{^_^}>
[nixpkgs] @domenkozar pushed to remove-yarn2nix « Remove yarn2nix, see #20637 »: https://git.io/fjU1O
<mog>
its silly but already have uses for making console friendlier at work
<{^_^}>
[nixpkgs] @domenkozar opened pull request #58424 → Remove yarn2nix, see #20637 → https://git.io/fjU13
<mog>
infinisil, one more question for you. it didnt seem to install man pages when i did it. is there something i should be copying to $out ?
<jasongrossman>
mog: I'd use it.
<infinisil>
mog: Hmm..
<teto>
is that possible to call a function with 2 parameters from nix-shell. I added another parameter to ghcWithPackages that I call via `nix-shell -p 'haskellPackages.ghcWithPackagesTest( (hs: [hs.fast-logger]) ["--set TOTO \"hello\""])' ~/nixpkgs ` but it triggers error: while evaluating the attribute 'buildInputs' of the derivation 'shell' at /home/teto/nixpkgs/pkgs/build-support/trivial-builders.nix:7:14:
<teto>
cannot coerce a function to a string, at /home/teto/nixpkgs/pkgs/build-support/trivial-builders.nix:7:14
<infinisil>
mog: Are there man pages?
<mog>
on the authors web page has man page and gtk-doc of it
<mog>
hmm configure script has a --enable-man but it should have been on
<teto>
nevermind, I fixed it
<mog>
ill make those changes and play with it
<infinisil>
mog: Yeah can't figure it out either right now
<infinisil>
Maybe leave a comment if you can't either
<mog>
no worries i think i got it. ill have update out in a bit
<infinisil>
Neat
<mog>
thanks for help
edlin has joined #nixos
InFlames has quit [Ping timeout: 250 seconds]
[Leary] has quit [Remote host closed the connection]
Erasmus has quit [Read error: Connection reset by peer]
<gchristensen>
infinisil: do you sleep? :P
pie__ has joined #nixos
InFlames has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
pie___ has quit [Ping timeout: 255 seconds]
<tdeo>
i want to wrap a package with a special environment made by buildEnv in /nix/.../share. is it acceptable to make a small patch to the program to make it search a path specified in an environment variable?
<tdeo>
like, if i'd want to upstream it to nixpkgs
drakonis has quit [Quit: WeeChat 2.3]
rauno has joined #nixos
<tdeo>
the alternative is to rebuild the program if i want to change that environment :/
<Ralith>
tdeo: you should try to make a patch that upstream will accept, then get it accepted upstream
reinhardt has joined #nixos
<tdeo>
that's unfortunately unlikely, as the last release was in 2014. i think i'll use the patch and if it isn't accepted into nixpkgs i'll maintain it in my overlay
<InFlames>
does anyone understand why firefox's and chromium's geolocation api doesn't work on my build? I am thinking I left out something obvious to someone more familiar with nixos
<InFlames>
I can post my config if needed
edlin has quit [Quit: WeeChat 2.2]
vk3wtf has quit [Ping timeout: 240 seconds]
<CMCDragonkai>
jackdk: I'm more looking for something where I plug in the name of a kernel module like `usb_storage` and for it to then tell me about it.
Glider_IRC__ has quit [Ping timeout: 255 seconds]
<Ralith>
InFlames: are you testing them over https?
<CMCDragonkai>
And to allow me to browse the entire set available.
<Ralith>
I know chrome refuses to send geo data unencrypted
<InFlames>
Ralith: I wasn't, it was just a little react app I was writting, I wonder if my old OS was allowing it over http, hmm. I'm just talking about the browser implementation, window.navigator.geolocation.getCurrentPosition()
<InFlames>
I guess the browser should be doing it over https. but I can't see the call
<Ralith>
look at the address bar; does it say https? :P
<InFlames>
well, no, but I'm not making the call directly, does that matter? it worked before...
<InFlames>
it worked like 2 days ago on ubuntu for some reason
<Ralith>
try it over https
<InFlames>
I mean, I can enable https on the sever, but I'm not even making the call
<InFlames>
I can type into the console and it'll fail
<InFlames>
I'm not making an http request
<InFlames>
but if you think that's the issue, I'm willing to entertain the idea that somehow ubunut was handling it
rauno has quit [Remote host closed the connection]
jasongrossman has quit [Ping timeout: 246 seconds]
jasongrossman has joined #nixos
jtojnar has quit [Quit: jtojnar]
PLPD-Bot has quit [Remote host closed the connection]
reinhardt has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
Zer000 has quit [Ping timeout: 250 seconds]
PLPD-Bot has joined #nixos
hyper_ch2 has joined #nixos
jasongrossman has quit [Ping timeout: 246 seconds]
jasongrossman has joined #nixos
dejanr has joined #nixos
<musicmatze>
Can someone show me where stdenv.mkDerivation is defined?
<MarcWeber>
musicmatze: Talk about the goal you want to be solved.
<MarcWeber>
You find it by grep in nixpkgs -> clone that repository.
<MarcWeber>
make-derivation.nix
reinhardt has quit [Quit: Leaving]
<musicmatze>
I am grepping through it right now but cannot find the actual definition. I found pkgs/stdenv/adapters.nix, but ...
<musicmatze>
ah okay.
<MarcWeber>
BTW see sourceAndTags which implements tags for .nix files.
dejanr has quit [Ping timeout: 245 seconds]
<MarcWeber>
pkgs.ctagsWrapped.ctagsWrapped
<MarcWeber>
(-A )
<MarcWeber>
Then its easy to find with vim's :tjump or so.
<musicmatze>
MarcWeber: My goal is to check whether I can build deb/rpm packages out of nixpkgs expressions and get an output that I can use to install debian/centos machines without the need to call into upstream debian/centos repositories (so build all recursive/transitive dependencies from nixpkgs)
<musicmatze>
ah, the problem was that I grepped for "mkDerivation = " rathern than "mkDerivation =" (trailing whitespace)
<MarcWeber>
Has been done.
<MarcWeber>
grep for dpkg or such forgot where.
<MarcWeber>
Eg grep nixpkgs for centos yields vm/default.nix or so.
<musicmatze>
I already found that I can build debs for example using pkgs.releaseTools.debBuild, but that does not build transitive dependencies
agander_ has joined #nixos
mabel has joined #nixos
mabel has quit [Changing host]
mabel has joined #nixos
orivej has joined #nixos
Myhlamaeus has quit [Ping timeout: 250 seconds]
<mabel>
hey, is it possible to have multiple windowManagers enabled, but keep one as the default?
agander_ is now known as agander
wfranzini has joined #nixos
Makaveli7 has joined #nixos
rauno has joined #nixos
mabel has quit [Quit: WeeChat 2.2]
<jasongrossman>
mabel: Yes.
<musicmatze>
Hm, I do not understand how I could use the build support stuff to build debian packages ...
<{^_^}>
[nixpkgs] @flokli pushed 2 commits to staging-18.09: https://git.io/fjUDj
<{^_^}>
[nixpkgs] @flokli pushed 2 commits to staging-19.03: https://git.io/fjUye
adetokunbo has quit [Quit: This computer has gone to sleep]
<gentauro>
etu: which are?
<musicmatze>
18.09 is the current stable
<gentauro>
(like I said, I'm a newbie to the platform)
<musicmatze>
The requirements are, from the top of my head, that all packages build for example... We cannot release a stable version with some packages not building, right? :-)
<gentauro>
I'm just thinking, put NixOS onto a new device and 1 week later I have to deal with an (major) upgrade. I would rather just install 19.03 and then "learn enough" to handle next (major) release :)
<jasongrossman>
gentauro: It's very safe to install 19.03 then.
<jasongrossman>
gentauro: Although actually NixOS upgrades are extremely painless. But rather than take my word for that, just install 19.03 now. It's almost identical to what will be released.
<musicmatze>
gentauro: It really doesn't matter ... a major update from 1809 to 1903 is not more than executing two or three commands in your shell... and if something goes wrong you can always boot to an earlier generation.
<musicmatze>
From time to time some interfaces to nixpkgs change so you have to rewrite some expressions, but that is not very common TBH
<jasongrossman>
Either way will work fine.
<musicmatze>
But I'd second jasongrossman here... just install 19.03 and go with it. Or even install unstable if it is just for the sake of playing around
<{^_^}>
[nixpkgs] @flokli pushed 2 commits to release-19.03: https://git.io/fjUyC
<gentauro>
I was back in the days a `gentoo guy` who build all packages locally (yeah, those were the times) :D. But I want to start with the minimal possible version and add to it (`nixos-minimal-18.09.2394.2d656a97297-x86_64-linux.iso`)
<gentauro>
so even though I juse that iso file, I can still just install 19.03 right?
<jasongrossman>
gentauro: Yes, but if you're using the iso file then install 18.09 first. Then do `sudo nix-channel add` to add the 19.03 channel. See the manual for details, under "channels".
<musicmatze>
gentauro: And if you're coming from gentoo, you'll be blown away by nixos once you have that "Oh fuck yes, now I get it"-moment! I know a few gentooers who started nixos and won't go back because of what nixos offers them
civodul has joined #nixos
reinhardt has joined #nixos
<gentauro>
musicmatze: I "hated" emerge with a passion, and was kind of happy with paludis. When I moved to a `mac` suddently the nix packet manager showed up for gentoo
<srhb>
gentauro: Regarding the 18.09 -> 19.03 upgrade, it's of course more trivial on a very small system, but just for reference I actually helped someone yesterday install 18.09, get a basic system up, upgrade to 19.03, downgrade again.
domogled has quit [Remote host closed the connection]
<gentauro>
srhb: yeah, thank you :)
<gentauro>
srhb: is it really that easy?
<gentauro>
gosh, have we reach "nirvana"? :-)
<gentauro>
s/reach/reached
<srhb>
gentauro: Yes. Your only concern (usually) is whether it's safe for eg your mutable data. Like, consider if your database migrated or something like that :)
<{^_^}>
[nixpkgs] @Ma27 closed pull request #22366 → [WIP] clementine-qt5: init at 1.3.1 - call for testers → https://git.io/vDOFu
<srhb>
For all the immutable bits, NixOS makes it completely trivial. There is no "upgrade" as such, just a new system generation.
<gentauro>
srhb: brilliant !!!
<gentauro>
so the versioning is just for "sanity" but it has no impact on end-users. ME GUSTA
<srhb>
gentauro: Well, it also represents branch-offs from master that stay relatively the same, mostly minor version upgrades and security fixes.
<srhb>
gentauro: So each stable branch is a dead-end branch-off from master
<etu>
gentauro: For example, I tried out a newer version of a package I use to help out with a PR. And the software worked fine. But when I went back to my older generation it was broken because of the database being upgraded when I ran the newer version :p
<srhb>
etu: Yeah, I don't think anyone has a good story for that yet :/
<gentauro>
srhb: basically a `tag` ;)
<srhb>
That would be godlike though...
<etu>
srhb: That's a really really hard problem to solve :|
<srhb>
gentauro: Hmm, maybe? The important thing to realize is that master does not ever get merged back into the stable branches after release.
<teto>
what's the -B flag in ghc wrapper ` exec "/nix/store/8vq01xmxlp9wxzilkw85rb621ag7nwmd-ghc-8.6.4/bin/ghc" "-B$NIX_GHC_LIBDIR"` ? can't find -B in ghc's manpage
<srhb>
So you shouldn't see big, (statefully) incompatible changes within a release branch.
<gentauro>
`master does not ever get merged back into the stable branches after release.` I think that's the definition of a `git tag` iirc
* srhb
doesn't know :P
<etu>
gentauro: Not really since a git tag is basically a named label for a specific commit
<etu>
gentauro: And we have the master branch, and from that we create the release-18.09 and so on where we cherry-pick over commits from master
<srhb>
teto: uuuh. I feel like I should know that...
<Taneb>
The only -B I can find in GHC's user guide is "sound a bell at the start of each garbage collection"
<srhb>
I think it's actually something that gets passed to stdenv somehow...
<srhb>
Taneb: Yeah, that's an RTS flag though, right?
<srhb>
(glorious feature, by the way...)
<Taneb>
srhb: yes, maybe GHC has the RTS flags visible? But this is probably not what we're looking at
Jackneill has quit [Ping timeout: 272 seconds]
<Taneb>
Aha, that "/bin/ghc" is a shell script
<Taneb>
Oh no, that's where the -B is coming from
wfranzini1 has joined #nixos
<Taneb>
I got all excited for finding the wrong end of the thread :(
<srhb>
:P
wfranzini has quit [Ping timeout: 250 seconds]
wfranzini1 is now known as wfranzini
Anton-Latukha has joined #nixos
<srhb>
So it's definitely related to making ghc find its settings dir.. So I imagine it's related to ghc-pkg
<srhb>
er, settings file
<srhb>
It's internal to GHC, not ours... :let (minusB_args, argv1) = partition ("-B" `isPrefixOf`) argv0
<Taneb>
Yay undocumented flags
<teto>
haskell folks like to overengineer it seems. There is a bazillion flags for everything with names so close you can't guess the difference between options, with intermediary files at every step aaaahhh. Funny when the motto is "we keep the core is minimalistic"
wfranzini has quit [Read error: Connection reset by peer]
<srhb>
teto: It's this path
<srhb>
"The first argument should point to the directory where GHC's library files reside. More precisely, this should be the output of ghc --print-libdir of the version of GHC the module using this API is compiled with"
wfranzini has joined #nixos
<srhb>
So, the -B is short for blibdir, obviosuly.
<teto>
I am trying to generate a user db to add to GHC_PACKAGE_PATH but can't seem to find out :/ also ghc-pkg doesn't print any error when it can't unregister a package (ofc the store is RO), you have to check the returned value
Jackneill has joined #nixos
<teto>
obviously xD
ilmu has joined #nixos
reinhardt has quit [Ping timeout: 246 seconds]
jbgi has quit [Ping timeout: 250 seconds]
Makaveli7 has quit [Read error: Connection timed out]
Makaveli7 has joined #nixos
ilmu has quit [Ping timeout: 240 seconds]
joepie91___ has joined #nixos
joepie91___ has joined #nixos
joepie91___ has quit [Changing host]
orivej has joined #nixos
__monty__ has joined #nixos
<sphalerite>
samueldr: clever: solved my features problem… The solution? ….overrideAttrs (o: {passthru = lib.recursiveUpdate o.passthru {features.netfilterRPFilter = true;};})
<sphalerite>
:|
reinhardt has joined #nixos
joepie91___ is now known as joepie91
<teto>
the feature thing seems like an error prone abstraction
<aplainzetakind>
error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': No such file or directory <-- while trying the install script with --no-daemon
<etu>
mpickering: If that helped, the peek derivation need to be patched to solve that internally. Please report it as an issue or fix it yourself in a PR :-)
abcrawf has quit [Remote host closed the connection]
periklis has quit [Ping timeout: 245 seconds]
abcrawf has joined #nixos
Ridout has quit [Quit: Lost terminal]
<sb0>
is there a way to install gitlab in a way that it does not leak secrets through the nix store?
<sb0>
we have hydra installed on the same machine, so AFAICT, it would happily serve the gitlab secrets to the world
ym555 has quit [Ping timeout: 250 seconds]
ilmu has joined #nixos
<tilpner>
sb0: The thought of anyone being able to pull your entire system closure (meaning hashes become secrets and you have to audit pastes and logs) scares me
<tilpner>
sb0: If you can, don't serve your local store publicly
<sb0>
isn't that what hydra installs do?
<tilpner>
You can have hydra maintain a separate binary cache next to the local store
<tilpner>
Or guard access to authorized devices
<tilpner>
In the first option it would only serve whatever hydra built. Doesn't help if you have that Hydra build itself (or other systems)
<sb0>
well I'm basically using default hydra settings
<sb0>
in that case, is hydra only serving those nix store entries that it has built itself?
<tilpner>
I don't know what Hydra does by default. Assume it does the worst thing until you checked
<Taneb>
Is there a function or something in nixpkgs which takes a number of Python derivations and outputs an appropriate value for PYTHON_PATH?
<tilpner>
I remember setting up nix-serve myself, so it might not do anything by default (but don't rely on that!)
<sb0>
if it doesn't serve the nix store, then how can it act as a binary cache?
<sb0>
because the binary cache part is definitely working
<tilpner>
sb0: By "local nix store" I mean /nix/store, which stores everything in usable form
<sb0>
yes. isn't hydra putting its build products there?
<tilpner>
sb0: Hydra can alternatively keep a binary cache in NAR form in a location like /var/lib/hydra/somethingelse
<adamt>
Does anybody have a nifty and bullet-proof way to detect whether a device has a filesystem on it? The best I've come up with is something like "file -sL /dev/sdd" and parse the output (if it's just "data" there's probably no filesystem)
<tilpner>
adamt: Not quite filesystems, but os-prober is related
<genesis>
testdisk is a good tool
<genesis>
cocorico :)
<sb0>
yeah, my hydra (default) install is just serving the whole /nix/store, no matter what created the entries
npmccallum_ has quit [Ping timeout: 245 seconds]
<sb0>
if this is so insecure - why is it the default?
<clever>
sb0: the attacker needs to know the hash of the build directions to download something
orivej has quit [Quit: No Ping reply in 180 seconds.]
<sb0>
clever: okay, and that hash is quite strong, and secrets in configuration.nix are semi-safe?
orivej has joined #nixos
cfricke has joined #nixos
<srid6>
My nginx vhost config has a property like this: `locations."/" = ...`. If I have a variable that is assigned to "/" (or anything else), how do I use that variable in that property (in place of the static "/")? If the variable is named `loc` and I use `locations.loc = ...` it works but nginx is giving a 404 always.
<srid6>
I guess this ^ is more of a nix syntax question.
srid6 is now known as srid
srid has quit [Changing host]
srid has joined #nixos
srid_ has joined #nixos
<Myrl-saki>
Hm, nixos-install seems to be broken for absolute paths.
<Myrl-saki>
Is there a reason why nixos-install's root is the / of the installer?
<mojjo>
does anyone have an idea why `fdisk -l` does not show up my internal hard drive when invoked from a nixos-live-installer? the harddrive exists and works so far, as the preinstalled windows os boots.
<andi->
is it nvme? Is the module loaded?
<clever>
mojjo: does lsblk show it?
<mojjo>
clever: I'll check in a sec
<adamt>
tilpner / genesis: Thanks. Both seem a bit overkill, and looking at the manpages online I'm not sure how either would easily solve my problem. Maybe I should just use file and maybe use lsblok to double check
jbgi has quit [Ping timeout: 246 seconds]
ar1a has quit [Ping timeout: 246 seconds]
<adamt>
(I "just" want to ensure a block device has a file system on it before it's mounted with systemd)
<adamt>
srid: you can do something like `locations."${foo}"`
ar1a has joined #nixos
<rycwo>
any idea how I would approach defining a systemd service just for a user?
<rycwo>
is this possible?
<mojjo>
clever: it does not show it, it only shows the usb stick and a loop
<clever>
mojjo: do you know what type of device it is?
<mojjo>
clever: I don't know :( I was going through the bios settings and I think I remember there was sth. about pci. I could check again, if this is important.
<clever>
mojjo: its more about the physical drive
<rycwo>
adamt: would be good if it could be defined just for the user instead of system-wide
<clever>
mojjo: crack the case open, look at it
<mojjo>
clever: arrr :)
<mojjo>
clever: so no way to figure out in the bios?
<adamt>
mojjo: Maybe lspci can reveal the timeout?
<clever>
mojjo: every bios shows it differently
sigmundv has joined #nixos
<mojjo>
adamt: well `lspci` gives me a bunch of stuff.. what do you mean by timeout?
<clever>
mojjo: can you pastebin the output of lspci?
waleee has joined #nixos
infinee has joined #nixos
<adamt>
mojjo: Forget about the "timeout" part, i was listing to somebody explaining and issue with half an ear
<mojjo>
adamt: ok :)
<mojjo>
will provide the pastebin in a sec
<adamt>
mojjo: Basically lspci (and lsusb &c) just reveal a bunch of hardware details, but yeah, if you paste if maybe we can say something about it
<clever>
mojjo: line 9, a raid controller, you may need special drivers for it
Makaveli7 has quit [Read error: Connection reset by peer]
Makaveli7 has joined #nixos
Makaveli7 has quit [Read error: Connection reset by peer]
Makaveli7 has joined #nixos
Makaveli7 has quit [Read error: Connection reset by peer]
Makaveli7 has joined #nixos
Makaveli7 has quit [Remote host closed the connection]
Makaveli7 has joined #nixos
<mojjo>
clever: ui..
Rusty1 has joined #nixos
<mojjo>
clever: but on another machine (actually the same model, maybe a version later) lspci gives me the exact same line, and there I did not have any issues...
<clever>
mojjo: the bios can be configured to either expose the drives directly, or route them thru the raid controller
<clever>
mojjo: you may also not be able to access the data if you change those settings
Makaveli7 has quit [Client Quit]
<mojjo>
would it be helpful to paste the `lspci` of the almost identical machine that works?
<clever>
mojjo: not really
<mojjo>
haha, ok
<mojjo>
so I may have to tweak some stuff in the bios?
<clever>
probably
<mojjo>
there's no relevant data on the machine, so no risk.. ok, I'll see what I can do there
periklis` has quit [Ping timeout: 250 seconds]
<adamt>
you can compare the output from lspci on that other machine, specifically whether "raid mode" is also present in the output from it, but it'll just verify clever's suspicion
<betawaffle>
you know how [Ctrl]+Alt+Fn, when n is some number, switches to a virtual terminal (ttyN)? What is actually controlling those keyboard shortcuts?
ilmu has quit [Ping timeout: 268 seconds]
<babbage>
Hello there! Thanks for providing this channel! I have issues installing nixos and I am hoping that you can provide me with a few pointers on getting started. Due to special hardware requirements, I need to install nixos with a custom kernel (patches and config), but unfortunately I get the error "Error in reading or end of file" when trying to use my own kernel config. How would I go about finding the root cause of this issue? How do
<babbage>
Sadly, nixos-install does not have a verbosity flag (or at least that I know of), otherwise I would have tried that.
<tilpner>
Try it even if it's not listed in help or manpages
<tilpner>
But in this case, I think the error is not caused by Nix
<tilpner>
I suspect your kernel config is somehow invalid
<babbage>
Tried `# nixos-install --root /mnt -v` but got an unknown flag issue (or along those lines). Yes, if I disable the inclusion of the dummy config kernel patch, the build works just fine.
<babbage>
Yeah, me too. How would I go about figuring out what is wrong? I have to admit, I don't have any experience with building my own kernels.
<babbage>
Should I maybe ask at another venue (instead of nixos)?
<tilpner>
How did you generate that kernel config? Which kernel sources did you use?
<babbage>
I copied the kernel config verbatim from another github repository (github.com/jakeday/linux-surface) and used the linux kernel sources provided by nixos (I override the pkgs.linux_4_19 packagage's kernelPatches field)
<tilpner>
babbage: I would try building it against 5.0 instead of 4.19
<etu>
Taneb: 4.14 in 18.09 I'd guess and 4.19 in 19.03 I'd guess
<jasongrossman>
betawaffle: I guess it must be X controlling those keyboard shortcuts, because when I change my keyboard layout using xkb it changes them.
<Taneb>
etu: right, thanks :)
<etu>
(That's the LTS kernels)
<babbage>
gchristensen: thanks :)
<Taneb>
The instructions for ArchWiki for getting X working on my laptop say "Linux 4.20 only" and I don't think I've tried that yet
<etu>
Taneb: We have 5.0.4 on 19.03 if you run the latest package :)
fendor has quit [Remote host closed the connection]
<etu>
ah, babbage ^
<Taneb>
I'll give this a go tonight :) I'm feeling lucky
fendor has joined #nixos
<babbage>
A quick question regarding custom kernel configurations: the nixos documentation mentions that I need to strip the CONFIG_ prefix and replace = with a whitespace.
<{^_^}>
[nixpkgs] @NeQuissimus pushed 3 commits to release-18.09: https://git.io/fjUFg
<{^_^}>
[nixpkgs] @NeQuissimus pushed 4 commits to release-19.03: https://git.io/fjUF2
<tilpner>
benedikt-h: pkgsStatic is trying to do the same general thing
<tilpner>
E.g. pkgsStatic.zlib contains libz.a instead of the libz.so the normal zlib package contains
<tilpner>
(Far from working for everything though)
<aminechikhaoui>
Is there any security tool other than vulnix that can scan packages on NixOS, I'm hoping for something that can scan the store paths of builds products without going through derivations as that's not always available
<benedikt-h>
ah cool, that also looks like a possibility. I will look into that
<aminechikhaoui>
I know most of the tools won't work as they rely on FHS compliant systems :/
<benedikt-h>
But I think the way using a nix-shell with a well defined set of build tools is the easiest way for now.
<benedikt-h>
Maybe that is already good enough
<benedikt-h>
i.e. a nix-shell --pure
elux has quit [Quit: leaving]
<betawaffle>
this is more of a linux question, but... i18n.consoleKeyMap gets written to /etc/vconsole.conf, right? what reads that file, and where does it look for the file that defines that keymap? If i wanted to create a custom keymap, where would i put it, and what would i set i18n.consoleKeyMap to?
<clever>
betawaffle: this seems like the most likely hit, so youll want to go to the systemd sources next
<clever>
/nix/store/llvq7j77zkrm8xg93rwr113n3wqynfjm-systemd-239.20190219/share/doc/systemd/NEWS: * If /etc/vconsole.conf is non-existent or empty we will no
<blackriversoftwa>
I'm trying to build a nixos image using a module that calls `make-disk-image.nix` (under nixos/lib in nixpkgs). It gets all the way to running QEMU, but then I get `Could not access KVM kernel module: Permission denied\nqemu-system-x86_64: failed to initialize KVM: Permission denied`
<blackriversoftwa>
I'm trying to build on Ubuntu in a sandboxed nix setup
<blackriversoftwa>
yeah let me see if that fixes it
<aplainzetakind>
error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': No such file or directory
<aplainzetakind>
I get this when trying to run the nix installation script.
rcshm has joined #nixos
Ariakenom has quit [Ping timeout: 245 seconds]
<blackriversoftwa>
aplainzetakind: can you run `ps aux | grep nix-daemon`?
<aplainzetakind>
The only thing already copied to /nix is store, /nix/var doesn't exist at this point.
<blackriversoftwa>
It sounds like nix-daemon isn't running
winem_ has quit [Ping timeout: 240 seconds]
<aplainzetakind>
I'm just intalling nix, how can it run before it exists?
<blackriversoftwa>
aplainzetakind: Ah ok, was missing that context
<blackriversoftwa>
What have you done so far?
Jackneilll has joined #nixos
<aplainzetakind>
Nothing, curling the installation script and piping it to sh as directed by the manual.
<linarcx>
Gyus, i want to create a pr for nixpkgs. after push my changes into cloned repo. when i want to submit changes as pr, i see 3 commits. why?
<blackriversoftwa>
aplainzetakind: Has nix been installed on this system before?
<aplainzetakind>
I'm on OpenRC, multi user installation errored out when it couldn't find systemd, but samueldr said single user installation shouldn't cause problems.
<blackriversoftwa>
clever: that seems to have fixed it!
<blackriversoftwa>
I wonder why adding the nixbld users to kvm didn't
joshie_ has quit [Read error: Connection reset by peer]
<blackriversoftwa>
very strange
<aplainzetakind>
I installed through the package manager (Gentoo), but a bunch of symlinks came out broken and I didn't know how to go about fixing things manually (and if it would wourk, since the package was unstable), so I uninstalled it and went with the official installation guide route.
<clever>
blackriversoftwa: it might be that nix-daemon doesnt obey extra groups, would need to run `id` inside a build
<clever>
blackriversoftwa: for me, it outputs: uid=1000(nixbld) gid=100(nixbld) groups=100(nixbld)
Jackneill has quit [Ping timeout: 244 seconds]
joshie has joined #nixos
Ariakenom has joined #nixos
<zookatron>
Hi guys, I'm trying to install NixOS using the Live CD following the instructions in the NixOS manual, but I'm running into a permissions error when I try to run nixos-install: error: while setting up the build environment: unable to bind mount '/mnt/nix/store/85d8y2vybq07al01j7zv518yf3fa9mwq-append-initrd-secrets.drv.chroot': Permission denied
<zookatron>
Do you mean on what storage device, or on what linux distro?
<srhb>
On what "machine" -- is it a container or anything like that?
<blackriversoftwa>
clever: Ah yeah I get the same
<blackriversoftwa>
clever: even though I have all the nixbld users added to kvm/libvirt
<tobiasBora>
Hello,
<zookatron>
srhb: No, it's a regular desktop PC, no virtualization or anything
<blackriversoftwa>
aplainzetakind: It sounds like it is still tripping on the remnants of your old install
<clever>
blackriversoftwa: nix-daemon is doing some container-style logic to change what uid the build thinks it has
<Xyliton>
I got `libXxf86vm.so.1: cannot open shared object file: No such file or directory` while trying to run a java project. Adding `xorg.libXxf86vm` to my system packages didn't seem to help. Got any ideas?
<clever>
blackriversoftwa: it may not obey /etc/group, and then just not put things into kvm
<blackriversoftwa>
clever: Yeah I see that. It's not nixbldN , it's just nixbld
<blackriversoftwa>
Which makes sense from a build-consistency perspective I suppose
<infinisil>
linarcx: Make sure your base branch is correct. Go to #git for git help
<blackriversoftwa>
clever: Hey I have an image built! Thanks for your help :)
<tobiasBora>
I'd like to know, what is the good way to install/compile haskell packages based on stack with an old GHC version (like 8.0)? Also, is it possible to package them if they don't compile on latest ghc? (why: https://github.com/erebe/wstunnel/issues/17)
<aplainzetakind>
blackriversoftwa: where could those remnants be? I removed /nix completely, users nixbld{1..10}, group nixbld, nix-daemon.sh and nix.sh from /etc/profile.d/, deleted the service from openrc.
<blackriversoftwa>
aplainzetakind: Hrm I don't know then
<clever>
aplainzetakind: did you also ensure to stop nix-daemon?
Erasmus has quit [Quit: reboot]
<srhb>
zookatron: I'm not sure what's going on. Information that might be useful: Partitioning scheme, mount information
<srhb>
zookatron: Like, is the partition that will contain /nix an uncommon type or something?
knupfer has joined #nixos
<aplainzetakind>
clever: I did, I'm checking if there's any service files left behind still.
zookatron has quit [Ping timeout: 256 seconds]
zookatron has joined #nixos
<zookatron>
srhb: More information about my system is described more in that link I posted if you want to reference that. But my partitions are a 16GB ext4 partition and a 512MB FAT32 boot partition.
<zookatron>
Someone in the discourse thread just asked for the hardware-configuration.nix it's generating so I'm working on getting that
<srhb>
zookatron: I read it, I was just wondering whether we could do a skim of the output of eg. mount to try and spot any mistakes. Nothing springs to mind from the information so far.
<{^_^}>
[nixpkgs] @veprbl merged pull request #56440 → qt5.qtwebengine: fix on darwin (again) → https://git.io/fhNcH
adetokunbo has quit [Quit: This computer has gone to sleep]
<zookatron>
srhb: The hardware-configuration.nix is here: https://hastebin.com/ocajisonuh.cpp I've checked it and it appears to be resolving the right drive UUIDs and I don't see any obvious issues with any of the other options
<srhb>
zookatron: I see nothing suspect there..
<{^_^}>
[nix] @bjornfor opened pull request #2746 → install-multi-user: reduce max-jobs from 32 to 1 → https://git.io/fjUNB
<Xyliton>
How do I make xorg.libXxf86vm "available" to my java code?
waleee has quit [Quit: WeeChat 2.4]
<clever>
Xyliton: you must add its lib dir to LD_LIBRARY_PATH
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
<betaboon>
anyone feeling capable of reviewing github.com/NixOS/nixpkgs/pull/58121 ?
<{^_^}>
#58121 (by betaboon, 5 days ago, open): nixos/refind: init
<Xyliton>
clever: where would I get the lib path? I'm writing and running java outside of a custom nix-shell :/
agander has joined #nixos
ng0 has joined #nixos
mounty has quit [Ping timeout: 245 seconds]
ng0 has quit [Client Quit]
Jetien has quit [Remote host closed the connection]
iqubic has joined #nixos
Jetien has joined #nixos
<iqubic>
Does anyone know why flatpaks don't use my system fonts?
ilmu has joined #nixos
<srhb>
zookatron: I'm afraid you're probably going to have to copy out the nixos-install script and throw -vvv at the "nix build" command
acowley has quit [Ping timeout: 250 seconds]
<srhb>
zookatron: I've never seen something like this before, so I'm a bit puzzled, sorry.
<zookatron>
srhb: Ah yes, oxij said to do something like that in the discourse thread to get the output of nixos-install which I did, but I will also try adding -vvv to the nix build, that sounds like it could shed some light on what it's doing
<zookatron>
srhb: No need to apologize, I apreciate you taking the time to look at my problem! :)
<srhb>
zookatron: Ah, good. I've tested the installer on the commit you have now, and I've honestly no idea how to reproduce it..
christianpoveda has joined #nixos
ilmu has quit [Ping timeout: 250 seconds]
<srhb>
zookatron: Shot in the dark ideas are things like: oom condition causing surprising permission errors, but honestly I don't find it super likely... so yeah, more debug output I guess.
<christianpoveda>
Hi, i have a question regarding the nix language. I was checking https://nixos.wiki/wiki/Python and I wanted to know what type does `python-with-my-packages` in order to put the python config in other `.nix` file and just import a function returning `python-with-my-packages`
xkapastel has quit [Quit: Connection closed for inactivity]
Erasmus has joined #nixos
<srhb>
christianpoveda: Are you trying to impirt it from eg. your configuration.nix ?
<srhb>
import*
christianpoveda_ has joined #nixos
<srhb>
Or, a better question: How do you intend to use it? As a package that you can install by that name?
<srhb>
christianpoveda: (The handy way to define it depends on how you intend to use it)
christianpoveda has quit [Ping timeout: 256 seconds]
mounty has joined #nixos
<christianpoveda_>
well I'd like to end up just calling a function inside the packages list instead of having a let expression over my configuration.nix file
<srhb>
christianpoveda_: packages list = environment.systemPackages ?
<christianpoveda_>
I'm installing it under users.users.<my user>.packages but i guess it's the same idea
<srhb>
christianpoveda_: (import ./python-packages.nix) and then in that file, have the function: `python-packages: with python-packages; ...` like in the snippet.
<srhb>
christianpoveda_: python3.withPackages feeds its argument with the python package set, so it needs to be a function that takes that set. You can factor it out into another file like that. :)
amir has quit [Ping timeout: 264 seconds]
<zookatron>
srhb: The output with nix build -vvv is here: https://hastebin.com/abuverakat Though I can't seem to determine much from it. Even with -vvv it doesn't seem to give us the command it's running that's failing
<srhb>
zookatron: You might be able to get past this issue by disabing the sandbox, but that doesn't explain much...
<pie_>
is it possible to ensure bash only does one level of parameter expansion?
<christianpoveda_>
ok i broke something D:
<pie_>
so for example, i want $out to be expanded, but I dont want its contents to be
<zookatron>
srhb: nix.useSandbox = false; in the configuration.nix?
<christianpoveda_>
now the networking.hostname is not in scope hahaha
<christianpoveda_>
nvm, camelCase problem
<srhb>
zookatron: You would have to set it in the installer's configuration.nix (not the /mnt one) and nixos-rebuild switch, I believe. But I'm grasping at straws, sorry. might be better to wait for someone who has a better idea (though it should be safe, I'm just worried I'm wasting your time) :)
<christianpoveda_>
srhb: ok it worked, thank you :)
<srhb>
christianpoveda_: Welcome. :)
<zookatron>
srhb: I'm happy to try it out, do you know where the installer's configuration.nix is located? Do I just need to add that line, run "nixos-rebuild switch", and then run "nixos-install" again?
amosbird has left #nixos ["WeeChat 2.2"]
<srhb>
zookatron: /etc/nixos/configuration.nix -- it's read only so you'll have to chmod/force write to it. Yes to the rest. :)
<{^_^}>
[nixpkgs] @offlinehacker pushed 2 commits to master: https://git.io/fjUA6
ym555 has joined #nixos
<srhb>
zookatron: (I'm assuming here that the sandbox setting for the install process is carried over from the running nix-daemon in the installer, hence the roundabout way of doing it)
<sphalerite>
gchristensen: yeah, on the XPS 15, when switching CPU frequencies, right?
domogled has joined #nixos
<srhb>
sphalerite: I think I'd try disabling any kind of power management saving features and see if it persists..
<zookatron>
srhb: Hmm, no dice. Though there were some cryptic errors when running the 'nixos-rebuild switch' and I'm not sure if they were important or not. https://hastebin.com/gunetememu
<sphalerite>
gchristensen: on this machine it's occurring all the time, about 2-3 times per second
<gchristensen>
wow
<srhb>
zookatron: No dice as in same error when using nixos-install? Can you try killing the nix daemon and trying again?
<srhb>
zookatron: i think the warnings are fine in the installer switch
<srhb>
sphalerite: ok, that does sound bad :P
<zookatron>
Yes, same exact error. What'sthe best way to kill and restart the nix daemon?
<sphalerite>
srhb: it is severity=Corrected though…
<sphalerite>
and only when WiFi is on
<srhb>
zookatron: pkill nix-daemon
<srhb>
zookatron: Should do the trick..
<srhb>
zookatron: If pkill exists in the installer, I forget. :P
<sphalerite>
for the more systemd-ly correct option, systemctl restart nix-daemon
<srhb>
zookatron: Also, can you confirm that `nix show-config | grep "sandbox =" says false?
<betaboon>
sphalerite: you could completly disable aspm with `pcie_aspm=off` in kernel-commandlie
<Taneb>
Ugh, Python library I'm trying to package for work does network IO during its build script
<betaboon>
sphalerite: what device does that error message refer to ?
<zookatron>
srhb: Ok, pkill nix-daemon worked, looks like the daemon was restarted properly after that too. I checked 'nix show-config | grep "sandbox ="' and it gives me "sandbox = false". Then tried nixos-install and it's still giving me the same error unfortunately!
<srhb>
zookatron: Welp. At this point I am all out of ideas. I can hand-wave "faulty usb drive" or something, but it's a super bizarre error to me...
<flokli>
can I get some feedback on https://github.com/NixOS/nixpkgs/pull/58419 ? This fixes LDAP login (currently broken on master and 19.03), and should be backported to 19.03 before release…
<{^_^}>
#58419 (by flokli, 14 hours ago, open): nixos/ldap: set proper User= and Group= for nslcd service
<zookatron>
srhb: Haha yeah, I guess it can't hurt to try with a different USB just to be sure. Thanks for all your help though! Hopefully I'll be able to get it fixed soon, I'm looking forward to trying out NixOS for more everyday use :)
Profpatsch has joined #nixos
<srhb>
zookatron: I certainly hope you succeed. fwiw these kinds of troubles are really rare. :)
Profpatsch has left #nixos ["WeeChat 0.4.3"]
<zookatron>
That's what it seemed like looking at the docs and forum discussions, it's pretty suprising to me that I seem to be having an issue like this in such a standard PC setup.
<srhb>
Yeah, I totally expected you to have something weird going on with your filesystems that would make the error plausible, but... :)
<sphalerite>
given that this isn't a laptop, I guess it's ok
<sphalerite>
hm, changing the policy to performance doesn't help though
<pie_>
nevermind, I misunderstood how bash works
<palo>
what is the best way to run `nix-shell --run my-command` in `systemd.services.foobar.script`?
<sphalerite>
palo: probably ideally not to? Why do you need nix-shell for it?
<palo>
I get the error ` error: file 'nixpkgs' was not found in the Nix search path`
<worldofpeace>
Can anyone using cups see if `CUPS_DATADIR` is set?
<worldofpeace>
Using `printenv CUPS_DATADIR`
<palo>
sphalerite: because I have to build a container first
<palo>
s/container/repository/
<symphorien>
worldofpeace: in a normal shell ? I have no such env var
<worldofpeace>
symphorien: Yeah it would be a normal shell
noonien has quit [Quit: Connection closed for inactivity]
<sphalerite>
worldofpeace: unset, both for normal shell and cupsd
<symphorien>
hum. I have upgraded to 19.03 after I printed for the last time, so maybe printing does not work for me anymore -- maybe diregard my report
<worldofpeace>
It looks like applications leverage that env var to find the data dir (obviously). Else they fallback to /usr/share/cups
drewr has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @timokau opened pull request #58451 → python.pkgs.roboschool: init at 1.0.39 → https://git.io/fjUj3
Zer000 has joined #nixos
<pie_>
infinisil, do you have something for a package shipping an eclipse plugin? do you think should I make a different build output, or give it another attribute? what kind of thing does the eclipse with plugins thing take? this is just a zip file
<{^_^}>
[nixpkgs] @timokau opened pull request #58452 → python.pkgs.baselines: init at 0.1.5 → https://git.io/fjUjs
<judson__>
I've had a PR to nixpkgs lingering open since January.
<judson__>
What do I need to do to get it merged?
<mog>
link?
vk3wtf has joined #nixos
<pie_>
infinisil, ok
<clever>
,pr judson__
<{^_^}>
judson__: 0. Sorry. 1. If you complain about PR being in limbo, always provide a number («I have an unmerged PR (#23924)…»), bot will print PR title and it might bring you an impulse-merge. 2. Please look up who commits similar work and ping these people (or request-review), keeping up with all the PRs is not really possible.
linarcx has quit [Quit: WeeChat 2.4]
<Rusty1>
its down to 1297, what do you mean ?
<judson__>
"I have an unmerge PR (#53525). It's been approved by a code owner. What do I need to do to get it merged?"
<pie_>
infinisil, ah! it looks like there's a helper called buildEclipseUpdateSite
<judson__>
If I sound peevish, my apologies. This is the 3rd time in a month that I've dropped into IRC to ask. When I link to the PR, there's no response.
i1nfusion has quit [Remote host closed the connection]
<srhb>
judson__: Usually it's lack of confidence, not because people are willfully ignoring you. Yes, it's frustrating.
i1nfusion has joined #nixos
Myhlamaeus has joined #nixos
<srhb>
judson__: I would suggest that (2) might help in this case!
<srhb>
Like, finding some more people familiar with the ruby builder to look at it.
fendor has quit [Ping timeout: 246 seconds]
pie_ has quit [Ping timeout: 246 seconds]
pie_ has joined #nixos
<pie_>
whats the difference between fetchzip and fetchurl with unzip?
schneid3306 has quit [Quit: ZZZzzz…]
wolfman154 has joined #nixos
trubi has joined #nixos
pie_ has quit [Ping timeout: 250 seconds]
regulus_ has quit [Read error: Connection reset by peer]
nadley has quit [Remote host closed the connection]
<wolfman154>
What is the easiest way to get my function keys working on xmonad?
<elvishjerricco>
Taneb: Do you want the entire system to use unstable, or just some packages?
<wolfman154>
I’ve removed gnome and gdm so I just have xmonad running on nixos?
<Taneb>
elvishjerricco: I can live with entire system, but I just need a Linux kernel that's not in 18.09
<elvishjerricco>
wolfman154: This likely isn't a NixOS specific problem. If no one here knows how, you may have better luck poking through xmonad's docs and examples, or going to the xmonad irc.
<wolfman154>
Ok
<elvishjerricco>
Taneb: Ah, not sure what the consequences of using a kernelPackages from a different version of NixOS, but I'm guessing it'd work since it's replaceable at all
trubi has quit [Remote host closed the connection]
<digitalgrease>
anyone using journalbeat that can help me figure out why mine isn't working?
InFlames has quit [Ping timeout: 246 seconds]
npmccallum has joined #nixos
<lejonet>
digitalgrease: I'm using it across my entire env
domogled has quit [Ping timeout: 246 seconds]
<{^_^}>
[nix] @edolstra pushed to master « Update eval-okay-types.exp to match #1828 »: https://git.io/fjTv1
polman has joined #nixos
<digitalgrease>
so, in my configuration.nix i enabled it, and added output.logstash with the correct logstash host to extraConfig
<digitalgrease>
at first i was getting a connection refused error in the logs, so following the advice of some others online i increased the timeout count on logstash
<digitalgrease>
i no longer receive the error, but i'm not seeing any logs from it in kibana
<digitalgrease>
lejonet: sorry, forgot to ping you in my response. ^
<lejonet>
digitalgrease: no probs, I'm looking at my conf and I really don't do anything fancy, I just point output.logstash to the right host:port (and config tls) but nothing more than that really
<lejonet>
digitalgrease: you sure you just don't have logs from that particular machine during the time period you chose in kibana?
<digitalgrease>
lejonet: well just to make sure, i just changed the timeframe to a month, and i'm still not seeing anything haha
<lejonet>
digitalgrease: very odd, think you could paste your journalbeat/logstash conf somewhere?
<{^_^}>
[nixpkgs] @worldofpeace opened pull request #58458 → nixos/colord: don't run as root → https://git.io/fjTfe
iqubic has quit [Quit: Page closed]
<digitalgrease>
lejonet: there's what's in my configuration.nix for journalbeat
<lejonet>
digitalgrease: and its not something redonkeylous like the port not being open in the firewall or so? Because that conf looks just like mine, except that I add a bunch of options for TLS too, but they don't affect where I try to connect
<bgamari_>
gchristensen, I believe nixos from nixpkgs master is broken on packet hardware
<gchristensen>
oh?
<bgamari_>
gchristensen, the bond interface never comes up
<digitalgrease>
lejonet: nah, cause i have other beats being ingested successfully on the same port
mvnetbiz has quit [Remote host closed the connection]
<bgamari_>
and consequently the machine never boots
goibhniu1 has quit [Ping timeout: 244 seconds]
<gchristensen>
ouch
<gchristensen>
c2?
<bgamari_>
yep
orivej has quit [Ping timeout: 245 seconds]
zupo has joined #nixos
<gchristensen>
I've seen that before, but usually localized to specific pieces of hw for some reason
<lejonet>
digitalgrease: that is really odd, apart from like tcpdumping the host, I don't really know what could be wrong
<bgamari_>
thankfully I caught this on the staging instance before deploying
goibhniu1 has joined #nixos
<bgamari_>
gchristensen, strangely trying to start the ethernet interfaces' network-link-....service jobs manually seems to cause the machine to stop responding
mvnetbiz has joined #nixos
<gchristensen>
I think it is just a general problem with nixos's scripted network interfaces :/
<bgamari_>
even on the out-of-band console
<digitalgrease>
lejonet: *sigh* guess that's my next step then. thanks for the help haha.
<bgamari_>
gchristensen, any idea of what the prolem might be?
<lejonet>
digitalgrease: good luck lol :P I never had any issues getting journalbeat to reach the logstash
<gchristensen>
none, I've seen it here on my own home router actually
<gchristensen>
I'm not enough of a networking wizard to really have the experience to debug it
<lejonet>
I battled a bit with the TLS, but that is a completely different thing :P
<jackdk>
does anyone have good workarounds for https://github.com/NixOS/nixpkgs/issues/34376 ? I've tried appending "-f-embed_data_files" to the pandoc build, and patching in an explicit Paths_pandoc_types module but I'm still getting giant closures
<iqubic>
So I still have no idea why this flatpak isn't using my system fonts.
<iqubic>
It's just not doing what I want it to do.
<makefu>
iclanzan: you can try 'nixos-rebuild switch --option use-binary-caches false'
<makefu>
or --option build-use-substitutes false
<iqubic>
Like even though my system is set-up in a way that I can see Japanese Text without any issues, this flatpak is not rendering those characters properly.
troydm has joined #nixos
goibhniu1 has quit [Read error: Connection reset by peer]
selfsymmetric-mu has joined #nixos
selfsymmetric-mu has quit [Disconnected by services]
goibhniu1 has joined #nixos
elfsymmetric-mus has joined #nixos
elfsymmetric-mus is now known as selfsymmetric-mu
selfsymmetric-mu has quit [Disconnected by services]
elfsymmetric-mus has joined #nixos
<elfsymmetric-mus>
Hi! Anybody good at npm? Some people are helping me here (https://github.com/NixOS/nixpkgs/pull/54443) to try and load some plugins for an npm package. The trouble is that I don't know how to get plugins into scope for the binary to use.
selfsymmetric-mu has quit [Remote host closed the connection]
emily has quit [Remote host closed the connection]
emily has joined #nixos
selfsymmetric-mu has joined #nixos
jasongrossman has quit [Ping timeout: 250 seconds]
wolfman154 has joined #nixos
<iclanzan>
makefu: brb, trying now.
<selfsymmetric-mu>
Hi! Anyone know npm? Some friends are helping me here (https://github.com/NixOS/nixpkgs/pull/54443) to get some plugins loaded for an npm binary (textlint). But I don't know how npm plugins resolve, or how to make sure that nixpkgs make them available.
<ingenieroariel>
mainly,I do not know how to reconcile that with: pg = pkgs.postgresql_11.withPackages(ps: [ ps.postgis ]);
<ingenieroariel>
the error is `configure: error: Could not find iconv.h header. Please install libiconv and libiconv-devel.`
<ingenieroariel>
(I am on osx)
iclanzan has quit [Ping timeout: 255 seconds]
<ingenieroariel>
the same derivation works perfectly on ubuntu and nixos unstable
iclanzan has joined #nixos
rcshm has joined #nixos
ym555_ has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<iclanzan>
makefu: `use-binary-caches` option does not exist, and `builders-use-substitutes` doesn’t work without internet
ym555 has quit [Ping timeout: 272 seconds]
<makefu>
iclanzan: what exactly is your device trying to fetch? some sources from the internet or something from the binary cache?
<{^_^}>
[nix] @edolstra opened pull request #2748 → [WIP] Make nix/unpack-channel.nix a builtin builder → https://git.io/fjTIU
* ingenieroariel
is looking at the python docs that combine overrides and withPackages
<elvishjerricco>
What's the right way to build a gradle project in nix?
<iqubic>
Flatpak font issues really stink. Even though my system is set-up in a way that I can see japanese characters without any issues, this flatpak is not rendering those characters properly.
sigmundv has joined #nixos
alex`` has quit [Quit: WeeChat 2.4]
<wolfman154>
What is the command to set terminator as the default terminal, the ubuntu command to do this does not work?
sindrip has joined #nixos
<wolfman154>
Sudo update-alternatives —config x-terminal-emulator command does not work?
shu9 has joined #nixos
ingenieroariel has quit [Ping timeout: 256 seconds]
<wolfman154>
How do I set terminator as the default terminal in nixos?
<iclanzan>
makefu: it is trying to fetch cache.nixos.org/<some-hash-here>.narinfo
<makefu>
iclanzan: according to `man nix.conf` --option substitute false, you could also try --option fallback true which should fall back to source if a substituter fails
<wolfman154>
Help please
<wolfman154>
?
<wolfman154>
I am trying to set terminator as the default in xmonad?
<emily>
wolfman154: probably you want to set environment.variables.TERMINAL = "terminator"
<wolfman154>
emily: thanks I am still new to nixos
Anton-Latukha has quit [Ping timeout: 250 seconds]
<wolfman154>
environment.variables.TERMINAL = “terminator”; This command is not setting terminator as the default terminal?
<wolfman154>
emily: it’s not working?
<simpson>
wolfman154: I don't think that NixOS has a concept of "default terminal" and there's no alternatives subsystem like on Debian-based distros. Instead you need to configure the tool at hand. Have you looked at XMonad's documentation yet?
schneid3306 has quit [Quit: ZZZzzz…]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<wolfman154>
simpson: well since it is not working in nixos I’ll try xmonad, thanks for the tip