<waleee-cl>
selfsymmetric-mu: ah, and this apparently https://github.com/ttuegel/emacs2nix (linked from the .../emacs-modes/ ... " directory in the nixpkgs-repo)
<selfsymmetric-mu>
I sure do rebuild the Linux kernel a lot on `nixos-rebuild`. `nix-top` is a godsend. I'm building /tmp/nix-build-linux-5.4.24.drv-0. Is it normal for me to see that getting rebuilt a lot? Can I make it more stable?
<{^_^}>
[nixpkgs] @marsam merged pull request #82113 → [20.03] ion: mark as broken → https://git.io/JvoqL
<{^_^}>
[nixpkgs] @marsam pushed 2 commits to release-20.03: https://git.io/Jvom9
philr has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @bhipple opened pull request #82121 → rustracer: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvom7
<evanjs>
Trying to combine appimageTools.wrapType2 and requireFile (for a tarball with an appimage) and I get something like "Not an appimage." because, well, yeah, it's a tarball...
<evanjs>
The only examples I'm finding of tarred appimages seem to manually extract them... which seems sort of painful, and I'd like to use appimageTools if at all possible
<clever>
evanjs: you may need pkgs.runCommand to unpack the tar
<{^_^}>
[nixpkgs] @bhipple opened pull request #82122 → ja2-stracciatella: upgrade cargo fetcher and cargoSha256 → https://git.io/Jvom5
<evanjs>
clever: bahhhhhhhhhhhhhh. Okay, I'll try that lol
<{^_^}>
[nixpkgs] @PhDyellow opened pull request #82127 → rPackages.rzmq: add pkgs.pkgconfig and patchShebangs configure → https://git.io/JvoOa
philr has joined #nixos
gila has joined #nixos
Acou_Bass has quit [Ping timeout: 265 seconds]
doyougnu has quit [Quit: WeeChat 2.7.1]
gila has quit [Ping timeout: 256 seconds]
shafox has joined #nixos
Acou_Bass has joined #nixos
vidbina has quit [Ping timeout: 256 seconds]
<hyper_ch>
I just installed lxqt as desktop environment. After reboot I only got black screen, right-mouse clicking on background got me a context menu to set some stuff.. but I think a window manager or something is missing. With Alt-F2 I could open a "search" window like in KDE and tried to start some thing, but nothing appeared
koleesch_ has quit [Read error: Connection reset by peer]
koleesch_ has joined #nixos
koleesch_ has quit [Remote host closed the connection]
<CMCDragonkai_>
an alternative question... I have a lot of services all depending on a one shot service, even if the one shot service succeeded, the service appears to fail due to `start-limit-hit` meaning a start request was repeated too quickly... but that's strange
inkbottle has quit [Ping timeout: 255 seconds]
zebrag has joined #nixos
<jackdk>
I have used node2nix to generate a set of packages for a node project that I need to work with, but attempting to build it gives me the error "The path name '.drv' is invalid: it is illegal to start the name with a period...." --show-trace doesn't give me a useful error; has someone here had a similar problem, and is there something obvious I should check?
<jackdk>
hum. the generated package entry for the `abbrev` package calls fetchurl with `url = false`. that's weird
<Izorkin>
How to fix this error, not working nixos-rebuild. warning: unable to download 'https://cache.nixos.org... Unsupported protocol / Timeout was reached / HTTP error 200
<lovesegfault>
now, the second one _works_ because those machines set nixpkgs.system individually
<lovesegfault>
but it relies on NIX_PATH and doesn't use my pinned nixpkgs
<lovesegfault>
I'm trying to figure out how to:
kqb has quit [Quit: Leaving]
<lovesegfault>
1. use the pinned nixpkgs
<{^_^}>
[nixpkgs] @eskimor closed pull request #36112 → WIP: Updating android sdk and related tools to version 26. → https://git.io/vAXvQ
<lovesegfault>
2. have hosts with different arches (systems)
<srhb>
lovesegfault: I think there's still/again some subtle wonkiness in the import logic, but I forget the details. I think there was already an issue opened for this.
<tyrion-mx>
Could anyone help me understand how I can enable gnome-keyring for ssh keys, while using xfce? Apparently it is started with `--components=secrets` only
<immae>
quirks: the message is different for non-free software (you get a specific message saying that the package is non-free, not a generic "not found" message), so you’re looking at the wrong side of your issue
kenran has joined #nixos
<jackdk>
quirks: it might not be present in the version of nixpkgs your system is using
<immae>
quirks: if it helps, in my version (19.09) the package is named teamspeak (not absolutely sure it’s the same, you should check)
<raingloom>
i'm sure this is a noob question but i couldn't find a good answer: what the hell do i do with this error? "error: cannot read '/nix/store/8gxyfk07y93wsmhhl0qyrwczwnm07nmr-from-toml'"
<raingloom>
this happens when i run nix-env -qa some-package-name
blaggacao has quit [Ping timeout: 260 seconds]
<raingloom>
system info: i'm running nix from guix system
<{^_^}>
[nixpkgs] @adisbladis opened pull request #82139 → switch-to-configuration: Add new option X-OnlyManualStart → https://git.io/Jvo4m
sigmundv has joined #nixos
<duairc>
Is it possible to call both overrideAttrs and override on the same package? And if so is there a particular order I should call them in?
<duairc>
I can't seem to get it to work
<tyrion-mx>
Hello, my `$XDG_CURRENT_DESKTOP` and `$XDG_SESSION_DESKTOP` are both set to `xfce+i3` and I think this is preventing some xdg autostart application from running (because they expect xfce). I am using xfce, i3 and lightdm. Does anyone know how this can be overridden?
<magnetophon>
When I do "nix-shell $NIXPKGS -A surge" followed by "genericBuild", my pkg starts building. When I do "nix-env -f $NIXPKGS -iA surge" I get an error. What could cause that difference?
<duairc>
adisbladis: Ah, the parens! Thank you, it's working now :)
<tyrion-mx>
I find myself unable to debug things in Nixos most of the time :S, mostly because I am unable to find things (i.e. where is the lightdm configuration supposed to be? )
philr has quit [Ping timeout: 256 seconds]
<adisbladis>
tyrion-mx: A lot of the time these configs don't end up in /etc or anything like that but only in the Nix store.
<makefu>
tyrion-mx: systemctl cat <service> often helps
<adisbladis>
tyrion-mx: I can't help you with the specifics of your problem, but I'd suggest starting with `systemctl cat myservice`
<adisbladis>
makefu: :D
<adisbladis>
And on Nixos our display manager is unit is called display-manager.service
bhipple has quit [Remote host closed the connection]
Neo-- has joined #nixos
jgosset[m] has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
veske2 has quit [Quit: This computer has gone to sleep]
jgosset[m] has left #nixos [#nixos]
asbachb has joined #nixos
<asbachb>
Hi. Anyone using sway + waybar and is willing to share it's configuration? I tried adding waybar to my installation. And nothing is showing up.
veske has joined #nixos
veske2 has joined #nixos
<asbachb>
And = But
rauno has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
veske2 has quit [Quit: This computer has gone to sleep]
<asbachb>
evils: I know. I created the minimal configuration mentioned in wiki and integrated waybar like the suggestions in wiki but it does not show up.
<evanjs>
Any tips for debugging NixOS QT apps aside from the normal stuff? Haven't done much QT debugging before, anyway :P Currently looking at https://doc.qt.io/qt-5/debug.html
bvdw has quit [Read error: Connection reset by peer]
<justsomeguy>
Hmm, ok, seems that I was able to ignore it after all. /ignore has more options than I thought.
<justsomeguy>
:D
<evils>
justsomeguy: mind posting the actual command you used?
wolfshappen has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
veske2 has quit [Quit: This computer has gone to sleep]
<justsomeguy>
evils: I was using Konversation, and went to Settings -> Configure Konversation -> Behaviour -> Ignore -> added a pattern, and then checked all the boxes for each message type in that menu.
never_released_ is now known as never_released
reallymemorable has joined #nixos
raingloom has joined #nixos
<justsomeguy>
(There were checkboxes for things like "Channel", "Query", "Notice", "CTCP", "DCC", "Invite".)
wolfshappen has quit [Ping timeout: 268 seconds]
<justsomeguy>
evils: I think that you can also use /mode -s which will work on most irc clients.
asbachb has quit [Remote host closed the connection]
CMCDragonkai1 has joined #nixos
li_matrix has left #nixos ["User left"]
justsomeguy has quit []
abathur has joined #nixos
<evanjs>
Figured it out... currentIndex() called on an empty list. Should probably figure out if my expression is missing any deps, but also might report this issue upstream. Segfaulting in this case isn't really appropriate IMO
<evanjs>
What's the proper way to allow a user to access i2c devices (e.g. /dev/i2c-*)? udev rules, or?
<evanjs>
*On NixOS, of course
abathur has quit [Ping timeout: 240 seconds]
<gchristensen>
udev is a good way
phreedom has quit [Remote host closed the connection]
abathur has joined #nixos
wolfshappen has quit [Ping timeout: 256 seconds]
<evanjs>
More surprised there isn’t anything for/wondering if I’m missing something simple in trying to get native SMBus access / non-root access to `/dev/i2c-*` devices.
phreedom has joined #nixos
jmeredith has joined #nixos
kleisli has joined #nixos
wolfshappen has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
justanotheruser has joined #nixos
abathur has quit [Ping timeout: 258 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
veske has quit [Quit: This computer has gone to sleep]
veske2 has quit [Quit: This computer has gone to sleep]
<jluttine>
hmm.. pushd and popd aren't available in checkPhase anymore. has something changed? i've used them before but now the check phase fails because pushd cannot be found
<jluttine>
or wait, maybe it's the directory that's not found!
<jluttine>
the error message was just a bit misleading
<jluttine>
so never mind
<Raito_Bezarius>
I'm trying to start QEMU NixOS machines easily on a non-NixOS machine
<martijn>
Hello, is this the right place to ask for some nixos hints? I'm running ZFS with an encrypted pool and would like to be able to unlock remotely over SSH. I've found instructions on https://nixos.wiki/wiki/NixOS_on_ZFS, but the problem is, my machine doesn't have a public address and can only be accessed over a wireguard VPN. Is this possible to do on boot?
<Raito_Bezarius>
But nix-build '<nixpkgs/nixos>' -A vm -I nixos-config=./machine-config.nix build-vm is not really working
<Raito_Bezarius>
Neither nix-build '<nixpkgs/nixos>' -A vm -I nixos-config=./machine-config.nix
veske has joined #nixos
veske2 has joined #nixos
<Raito_Bezarius>
I get some: syntax error, unexpected WITH, expecting $end, on the machine config at the line of "with lib;"
<gustavderdrache>
Raito_Bezarius: at the very end of the first line of machine-config.nix, there's a "[3/1275]" that i guess came from a terminal paste
<Raito_Bezarius>
I was thinking it was my vim showing this…!
<Raito_Bezarius>
Thank you!
<gustavderdrache>
sometimes you just need a fresh pair of eyes :)
veske has quit [Quit: This computer has gone to sleep]
veske2 has quit [Quit: This computer has gone to sleep]
wolfshappen has quit [Ping timeout: 268 seconds]
CMCDragonkai1 has quit [Quit: CMCDragonkai1]
gila has quit [Ping timeout: 265 seconds]
RRedcroft has left #nixos ["ERC (IRC client for Emacs 26.3)"]
quirks has quit [Remote host closed the connection]
ddellacosta has joined #nixos
gila has joined #nixos
<{^_^}>
[nixpkgs] @kolloch opened pull request #82155 → buildRustCrate: Search for matching Cargo.toml in sub directories → https://git.io/JvoaQ
cole-h has joined #nixos
zupo has joined #nixos
<johnw>
I have a local copy of my Nix store that I created by using `nix copy`. If I GC in that copy, won't it delete everything? I don't see that there would ever be any GC roots in that copy.
<{^_^}>
[nixos-homepage] @edolstra pushed commit from @garbas to master « Deploy to Netlify (#330) »: https://git.io/Jvows
pinecamp- has quit [Remote host closed the connection]
butterthebuddha has joined #nixos
<Raito_Bezarius>
I'm continuing on QEMU
<Raito_Bezarius>
I'm trying to have some virtual switches using vde
<Raito_Bezarius>
But when NixOS starts, it is stuck at network target seems like
<Raito_Bezarius>
It's waiting on dhcp or dns I'm not sure
<Raito_Bezarius>
It fails "name service cache daemon"
<Raito_Bezarius>
Can I like disable nscd during boot?
<Raito_Bezarius>
It fails and NixOS tries to restart it again & again
linarcx has quit [Ping timeout: 265 seconds]
linarcx has joined #nixos
dm9 has joined #nixos
sgrunert has quit [Remote host closed the connection]
martijn has quit [Quit: Lost terminal]
<dsx>
martijn: while what you want is possible hypothetically, there is nothing in nixos to support that directly as far as I know. But that is hackable nonetheless.
<mlatus>
Is there any pam module that can combine multiple other pam modules, e.g. auth sufficient pam_combine.so pam_module1.so pam_module2.so will success if and only if both pam_module1.so and pam_module2.so success
<butterthebuddha>
Is there any reason to use the nix multi-user install on a personal machine with only one user?
<sphalerite>
butterthebuddha: yes, it allows using the build sandbox
<sphalerite>
which is recommended when possible
<{^_^}>
[nixpkgs] @kevincox pushed to kevincox-mesos-maintainer « mesos: Remove kevincox as maintainer. »: https://git.io/JvorC
<{^_^}>
[nixpkgs] @kevincox pushed to kevincox-mesos-maintainer « mesos: Remove kevincox as maintainer. »: https://git.io/JvorW
<{^_^}>
[nixpkgs] @kevincox opened pull request #82160 → mesos: Remove kevincox as maintainer. → https://git.io/Jvor8
<jluttine>
And in general, can I somehow figure out who I could ask to review some PR?
<jluttine>
I know people are busy, and reviewing and merging takes time, no worries, not complaining at all. I'm just wondering what is a good fluent and efficient workflow for everyone to get PRs merged, and one part of that is finding the correct people to review
<infinisil>
jluttine: Commit history is very useful for this
<infinisil>
I usually look at who touched the relevant files recently in some relevant way
v88m has quit [Ping timeout: 258 seconds]
<infinisil>
E.g. with `git log --patch --no-merges path/to/file.nix`
<infinisil>
(and I have `alias gwch="git log --patch --no-merges"`)
shafox has joined #nixos
<makefu>
also, usually packages have a maintainers meta field and @ofborg will ping the maintainers for you. for all crypto currency related packages you could try to ping lassulus (i happen to know he maintains a couple packages so no real process here other than gossip)
<jluttine>
infinisil: yep, that probably works quite often! in this case, i'm the maintainer myself, but yeah, there's one other person who has touched the file a little bit at some point
<infinisil>
Oh also I look at the previous PR's/issues, who commented, who merged, things like that
opthomasprime has joined #nixos
opthomasprime has quit [Remote host closed the connection]
trfl_ is now known as trfl
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
opthomasprime has joined #nixos
blaggacao has quit [Read error: Connection reset by peer]
<{^_^}>
[nixops] @grahamc pushed 3 commits to partially-apply-doshitan-1238-part-2: https://git.io/JvooE
blaggacao has joined #nixos
gila has quit [Ping timeout: 265 seconds]
shafox has quit [Remote host closed the connection]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
fendor has joined #nixos
<{^_^}>
[nixpkgs] @caadar opened pull request #82174 → scantailor-advanced: fix startup using wrapQtAppsHook → https://git.io/JvoXa
hmpffff has joined #nixos
veske2 has quit [Quit: This computer has gone to sleep]
veske has quit [Quit: This computer has gone to sleep]
drakonis has quit [Ping timeout: 256 seconds]
Jackneill has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis has joined #nixos
sigmundv has quit [Ping timeout: 255 seconds]
<colemickens>
I've been having significant, intermittent networking issues on nixos-unstable again. My Ethernet connection will go out to lunch and NM can't get it back.
<colemickens>
Seemingly have to reboot and then a stop job winds up hung for NM
<Taneb>
I'm trying to run a game in Steam (Shenzen IO) and I'm getting "error while loading shared libraries: libGL.so.1: cannot opens hared object file: No such file or directory"
<drakonis>
still cant get shenzhen to run on nixos.
<drakonis>
so sad.
<adisbladis>
drakonis: I've done the other way around many many times.
<adisbladis>
Bad joke, sorry :/
<Taneb>
colemickens: I'm not entirely sure how I should use steam-run but it doesn't seem to help
<drakonis>
needs extra oomph
* colemickens
has a Dark Reader extension - makes it hard to tell google/duck search results apart. Google results are getting bad enough that I am constantly thinking "I'll redo this in Google" only to find out I'm already there
<colemickens>
Taneb: yeah, sounds like it isn't sufficient
<colemickens>
ProtonDB has one result for Shenzhen that says "works perfectly on defaults". Have you tried proton/wine drakonis?
zupo has joined #nixos
<drakonis>
actually it does work with proton.
rogue_koder has quit [Ping timeout: 265 seconds]
<drakonis>
the only annoying thing is tabbing out to read the manuals
<colemickens>
nice
<drakonis>
so i have to print it out
<drakonis>
hm yes libgl issues with linux shenzhen
<adisbladis>
drakonis: Do you have 32-bit GL libs?
<{^_^}>
[nixpkgs] @tckmn opened pull request #82177 → ipbt: init at 20190601.d1519e0 → https://git.io/JvoML
<drakonis>
let me check
<drakonis>
i have 32bit dri enabled
<Orbstheorem>
How can I force nix-build to rebuild a derivation that I manually modified by mounting the store rw and manually modifying a file within ?
psyanticy has quit [Quit: Connection closed for inactivity]
<drakonis>
yup i have them
<adisbladis>
Orbstheorem: You can try `nix-store --repair-path`
<drakonis>
gotta love nvidia jank
<adisbladis>
Oh nvidia
<drakonis>
cant wait for when i can use nouveau
<adisbladis>
I couldn't get my laptop model without an nvidia card :/
<drakonis>
waiting for amd equipped laptops to flood the market
<cole-h>
Waiting for Linux-friendly, relatively-cheap laptops to flood the market
<Orbstheorem>
adisbladis: Thanks
<drakonis>
well, time to run my games on a container
* colemickens
googles the Zephyrus G14 again
<drakonis>
might be easier to achieve compatibility(?)
<Orbstheorem>
I just bought an X1 without an nvidia card
* colemickens
could finally achieve the single computer dream (ignoring phone for now, convergent-Linux-on-desktop-2022.
<Orbstheorem>
I __had to__ because I need to use wayland and being able to suspend is a dealbreaker for me
<Taneb>
Running Shenzen IO in Proton segfaults after a while for me...
<Orbstheorem>
I probably spent about 5 days total tryin all combinations of drivers, firmwares, methods, fb-copy, virtual screens, ...
<Taneb>
I'm also Nvidia drivers and 32 bit enabled
<Orbstheorem>
So, I'll have to tuck my P50 (and say goodbye to my Xeon) somewhere in my room where it will become a server :'(
chloekek has joined #nixos
* Orbstheorem
is frustrated at nvidia
<{^_^}>
[nixpkgs] @tckmn opened pull request #82178 → jelly: init at 0.1.31 → https://git.io/JvoM8
<{^_^}>
[nixpkgs] @samueldr pushed 2 commits to release-19.09: https://git.io/JvoMQ
<LnL>
it's in the local-store implementation so should be the remote side (nix-store --serve --write or nix-daemon)
<MarcWeber>
Has anybody virtualbox client up and running ? Does it resize X?
<MarcWeber>
In my case it doesn't so wondering what I missed.
ixxie has quit [Ping timeout: 268 seconds]
c0c0 has quit [Ping timeout: 258 seconds]
<Orbstheorem>
adisbladis: Yes, though to be fair the difference between my 2015 Xeon E3-1505 to the 2018 i7 8565 in the new Carbon X1 is less FSB lines going to the Northbridge on the i7 and thus less PCIe lines and looks my the PCIe lines in the Thunderbolt3 bus are in the same bus as the internal PCIe devices so the i7 may be slightly slower using thunderbolt3 devices.
<pikajude>
thanks LnL
<pikajude>
ca-references is enabled in /etc/nix/nix.conf and i restarted the daemon
<pikajude>
so i dunno what it's complaining about
fendor has quit [Ping timeout: 240 seconds]
<Orbstheorem>
But to be fair, I don't use th3 that often, last time it was to try to set up an amateur 4x4 MIMO 4G Network during 35C3 ^^
jluttine has joined #nixos
Church- has joined #nixos
<LnL>
pikajude: no typo or something? experimental-features doesn't complain about unknown values
<LnL>
perhaps something with the remote connection and forwarded settings?
jeIIy has quit [Remote host closed the connection]
<pikajude>
oh, yeah
<pikajude>
good point
<pikajude>
hmm no, i deleted the master socket and killed all my outstanding sessions and it's still happening
<pikajude>
can i manually replicate copy-closure and see if it gives me a more helpful message?
<pikajude>
the command is just ssh remote 'nix-store --serve --write' correct
<LnL>
I mean settings forwarded from the client to the remote side
oldandwise has joined #nixos
<pikajude>
well, i don't have that setting enabled on my laptop
<pikajude>
it wasn't even on the 2.4 version until just now because i was checking if that would fix the problem
<LnL>
eg. nix-build --store ssh-ng://foo --option timeout 10 should forward the local timeout
<oldandwise>
Following nixos install, how to overcome the dreaded 'Warning: The resulting partition is not properly aligned for best performance.' i want to optimize this is SSD
<{^_^}>
oldandwise: 12 weeks, 1 day ago <ekleog> (continuing) I'm not totally sure if it's supposed to be working even this way, but by compiling before you should be able to at least work around this issue :)
<{^_^}>
oldandwise: 12 weeks, 1 day ago <ekleog> I haven't been using ant or gradle with javacard (just a plain old .ninja file), but the error you're getting makes me think you have .java files that you haven't compiled to .class before running the converter (or that you've forgotten the -source 1.5 -target 1.5 --- I've also got -Xlint:-options, but not sure it's required) -- I'm not totally sure if it's supposed to be working
<pikajude>
nix-build --store ssh-ng://... doesn't copy local source paths to the remote, apparently
<LnL>
but certain other things are/should not be forwarded, features seems one of them to me, but could be it's not handled like that yet
<pikajude>
oh no it's the reverse
<pikajude>
the source exists on the remote, but not on localhost, so it can't IFD
<pikajude>
still objectionable, if less so
fendor has joined #nixos
<LnL>
yeah IFD doesn't work properly for that yte
<pikajude>
weird that remote builds also still work
<pikajude>
i wouldn't mind so much, but the remote is currently trying to source build a version of rustc that my local can substitute from a private cache
Diogo has quit [Ping timeout: 255 seconds]
<LnL>
:p
<pikajude>
ok...now it works
<pikajude>
whatever, nix
<pikajude>
you do you buddy
<Raito_Bezarius>
How to debug some nixops ssh issues?
<Raito_Bezarius>
on none backend
<pikajude>
which ones
<Raito_Bezarius>
I'm seeing the nixops generated keypair on the target machine
<Raito_Bezarius>
But whenever I do nixops ssh
<Raito_Bezarius>
It asks me for password
<Raito_Bezarius>
FWIW, I added another account with my own ssh key, and it works
<Raito_Bezarius>
I also can see the none.sshPublic|PrivateKey inside the SQLite file
<Raito_Bezarius>
(state file)
<Raito_Bezarius>
And if I copy the priv key manually and try to SSH with it, it just works too
<Raito_Bezarius>
Meaning, it's something at the nixops level
<zakkor>
hi guys, i'm trying to modify https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/interpreters/j/default.nix to add the jqt IDE to it, which is installed using a command like `echo "install 'full'" | $out/bin/jconsole` after the binaries in that derivation are built, however, it fetches stuff from the internet, so I made it a fixed-output derivation, but that gives me this error: "path
<zakkor>
'/nix/store/xnyh8j7kh3bg1f7m7q5w8yixj5xanf2s-j-807' is not valid", and I understand it's because F-O derivs aren't supposed to reference things, but I have no idea how to go about fixing this
<zakkor>
side note: I'm only trying to edit the derivation because if you install the `j` package and try to install the IDE afterwards, it won't work because it says it's in a read-only directory, or something like that. If anyone knows a workaround for this, that would be great too
orivej has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<ratsclub>
I'm a debian user for about 10 years and just switched to NixOS but there's something I can't figure out. Should I put all my programs into the /etc/nixos/configurations.nix file or should I create a file on my home directory?
<Yaniel>
yes
<ratsclub>
it should go into the /etc file?
<bhipple>
Well, it depends. In general, for users it's better to create a file in your home directory which lists all of the pkgs you want, and then declaratively install that
<Yaniel>
well /etc is system-wide and home directory is user-specific
<bhipple>
Some people do globally install at the system level, but doing so is less pure
<symphorien>
if you prefer them to be in your home-directory, I can recommend home-manager
<bhipple>
There's home-manager if you want to take this idea further, yeah
Diogo has quit [Quit: Ping timeout (120 seconds)]
Diogo has joined #nixos
<ratsclub>
I'll check home-manager out. I have another question. I own a Thinkpad X230 and with debian I had 10 hours of battery but with NixOS I now have only 5/6 hours.
zupo has joined #nixos
<ratsclub>
I have already enabled tlp and acpid.
<ratsclub>
Is there any other tip to make my battery last longer?
<symphorien>
does nixos leave the discrete card on when debian powers it off ?
<symphorien>
(wild guess)
<ratsclub>
I'm afraid I don't know anything about that... I usually just installed debian and installed my software
<colemickens>
lovesegfault: btw what WERE you fixing up in TLP btw?
<lovesegfault>
colemickens: bumping it's version and then cleaning stuff up
<ent>
I don't think the x230 has a discrete gpu
<colemickens>
lovesegfault: hmph, I was hoping there was a mis config and was going to magically get an extra hour.
<lovesegfault>
colemickens: no, but the defaults have improved a lot
<lovesegfault>
let me show you my current TLP set up
<colemickens>
lovesegfault: mostly kidding :P
<colemickens>
lovesegfault: cool, :)
<colemickens>
It did seem teh defaults basically didn't do much. I think I only recently added governor switching.
<colemickens>
And even then, its buggy? (or was, maybe your changes help)
<ratsclub>
I usually just installed tlp tlp-rdw acpi-call-dmks on debian and it gave me 10h of battery
<colemickens>
interesting. definitely more going on than I have. will look into more...
<ratsclub>
TIL that tlp has config files haha
<ratsclub>
But overall nixos OS has been quite nice. I really enjoy the ideia of having your system in a textfile. Now I can jsut setup my workstation anywhere
<lovesegfault>
Maybe more >>> between gnome and kde
<lovesegfault>
danderson: unity is gnome now!
<danderson>
"whatever ubuntu ships" is the winner
<danderson>
oh! TIL
<evils>
they mean standalone WM without a DE
gila has quit [Ping timeout: 258 seconds]
<lovesegfault>
evils: Yeah, still, just trying to put things in perspective
<drakonis>
now, there's one annoying thing i wish kde on nixos had, enable the dang networks widget without networkmanager
<rooke>
Are there any standalone wms with decent touchscreen support?
<drakonis>
usb tethering seems to work on my laptop
<drakonis>
but not on my desktop
<lovesegfault>
rooke: sway works fine with my touchscreen
<rooke>
Gnome is the only decent thing I've found
<rooke>
Ah I mean like, my laptop goes into a tablet mode
<ratsclub>
I don't really care about DEs and WMs as most of my work is done inside emacs and a web-browser. But Gnome has too many wide bars form my 12" display.
<evils>
btw on a serious note, i've been told i shouldn't do this (since the global config is only used by this binary): https://git.io/Jvo7c ; any opinions?
<dashkal>
What's the correct place to look at to add things to /etc/modprobe.d? I just went it with vim, but I suspect there's a proper way to stick this in configuration.nix.
<danderson>
dashkal: to load more modules, add them to `boot.kernelModules`. For options, `boot.extraModprobeConfig` or `boot.blacklistedKernelModules` depending on what you're doing
<bhipple>
IMO NixOps is the least production-grade of the nix ecosystem tools. Nix and NixPkgs are great, as is NixOS, and feel very robust/production worthy. NixOps works, but you may want to look into something like morph: https://discourse.nixos.org/t/morph-nix-based-deployment-tool/1276
<bhipple>
danderson: or just a bunch of helper wrapper scripts with terraform, TBH. Really all it takes to build & install a NixOS server is nix-build -A deployment && nix-copy --to ssh://host <os> && swapping the symlink
<danderson>
yeah, I've already decided we can't use NixOps. I'm looking for alternatives, one of them is "use the stuff I built for my homelab", but I'm sure other people have built things too
<danderson>
exactly, my current homelab deployment is some scripts + some nixos configs, and it works fine