<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « eventstore: 5.0.2 -> 5.0.5 »: https://git.io/JeXXR
orivej has joined #nixos
jfroche has quit [Ping timeout: 276 seconds]
noudle has quit []
selfsymmetric-mu has joined #nixos
<elvishjerricco>
So I want to add a binary to initrd with the extraUtils stuff, but it has a path to another binary baked into it. The other binary is already in extraUtils, so I just need to replace the path in the binary.
<elvishjerricco>
`sed -i 's|${foo}|$out| $out/bin/bar` didn't work though; it caused the binary to appear to ldd to be statically linked, so it's corrupted somehow.
<clever>
elvishjerricco: the length of strings within the ELF file must not change
<clever>
elvishjerricco: since it heavily uses offsets to point to things, and shrinking something will move everything after it
<clever>
elvishjerricco: what binary is it? and if you dont patch, it should still work
<elvishjerricco>
clever: Oh derp, yea I guess `$out` probably has different length than `${foo}`
<elvishjerricco>
clever: I'm messing with doing a systemd-based initrd, so the binary is systemd, which hardcodes the path to the `mount` command. I'd rather not pull in the whole `utillinuxMinimal` derivation when just the binaries would do
<elvishjerricco>
But also, references get nuked, so systemd thinks `mount` is at `/nix/store/eeeeeeeeeeee-util-linux`, which obviously doesn't work
<clever>
ah
<elvishjerricco>
clever: Not sure what to do now :P
<clever>
yeah, thats a bit tricky
<clever>
for testing, you could just disable nuking references and let it bloat a bit
<clever>
and if things work, then look into patching systemd better
<elvishjerricco>
Yea, I'm doing that now
<xel>
I am attempting to use the rust library `minifb` which uses the rust library `x11-dl` to support X11. However, it ends up crashing when I try to create a window with the error message `opening library failed (libX11.so.6: cannot open shared object file: No such file or directory); opening library failed (libX11.so: cannot open shared object file: No such file or directory)`. Before attempting to run I have installed `xorg.libX11` and
<xel>
added it to my shell with `nix-shell -p xorg.libX11`. Unfortunately the error message still happens after that, anything that I'm missing?
<clever>
xel: try adding the directory for libX11.so to LD_LIBRARY_PATH ?
worldofpeace_ has quit [Ping timeout: 250 seconds]
horner has quit [Quit: zzZzZzZzZZZzzz…]
<elvishjerricco>
clever: Sidenote, do you think a properly systemd-ified initrd for nixos might be upstreamable?
<clever>
elvishjerricco: i'm a bit torn, on the one hand, our existing initrd works fine, and systemd may get in the way of some things, and just ugh more systemd infestations! lol
<clever>
elvishjerricco: but on the other hand, that would open up things like `systemd-analyze blame` working at the initrd level
<xel>
that desn't seem to work, though I'm not sure if I'm adding it correctly, is this right? `LD_LIBRARY_PATH=$LD_LIBRARY_PATH:iywp6iw365pm47x5g2jh0imv246f9i3d-libX11-1.6.8/lib cargo run`
<xel>
oops nvm i see my mistake lol
<clever>
yep, /nix/store is missing
<xel>
yep now libXcursor is missing which means that worked!
worldofpeace_ has joined #nixos
<elvishjerricco>
clever: Yea, plus parallelizing initrd stuff, allowing arbitrarily complex disk/lvm/luks/zfs graphs, and better plymouth support
<elvishjerricco>
what would systemd get in the way of?
<elvishjerricco>
but yea it could be a little annoying to have MOAR systemd :P
<{^_^}>
[nixpkgs] @jonringer opened pull request #74416 → python3Packages.behave: use pytest_4 → https://git.io/JeX1Q
<nh2>
I got some progress on the rust+musl, had to use `export LD_LIBRARY_PATH="${stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH"` and update `bootstrap.nix` with the upstream binary
<{^_^}>
[nixpkgs] @jonringer pushed 265 commits to staging-next: https://git.io/JeXSU
zupo has quit [Ping timeout: 276 seconds]
zupo has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.6]
rauno has quit [Ping timeout: 250 seconds]
rauno has joined #nixos
andi- has quit [Ping timeout: 245 seconds]
andi- has joined #nixos
knupfer has joined #nixos
rauno has quit [Ping timeout: 250 seconds]
vonfry has joined #nixos
misterwhatever has quit [Ping timeout: 245 seconds]
<vonfry>
I try to write a drv for omnetpp. It needs qtbase's QtGlobal, which stays in qtbase.dev. I code in into nativeBuildInputs, but CFLAGS in configure phase doesn't contain that path, it only has qtbase/*/include. I want to have qtbase-dev/*/include.
<bew>
Hello! I'm trying to build https://github.com/juliosueiras/terraform-lsp with nix-build, but it always tries to use a folder /build for the build (looks like $NIX_BUILD_TOP defaults to this)
justanotheruser has joined #nixos
<bew>
How can I configure this?
zebrag has quit [Ping timeout: 240 seconds]
<bew>
(my nix install is as a user, on a centos distro)
<eyJhb>
ddima: perfect! That was what I guessed too, I just remember a comment from ryantm that somebody "complained" about it and he/she/what said he/she/what could just stop creating PRs :p
<ddima>
because of the "noise"?
<eyJhb>
Yeah :D
<ddima>
I mean, one could debate whether #nixos is the best place for those given the volume vs. #nixos-dev or a dedicated channel, but it's also like not impossible to ignore messages based on regex or so.
<ddima>
But it's nice to have them somewhere where most people working on nixpkgs see them, and this is one of those places.
<typetetris>
Woa .. how is an xserver version in nixos updated? I just found out about `tarballs.list` in `pkg/servers/x11/xorg`. Does it mean increase each version on each line by hand, run the generator and hope it all works together? Rinse and repeat?
<clever>
coderobe: that defines the pw hash to use, when /etc/passwd was missing
<clever>
coderobe: and you will want to set uid's for all users you define like that, or they will randomly change, causing you to not own your own home
<coderobe>
i see
<coderobe>
any other major gotchas i should be aware of?
<clever>
nowhere for the journal to go, so when things do fail, you wont have logs of why
<coderobe>
oh that's fine
FRidh has joined #nixos
<clever>
cant think of any others at the moment
<clever>
and /etc/nixos is optional, you can use -I nixos-config=/path/to/configuration.nix when you nixos-rebuild, to make it load a different path
<clever>
or use nixops to build it remotely
nikivi has quit [Write error: Connection reset by peer]
Nikita has joined #nixos
<notgne2>
/etc/passwd is generated by stage2 of the boot process iirc, you have to merge a rejected PR to have it exist statically
<{^_^}>
[nixpkgs] @Mic92 pushed commit from @iclanzan to release-19.09 « Add iptables to wireguard-tools »: https://git.io/JeXQJ
Nikita is now known as Guest92895
Guest92895 is now known as nikivi
<clever>
notgne2: and users.users.foo.initialHashedPassword can be used to deal with things being missing on that first generation
<coderobe>
how do i go about editing other config files in this setup? is there some generic interface in configuration.nix that allows me to modify arbitrary config files?
<evils>
anyone know how to do architecture dependent depedendencies right? if ((oceSupport || withOCC) && stdenv.isAarch64) then withOCC = true;
<clever>
coderobe: environment.etc is used to generate all other files in /etc/
<evils>
OCE fails to build on aarch64, but OCC is a viable alternative (i assume putting OCE in the inputs and not using it on aarch64 will not cause my build to fail)
<coderobe>
ah
<eyJhb>
I should really do tmpfs for / as well
<clever>
evils: anything present in buildInputs is required to build first, so just having it there and not using will still depend on it
<evils>
clever: ah, thanks, know of a package doing this correctly?
<clever>
coderobe: that reminds me, be aware of any services storing data to /var and such
<clever>
evils: just use an if statement to conditionally add it to buildInputs, or lib.optional
<clever>
coderobe: things like postgresql and such
drakonis has joined #nixos
<evils>
clever: doh, misread, yea i'm not passing it as a buildInput
<evils>
clever: but i'm kinda stuck on how to set the variable i use switch that optional
justanotheruser has joined #nixos
<eyJhb>
There is something "optional" some place
<clever>
> lib.optional true 42
<{^_^}>
[ 42 ]
<clever>
> lib.optional false 42
<{^_^}>
[ ]
<eyJhb>
^^
<eyJhb>
If only I could remember stuff
<evils>
clever: if that's for my benefit, i'm using the variable right, the issue isn't the buildInput part, it's this https://paste.ee/p/YQG51
<clever>
evils: ah, if statements dont work like that
<evils>
i need to override the bool depending on the architecture and i don't know how to do it
<clever>
evils: they take the form of `if condition then expr1 else expr2`
<evils>
clever: yea i know xD but this illustrates the behaviour i'm looking for
<clever>
let withOCC = (oceSupport || withOCC) && stdenv.isAarch64;
Chiliparrot has joined #nixos
<clever>
&& already returns a bool
<clever>
oceSupport = ! stdenv.isAarch64
<coderobe>
hrm, wonder what the sanest way of persisting networkmanager wifi network configs would be
<coderobe>
just mounting storage to the config dirs?
<eyJhb>
coderobe: I think gchristensen have a submount inside /etc that persists
<clever>
coderobe: i think you can use environment.etc to generate a symlink to a more persistent dir
<coderobe>
eyJhb: for the entirety of /etc?
<clever>
hmmm, maybe a systemd prestart or activationScript, if that cant
<eyJhb>
coderobe: Nope, only WiFi related stuff. But I am not 100% sure, I just seem to remember that wast he way
<eyJhb>
That might be possible as well! Not sure, and gchristensen is prop not awake yet
<xwvvvvwx>
Very curious about this tmpfs-/ thing. What's the performance like? Do you need a really big swap partition? Does your RAM get filled up with infrequently accessed files?
<evils>
damn functional languages and their logic :P
<clever>
eyJhb: ah, thats even simpler then i thought
<clever>
eyJhb: i think the way that works, is your supposed to source = ./foo.txt, nix will then copy that to the store, and replace it with "/nix/store/hash-foo.txt", and then nixos will make a symlink to the store
<clever>
eyJhb: but if you just shove a quoted path in, that path will stay as-is, and it will symlink something impure!
<notgne2>
I never figured out a good way of modifying half of the values in it (for home-manager support) and it breaks in other simpler ways too
sigmundv has joined #nixos
<notgne2>
last time I used it, opening desktop settings would crash, and I couldn't find what config file could possibly be causing it amongst the 50 or so it creates
<notgne2>
using a new user account of course worked fine
<pbb>
what could be the cause for /dev/disk/by-partuuid being empty even though blkid /dev/sd* can find lots of partuuids??
<clever>
pbb: i think ive only seen that shortly after re-formatting, udev only creates the symlinks when the device is first inserted
<pbb>
it happens after a reboot in initrd and btrfs can not find the raid members because of that
<clever>
pbb: the initrd may have a more limited udev that cant create it, can you configure btrfs to just look in /dev/ ?
<pbb>
hmm I don't see a way to configure it
<notgne2>
I'm getting "dhclient.c:2442: Failed to send 300 byte long packet over eth1 interface.", which is weird given eth1 is down (intentionally), how can I make networkmanager stop trying to use this interface
<notgne2>
its of course mentioned nowhere in my config
<clever>
notgne2: it probably auto-detects all interfaces, i just use plain dhcpcd and wpa_supplicant
<pbb>
I guess I should try to run "btrfs device scan" before mounting
<notgne2>
clever: on this machine it's hardcoded in with ipv4.addresses etc
<notgne2>
is networkmanager even required for this?
<clever>
notgne2: id say ditch network manager as fast as you can :P
<clever>
notgne2: something ive been playing with lately is bonding, to deal with handover
<typetetris>
Is there a script to create a "channel" from a nixpkgs git repo working dir? (i.e. making the directory containing the nixexprs.tar.xz and binary-cache-url ?)
<clever>
notgne2: this will link the wifi and wired interfaces, and configure it to use whichever is up, but prefer the wired, and use the same mac for both
<clever>
its fixed in master, and a work-around is in the PR
<notgne2>
what's a nice way of getting the git rev a nix channel is following
<Yaniel>
there is a nixpkgs-channels repo
vonfry has quit [Ping timeout: 246 seconds]
<eyJhb>
Yaniel: was I correct ? :D
<Yaniel>
eyJhb: no
<notgne2>
my idea was for my morph network to use the nixpkgs rev specified in a txt file, with a script to update it based off whatever version I want the network to follow
<eyJhb>
Damn. Btw. what do people use for connecting to new networks? E.g. nmtui-connect does not support the auth used on eduroam
<notgne2>
idea is so cross machine you can always deploy without worrying about channels, and shouldn't have to manaully update the rev ever
<notgne2>
if I used the nixpkgs-channels repo I'd still need to specify a rev or a sha256 to satisfy builtins.fetchGit
<pbb>
I don't get this: I see "btrfs device scan" in my stage 1 script. When I boot, it fails to mount the rootfs. When I drop into the initrd shell, run btrfs device scan and repeat the exact mount command that failed, it works
<clever>
pbb: it might be a timing thing, you type slower, so the devices appeared
<pbb>
hmm
<clever>
pbb: try adding a sleep to your initrd script?
<pbb>
but the "btrfs device scan" is in postDeviceCommands
<ij>
if I have docker container defined in nix, how should I best deploy it with nixops, so I can run a systemctl service with podman? if I just use the store path of the image, it will get transported automatically, but what about importing? how do I import it once?
<deni>
Anybody here uses dockerTools to produce docker images with nix? I'm having an issue where I have `let docker-entrypoint = writeScript "entrypoint.sh" '' .... ''` and then using it in dockerTools.buildLayeredImage in as Entrypoint = [ docker-entrypoint ] but getting the error "cannot coerce a function to a string"? Does anybody have any insight as to what is actually going on?
misterwhatever has quit [Remote host closed the connection]
lux4 has quit [Quit: WeeChat 2.4]
<tilpner>
deni: I don't use Docker, but you might want to paste the entire thing so we can syntax-check it
sweep has joined #nixos
sweep has quit [Changing host]
sweep has joined #nixos
<tilpner>
Are you setting Entrypoint in config?
sweep is now known as genesis
<ij>
deni, you're building a dockre image and those configs get directly baked into the container's config file. Once you actually compile it, you might have more problems because that config isn't checked rigorously when baking, only when docker uses.
<ij>
but you haven't gotten that far yet
gekketinus has quit [Quit: Leaving]
<ij>
deni, pasting the nix script would be nice indeed
<vxid>
Hi everyone. Quick question: the program gpg-preset-passphrase provided by gnupg is not available in my path by default. How can I call it in the shell or a script without messing with nix or supplying the entire path to the executable?
<__monty__>
Anyone else having trouble building GHC 8.6.5? (I think I'm building 32bit ghc on a 64bit remote builder.)
<tilpner>
vxid: Good question, for some reason it's in libexec instead of bin
silver has joined #nixos
<vxid>
@tilpner: Yes, it seems to be "standard" for other distributions as well.
<sondr3>
I use home-manager for all my dotfiles and haven't had any issues whatsoever with it
<etu>
vxid: Home manager is great :)
m0rphism1 has quit [Ping timeout: 268 seconds]
ssss is now known as foxs
Ariakenom has quit [Ping timeout: 252 seconds]
<vxid>
sondr3: And are you using NixOS on all your devices? The all-united-under-Nix concept is appealing to me but I sometimes need to ssh to a box and i like being able to copy my small tmux/bash/vim whatever config file with me
__monty__ has joined #nixos
<sondr3>
vxid: yeah, I'm using NixOS on my laptop and desktop, but I have a rPi running Raspbian and two servers running Debian. I just rsync the created configuration to those machines if I need them there
cfricke has quit [Quit: WeeChat 2.6]
GerdFlaig[m] has quit [Remote host closed the connection]
LinuXit has quit [Remote host closed the connection]
ZD[m] has quit [Remote host closed the connection]
wildtrees[m] has quit [Remote host closed the connection]
talvdav[m] has quit [Remote host closed the connection]
aymenstudios[m] has quit [Write error: Connection reset by peer]
aterius has quit [Read error: Connection reset by peer]
marijan[m] has quit [Read error: Connection reset by peer]
olejorgenb[m] has quit [Read error: Connection reset by peer]
david-sawatzke[m has quit [Read error: Connection reset by peer]
hackeryarn[m] has quit [Remote host closed the connection]
st3r4g has quit [Read error: Connection reset by peer]
cornu has quit [Write error: Connection reset by peer]
snupples[m] has quit [Read error: Connection reset by peer]
NickHu has quit [Write error: Connection reset by peer]
ndarwincorn has quit [Remote host closed the connection]
joepie91[m] has quit [Write error: Connection reset by peer]
kaychaks[m] has quit [Read error: Connection reset by peer]
nh2[m] has quit [Remote host closed the connection]
veleiro has quit [Read error: Connection reset by peer]
zummed[m] has quit [Remote host closed the connection]
MayeulC_backup has quit [Write error: Connection reset by peer]
bricewge has quit [Read error: Connection reset by peer]
atopuzov[m] has quit [Read error: Connection reset by peer]
roberth has quit [Write error: Connection reset by peer]
ronny has quit [Read error: Connection reset by peer]
icetan has quit [Read error: Connection reset by peer]
aanderse has quit [Read error: Connection reset by peer]
imj[m] has quit [Read error: Connection reset by peer]
am3on[m] has quit [Read error: Connection reset by peer]
bendlas has quit [Remote host closed the connection]
MilkManzJourDadd has quit [Read error: Connection reset by peer]
rycee has quit [Read error: Connection reset by peer]
codyopel has quit [Read error: Connection reset by peer]
li_matrix has quit [Read error: Connection reset by peer]
phyfey[m] has quit [Read error: Connection reset by peer]
balsoft has quit [Read error: Connection reset by peer]
escaP[m] has quit [Read error: Connection reset by peer]
Ox4A6F has quit [Read error: Connection reset by peer]
EuAndreh[m] has quit [Read error: Connection reset by peer]
alex[m]11 has quit [Read error: Connection reset by peer]
truby has quit [Read error: Connection reset by peer]
layus[m] has quit [Read error: Connection reset by peer]
craige[m] has quit [Read error: Connection reset by peer]
manveru[m] has quit [Read error: Connection reset by peer]
das-g[m] has quit [Read error: Connection reset by peer]
copy` has quit [Read error: Connection reset by peer]
bkl[m] has quit [Read error: Connection reset by peer]
zurdo has quit [Read error: Connection reset by peer]
thequux[m] has quit [Read error: Connection reset by peer]
tokudan[m] has quit [Read error: Connection reset by peer]
chreekat[m] has quit [Read error: Connection reset by peer]
sputny[m] has quit [Remote host closed the connection]
fasd has quit [Remote host closed the connection]
hpfr[m] has quit [Remote host closed the connection]
siraben has quit [Write error: Connection reset by peer]
shizonic has quit [Write error: Connection reset by peer]
spacekitteh[m] has quit [Write error: Connection reset by peer]
DanP[m] has quit [Write error: Connection reset by peer]
thefloweringash has quit [Read error: Connection reset by peer]
harkenedraven has quit [Write error: Connection reset by peer]
jtojnar has quit [Write error: Connection reset by peer]
Smith[m] has quit [Write error: Connection reset by peer]
MarkOtaris has quit [Write error: Connection reset by peer]
jwaksbaum[m] has quit [Write error: Connection reset by peer]
corpix[m] has quit [Write error: Connection reset by peer]
pinage404[m] has quit [Write error: Connection reset by peer]
eddyb has quit [Write error: Connection reset by peer]
peel1 has quit [Read error: Connection reset by peer]
abbafei[m] has quit [Remote host closed the connection]
bohan[m] has quit [Remote host closed the connection]
fpletz[m] has quit [Remote host closed the connection]
babariviere[m] has quit [Remote host closed the connection]
abbradar[m] has quit [Remote host closed the connection]
blahaj[m] has quit [Remote host closed the connection]
arianvp[m] has quit [Remote host closed the connection]
vaibhavsagar has quit [Remote host closed the connection]
Sisyphe[m] has quit [Write error: Connection reset by peer]
kecia[m] has quit [Read error: Connection reset by peer]
DenisLehmann[m] has quit [Write error: Connection reset by peer]
joelpet1 has quit [Write error: Connection reset by peer]
mirsal has quit [Write error: Connection reset by peer]
schmittlauch[m] has quit [Write error: Connection reset by peer]
bbigras has quit [Write error: Connection reset by peer]
momack2[m] has quit [Write error: Connection reset by peer]
yoho[m]1 has quit [Write error: Connection reset by peer]
nilsirl[m] has quit [Write error: Connection reset by peer]
goibhniu has quit [Write error: Connection reset by peer]
colemickens has quit [Write error: Connection reset by peer]
Seb[m] has quit [Write error: Connection reset by peer]
xavierm02 has quit [Write error: Connection reset by peer]
alexarice[m] has quit [Write error: Connection reset by peer]
Yakulu[m] has quit [Read error: Connection reset by peer]
gaisseml[m]1 has quit [Write error: Connection reset by peer]
luftmensch[m] has quit [Write error: Connection reset by peer]
timokau[m] has quit [Write error: Connection reset by peer]
coniferous-cube[ has quit [Write error: Connection reset by peer]
philipp[m] has quit [Write error: Connection reset by peer]
aloysius[m] has quit [Remote host closed the connection]
LiuWeiHua[m] has quit [Remote host closed the connection]
malteof[m] has quit [Remote host closed the connection]
MerlinGttlinger[ has quit [Read error: Connection reset by peer]
HappyEnt[m] has quit [Write error: Connection reset by peer]
abbec has quit [Write error: Connection reset by peer]
domenkozar[m] has quit [Write error: Connection reset by peer]
Minijackson[m] has quit [Read error: Connection reset by peer]
Vskilet has quit [Write error: Connection reset by peer]
jschievink has quit [Read error: Connection reset by peer]
clacke[m] has quit [Read error: Connection reset by peer]
sevcsik- has quit [Read error: Connection reset by peer]
wangoe[m] has quit [Write error: Connection reset by peer]
bikki[m] has quit [Write error: Connection reset by peer]
pachacuti[m] has quit [Write error: Connection reset by peer]
bachp has quit [Write error: Connection reset by peer]
clefru has quit [Read error: Connection reset by peer]
manu12[m] has quit [Write error: Connection reset by peer]
Noughtmare[m] has quit [Write error: Connection reset by peer]
ejpcmac has quit [Write error: Connection reset by peer]
roadt[m] has quit [Write error: Connection reset by peer]
gaisseml[m] has quit [Write error: Connection reset by peer]
danielrf[m] has quit [Write error: Connection reset by peer]
sylvie[m] has quit [Read error: Connection reset by peer]
groggy[m] has quit [Remote host closed the connection]
y0x3y[m] has quit [Remote host closed the connection]
tobim[m] has quit [Remote host closed the connection]
malajunk[m] has quit [Remote host closed the connection]
NoblesseOblige24 has quit [Read error: Connection reset by peer]
kirelagin has quit [Read error: Connection reset by peer]
contrun[m] has quit [Write error: Connection reset by peer]
jonge[m] has quit [Read error: Connection reset by peer]
rihardsk[m] has quit [Write error: Connection reset by peer]
setthemfree[m] has quit [Read error: Connection reset by peer]
worldofpeace has quit [Read error: Connection reset by peer]
attero has quit [Remote host closed the connection]
sonercirit[m] has quit [Read error: Connection reset by peer]
hiroshi[m] has quit [Read error: Connection reset by peer]
Thinkofname[m] has quit [Read error: Connection reset by peer]
pheoxy has quit [Read error: Connection reset by peer]
ninjatrappeur[m] has quit [Read error: Connection reset by peer]
regnat[m] has quit [Remote host closed the connection]
Victor[m]1 has quit [Read error: Connection reset by peer]
JaakkoLuttinen[m has quit [Read error: Connection reset by peer]
tyrion1 has quit [Read error: Connection reset by peer]
leons has quit [Read error: Connection reset by peer]
wrunt[m] has quit [Remote host closed the connection]
rnhmjoj has quit [Remote host closed the connection]
submoo[m] has quit [Remote host closed the connection]
gubaduba[m] has quit [Remote host closed the connection]
dtz has quit [Read error: Connection reset by peer]
sauyon[m] has quit [Read error: Connection reset by peer]
l33[m] has quit [Read error: Connection reset by peer]
quiet_laika[m] has quit [Read error: Connection reset by peer]
yangm has quit [Read error: Connection reset by peer]
TravisRt2botio[m has quit [Read error: Connection reset by peer]
slabity has quit [Read error: Connection reset by peer]
Nyanloutre[m] has quit [Remote host closed the connection]
provessor[m] has quit [Read error: Connection reset by peer]
frederic_chopwn[ has quit [Read error: Connection reset by peer]
ilya-fedin has quit [Read error: Connection reset by peer]
ma27[m] has quit [Read error: Connection reset by peer]
Christian[m]1 has quit [Read error: Connection reset by peer]
crabemis[m] has quit [Read error: Connection reset by peer]
cyberwolf[m] has quit [Write error: Connection reset by peer]
musicmatze has quit [Write error: Connection reset by peer]
wak-work has quit [Read error: Connection reset by peer]
fgaz has quit [Write error: Connection reset by peer]
mt[m] has quit [Write error: Connection reset by peer]
Brio[m] has quit [Remote host closed the connection]
jak[m]1 has quit [Remote host closed the connection]
MiloIgnis[m] has quit [Read error: Connection reset by peer]
Brian[m]4 has quit [Remote host closed the connection]
nbardiuk has quit [Write error: Connection reset by peer]
laas has quit [Write error: Connection reset by peer]
zmlww[m] has quit [Write error: Connection reset by peer]
arturo[m] has quit [Write error: Connection reset by peer]
chickenbuttscrat has quit [Write error: Connection reset by peer]
blitzclone_ has quit [Write error: Connection reset by peer]
simbergm has quit [Write error: Connection reset by peer]
segfault[m] has quit [Write error: Connection reset by peer]
IslandUsurper has quit [Write error: Connection reset by peer]
lel[m] has quit [Write error: Connection reset by peer]
marius851000[m] has quit [Write error: Connection reset by peer]
Notkea[m] has quit [Write error: Connection reset by peer]
mica[m] has quit [Write error: Connection reset by peer]
ZerataX has quit [Write error: Connection reset by peer]
frislie[m] has quit [Write error: Connection reset by peer]
florianjacob has quit [Write error: Connection reset by peer]
is0x3F has quit [Write error: Connection reset by peer]
null_radix[m] has quit [Write error: Connection reset by peer]
alienpirate5 has quit [Write error: Connection reset by peer]
pingveno[m] has quit [Write error: Connection reset by peer]
haslersn has quit [Read error: Connection reset by peer]
wedens[m] has quit [Read error: Connection reset by peer]
flacks has quit [Read error: Connection reset by peer]
Ariakenom has joined #nixos
vxid has quit [Remote host closed the connection]
<vxid>
Interesting. i may go all Nix since I saw yesterday that some VPS providers have cheap NixOS servers. Being able to deploy my entire stack from a single config file would be awesome.
isgy[m] has quit [Remote host closed the connection]
macerbi[m]1 has quit [Write error: Connection reset by peer]
bennofs[m] has quit [Write error: Connection reset by peer]
Ericson2314 has quit [Write error: Connection reset by peer]
geemili has quit [Write error: Broken pipe]
midi[m] has quit [Write error: Connection reset by peer]
otini has quit [Remote host closed the connection]
VaNilLa[m] has quit [Write error: Connection reset by peer]
zer0xp[m] has quit [Write error: Connection reset by peer]
tails[m] has quit [Write error: Connection reset by peer]
Dandellion[m] has quit [Write error: Connection reset by peer]
arcnmx has quit [Write error: Connection reset by peer]
offlinehacker has quit [Write error: Connection reset by peer]
hagelslag[m] has quit [Write error: Connection reset by peer]
talqu has quit [Remote host closed the connection]
vxid has joined #nixos
<sondr3>
vxid: yeah, a holiday project for me once I'm done with exams is moving my personal VPS to NixOS and use NixOps to manage it
Ariakenom has quit [Client Quit]
Ariakenom has joined #nixos
Ariakenom has quit [Client Quit]
Ariakenom has joined #nixos
Ariakenom has quit [Client Quit]
Ariakenom has joined #nixos
Ariakenom has quit [Client Quit]
<vxid>
Do you manage any secrets (ssh or gpg keys, password-store etc) within Nix?
<{^_^}>
[nixpkgs] @oxalica opened pull request #74487 → cargo-insta: new at 0.12.0 → https://git.io/JeXFv
<sondr3>
Not yet, they live in their own ~/.secrets folder... but it is a hacky mess that I really hate
philr has quit [Ping timeout: 276 seconds]
pointfourone has quit [Ping timeout: 252 seconds]
Ariakenom has joined #nixos
<sondr3>
I just haven't looked into including it with my configuration because you only need to configure it once per machine
skrzyp has quit [Ping timeout: 252 seconds]
fendor has joined #nixos
<Taneb>
I'm trying to package Oolite and I'm having trouble
pointfourone has joined #nixos
<vxid>
True. I have a separate password-store git repo which contains all my secrets, but it's another git pull I have to do on top of manually adding my keys. i'd like to automate this at some point.
<sondr3>
I know people manage their secrets with Nix, mostly as git submodules that I guess contain nix expressions that they then import. I need to get around to figuring it out some day, my SSH configuration could benefit from some love
<lassulus>
krops can use password-store as secret provider
<sondr3>
cool, krops looks interesting. I'm just wary when it says "well documented: No" in comparison to NixOps, in my mind the Nix project isn't very well documented lol
<DigitalKiwi>
you make a key that there's only one of and whoever has the key gets to do deploys
<DigitalKiwi>
like a bathroom pass
<Ariakenom>
pbb: aws route tables dont have file systems
<pbb>
Ariakenom: but you could read the state via tha api?
<Ariakenom>
from which route table, if you havent stored the id?
<pbb>
I don't know the details, can they be labelled and you specify the label in the configuration maybe?
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<pbb>
but that's a good point, NixOps has a much larger scope compared to alternatives, it can not only manage nixos systems but also other systems and resources
<betaboon>
pbb: yeah as Ariakenom said thats why nixops needs state, for routes, vpcs, security-groups etc
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<betaboon>
terraform has to do that as well.
<Ariakenom>
It does feel like there should be a good chunk of stuff you can do without state though. that was my reaction too when looking into nixops, terraform and whatnot.
<clever>
Jarva: you need to use something like `nix-build '<nixpkgs/nixos>' -A system -I nixos-config=./configuration.nix`
<Jarva>
Ah that command
<Jarva>
Yes I did that, will add that change
<{^_^}>
[nixpkgs] @NeQuissimus pushed to master « linux: Add CRYPTO_AEGIS128_SIMD for aarch64 »: https://git.io/JeXNL
<deni>
tilpner: ij clever the error message was misleading (and on the wrong line. The issue was that I had env vars in the form ${FOO:-default} in there. I had to prefix those with '' to escape them.
<{^_^}>
[nixpkgs] @globin pushed 2 commits to staging-19.09: https://git.io/JeXNY
<Jarva>
The command in the guide is `nix-env -p /nix/var/nix/profiles/system -f '<nixpkgs/nixos>' -I nixos-config=/etc/nixos/configuration.nix -iA system`
<Jarva>
Does that work?
Rusty1 has joined #nixos
<clever>
Jarva: you want --set rather then -i
<{^_^}>
[nixpkgs] @B4dM4n opened pull request #74499 → xvfb-run: clean up and update package → https://git.io/JeXNs
<clever>
Jarva: nix-env -p /nix/var/nix/profiles/system -f '<nixpkgs/nixos>' -I nixos-config=/etc/nixos/configuration.nix --set -A system
<Jarva>
Okay, will retry boot with that then
rurie has quit [Ping timeout: 260 seconds]
<Jarva>
I dropped into grub again :/
<clever>
Jarva: can you take a photo of the grub?
<clever>
Jarva: does the grub version say ubuntu?
<clever>
does it have a nixos logo anywhere?
<Jarva>
No it doesn't say anything
<Jarva>
It's a prompt
<clever>
rescue mode?
<Jarva>
Just says grub version 2.02
<clever>
sounds like it couldnt find a grub.conf
<clever>
try using ls to poke around, and find one?
<clever>
and cat to confirm which one it is
noudle has joined #nixos
<Jarva>
boot.bak has a grub.cfg but /boot doesn't
<Jarva>
So inside (hd0,gp3) there's /boot and /boot.bak
<Jarva>
Inside (hd0,gpt1) there's /efi and /nixos
<Jarva>
/efi/ubuntu/grub.cfg exists
Makaveli7 has quit [Quit: WeeChat 2.6]
alexherbo2 has joined #nixos
magnetophon has joined #nixos
<Jarva>
That then points to (hd0,gpt3)/boot/grub/grub.cfg
<Jarva>
which doesn't exist
<clever>
Jarva: is boot.loader.grub.enable = true; set?
chloekek has quit [Ping timeout: 268 seconds]
<Jarva>
Lemme check, if not then it's a really dumb mistake
<jonge[m]>
hey there. if i have some nix file that references `<nixpkgs>` somewhere but i have no such variable set in NIX_PATH, is there any way to tell nix "when you evaluate this file, do it with <nixpkgs> = foobar_some_value`?
<jonge[m]>
but not on the shell - in nix itself
wedens[m] has joined #nixos
<clever>
jonge[m]: you would need to use scopedImport, but thats messy and harms performance
<clever>
jonge[m]: it would be better to just replace all instances of <nixpkgs> with something like `import (import ./fetch-nixpkgs.nix) {}`
<clever>
and if you `unset NIX_PATH`, you can find all of them, because they will hard-fail
<tobiasBora>
Hello, I'm using xfce and for some reasons, I can't use MTP to transfert files from my phone to my computer. Any idea what's going wrong? I'm using thunar, and dolphin does not help either.
<tobiasBora>
I'm trying right now to install xfce.gvfs (takes ages as usual)
lucasvo has joined #nixos
<symphorien>
you shouldn't install gvfs but enable it in configuration.nix
<symphorien>
(but iirc xfce does enable it automatically)
<jumper149>
Hi, I'm trying combine two derivations so that they see each others files. I want to use `pkgs.symlinkJoin`, but I'm not sure how I can use it to get a new derivation.
<jonge[m]>
tilpner: that looks exactly like what i need. Thank you!
<tilpner>
.outPath will have /bin/hello and /bin/tree links
mexisme has quit [Ping timeout: 250 seconds]
hervyqa_ has quit [Quit: hervyqa_]
hervyqa has joined #nixos
drakonis has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
<jumper149>
tilpner: I have that already, I have trouble using nix-build or nix-shell to get into an environment where I can actually use "combined".
<jumper149>
nix-build -E "with import <nixpkgs> { }; callPackage ./default.nix { }" , it builds with this but I still dont get into my desired environment
<jumper149>
and it says: error: attempt to call something which is not a function but a set, at undefined position
<tilpner>
Prefix your argument with { ... }:
<tilpner>
That will ignore all incoming arguments. One of the arguments is system, and there may be good reasons to not ignore them
smatting has joined #nixos
<tilpner>
("_: " will work too)
<jumper149>
What do you mean with argument? The function which is my default.nix?
o1lo01ol1o has quit [Remote host closed the connection]
<tilpner>
The string you pass to nix-env
<tilpner>
The quoted one
o1lo01ol1o has joined #nixos
<immae>
Hello there! I would like to add a custom texlive package, but I don’t find a way to add it, and I’m a little lost in the pkgs/tools/typesetting/tex/texlive/combine.nix file to find what to do (the custom package has a directory structure that could be embedded as is in /usr/share/texmf-* in a regular OS), do you know a way to do that? (the documentation about texlive doesn’t mention that)
hervyqa has quit [Quit: hervyqa]
Neo-- has joined #nixos
smatting has quit [Ping timeout: 250 seconds]
lucasvo has joined #nixos
<tilpner>
immae: Do you want to add one for local use, or for a PR to nixpkgs?
<immae>
for local use
<immae>
it’s my "private" texmf that I want to have access to in my regular builds
<tilpner>
I haven't done either, but here's what I would try first:
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<immae>
(currently I need to `export TEXMFHOME=/path/to/the/custom`, but I’d prefer to integrate it with the other packages)
<{^_^}>
[nixpkgs] @waiting-for-dev opened pull request #74515 → boxes: init at 1.3 → https://git.io/JeXjG
<immae>
(especially because TEXMFHOME is not composable, so I can only have one path there)
<jumper149>
tilpner: ty, that worked!
<tilpner>
Create an attrset foo = { pkgs = [ "${./foo}" ]; }. The inner path may need to be changed to a derivation that copies ./foo to $out
horner has joined #nixos
<immae>
oh
<immae>
I’ll try that
<tilpner>
Use texlive.combine to add foo into your texEnv
<tilpner>
I almost expect that to fail, but the error message would be interesting
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #74472 → wire-desktop: fix a segfault when changing profile picture → https://git.io/JeX7b
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeXjC
<jumper149>
tilpner: Would you mind explaining what those arguments from nix-env -E are about? And why are there no such arguments with nix-shell or nix-build?
<tilpner>
jumper149: I can't really. I expect that it's done to support passing values form --argstr to the expression, and the expression needs to be a function for that
<immae>
tilpner: `error: value is a string with context while a set was expected, at /nix/store/7h17y3db98h4qpk9nj8777k5b2rpgari-nixexprs.tar.xz/pkgs/tools/typesetting/tex/texlive/combine.nix:4:21` (I get your idea, I’ll follow this track and tell if I’m locked again)
<tilpner>
jumper149: nix-env is old and weird, and IMO should be avoided where possible
smatting has joined #nixos
judson has joined #nixos
dejanr has joined #nixos
Neo-- has quit [Ping timeout: 265 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
<tilpner>
immae: I think it would be good to ask about the intended way of doing this, instead of PRing our guessed-together solution
<tilpner>
immae: That question could take the form of a PR though, if you have the time available
o1lo01ol1o has joined #nixos
<immae>
I can take the time to do it, that’s not a problem, but I don’t see what PR I could do to nixpkgs, it seems more to me like a lack of documenation :)
<{^_^}>
[nixpkgs] @andir opened pull request #74518 → chirp: modernize the expression by using buildPythonApplication → https://git.io/Je1ek
<tilpner>
Yes, do the PR, but explain that this is a guessed solution, and ping people who wrote the texlive stuff initially to ask for a more proper solution
<immae>
ok
<tilpner>
If they don't respond in $DURATION, it can be merged and there will at least be any documentation
<tilpner>
If they do, we may learn of a better way
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<immae>
sure
is_null has joined #nixos
<tilpner>
immae++
<{^_^}>
immae's karma got increased to 6
bvdw has quit [Read error: Connection reset by peer]
<Thra11>
clever: If I have a builder on the local network set as an extra binary cache, will that interfere with `nix log`?
<niso>
hmmm i think i broke my nix-env. I used to host a binary cache (which now 502s), i removed it from nix-channel + as a substituter. Now nix-channel --update and nixos-rebuild switch both fail due to being unable to download the narinfo from my previous cache.
alexherbo2 has quit [Ping timeout: 268 seconds]
<niso>
removing ~/.nix-defexpr and /root/.nix-devexpr didn't fix the issue
alexherbo2 has joined #nixos
<tilpner>
niso: How did you remove it as a substituter?
<niso>
tilpner: i commented out nix.extraOptions, however this doesn't take effect since it errors out before
<tilpner>
niso: You can pass --option substituters "https://cache.nixos.org" to override the defined substituters
<tilpner>
niso: Or use --option substitute false to disable it entirely
alexherbo2 has quit [Client Quit]
alexherbo2 has joined #nixos
amanjeev has joined #nixos
amanjeev has quit [Remote host closed the connection]
<clever>
Thra11: i think that depends on which protocol your using to treat it as a cache
<niso>
tilpner: thanks
<clever>
Thra11: there is also `nix-store -l /nix/store/foo` for the old api, which only supports logs on the current machine
<Thra11>
clever: I tried a different package. It looks like it works fine, it just doesn't have logs for the first package I looked for
alexherbo27 has joined #nixos
mexisme has joined #nixos
alexherbo2 has quit [Ping timeout: 276 seconds]
<{^_^}>
[nixpkgs] @c0bw3b pushed to master « mysql80: define pname and version »: https://git.io/Je1fJ
<steell>
i'm seeing my touchpad settings reset randomly on KDE Plasma
<steell>
from what i can tell, the values in my configuration.nix are ignored
<steell>
when i enter the touchpad settings via the gui, it prompts me that my current settings are "not active". clicking "Apply" restores them to their correct values
<steell>
anyone else experience this / am i doing somehting obviously wrong?
<karetsu>
hi, apologies for beating the same drum over and over but I'm still struggling with dbus and dunst, they immediately turn Inactive (dead) after logging in and e.g. notify-send fails silently. `dbus-monitor` gives me the following output when I try to send some text https://gist.github.com/karetsu/fb6634ffc14bf6c778fd78f101556378 - I don't understand dbus remotely well enough to know what :1.53 means
<karetsu>
and why its not provided by any .service file. Anyone able to help?
<{^_^}>
[nixpkgs] @bjornfor pushed commit from @r-ryantm to master « plantuml: 1.2019.11 -> 1.2019.12 »: https://git.io/Je1Tv
<niso>
karetsu: are you configuring dunst via home-manager?
<davidtwco>
Does anyone know how to successfully change nvidia-settings on NixOS? Trying to set "ForceFullCompositionPipeline=On" like in #34977 but once I do so, my second monitor is black - the windows are still present on it "underneath", and the cursor appears, but I can't see any of the windows. Any ideas?
<{^_^}>
[nixpkgs] @xvapx opened pull request #74535 → pythonPackages.pony: add myself as maintainer → https://git.io/Je1TL
<m3lt900>
fetchFromGithub wants a hash of the ' the hash of the extracted directory.'
<m3lt900>
how can I calculate the hash of a dir? .-.
<tilpner>
,tofu m3lt900
<{^_^}>
m3lt900: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
<tilpner>
nix-prefetch-url works too, but then you have to manually piece together the URL
<{^_^}>
[nixpkgs] @andrew-d opened pull request #74536 → buildBazelPackage: also set the SSL_CERT_FILE environment variable → https://git.io/Je1Tt
<clever>
tilpner: nix-prefetch-url --unpack in this case
zupo_ has joined #nixos
<m3lt900>
nix-prefetch-url --unpack $github_url ?
<clever>
m3lt900: the full url to the archive, from the download a rev as a tar link
<niso>
clever: i see, well libnotify definitly has to run
<clever>
$ ls /nix/store/i2ca8vp2rl4q0wg7izs4c2qcs4pd9sxw-libnotify-0.7.8/bin
<clever>
notify-send
<clever>
niso: there is no libnotify binary in bin/
<niso>
clever: oh, you are right, sry!
<clever>
and the more i look at the libnotify package, the more i want to PR it!
<clever>
header files are in the same output as executables!!
<karetsu>
niso: brb
karetsu has quit [Quit: WeeChat 2.6]
karetsu has joined #nixos
<niso>
clever: btw, what's the reasoning of services not autoinstalling their dependencies? (e.g. dunst in home-manager)
<karetsu>
niso: ugh, when I comment out everything except a font setting it works - guess I play the game of toggling everything on one by one and seeing what the culprit is
<niso>
karetsu: always start with a minimal config :P
<clever>
niso: system or user services?
<karetsu>
this one worked in 19.03, way back when I first did it that's how I started ^^
<niso>
clever: user services
<niso>
clever: erm hang on, how do you define user service?
<niso>
karetsu: oh, my bad then, sry!
<clever>
niso: systemctl --user vs systemctl --system (the default)
<karetsu>
niso: its fine, half of the config is probably redundant given updates etc, its about time for a purge :)
<clever>
niso: user services run a duplicate copy for each signed in user, and run as that uid
<clever>
niso: system services are global to the system
<niso>
clever: ah, no i ment home-managers "service modules" (which often arn't services)
<niso>
clever: e.g. mbsync
<clever>
id say those should go under programs.mbsync, of they arent services
<jhoff>
and got this error: ```fatal: '/home/travis/build/repoowner/reponame2/git@github.com:repoowner/reponame.git' does not appear to be a git repository```
evils has quit [Remote host closed the connection]
<deni>
tilpner: Ah I see what you're saying! Thanks for making it clear.
zupo has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
<jhoff>
tilpner thanks, it works, its a little bit confusing in examples in nixos docs
<srid>
Why does this give "error: infinite recursion encountered"? -- `imports = if pkgs.stdenv.hostPlatform.isLinux then (allImports ++ linuxImports) else allImports;`
zupo has quit [Remote host closed the connection]
<infinisil>
srid: Imports can't depend on pkgs
<infinisil>
Because the pkgs depends on the imports (because imports can do stuff like set overlays and such)
<srid>
Ah, how do I conditionally import modules based on platform, then?
<infinisil>
builtins.system might work
<infinisil>
> builtins.system
<{^_^}>
attribute 'system' missing, at (string):271:1
<infinisil>
> builtins.currentSystem
<{^_^}>
"x86_64-linux"
m3lt900 has quit [Quit: leaving]
vandenoever has quit [Read error: Connection reset by peer]
<infinisil>
Yeah that
jhoff has quit [Remote host closed the connection]
sigmundv has joined #nixos
argent0 has quit [Ping timeout: 252 seconds]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<clever>
infinisil: but builtins.currentSystem can differ, if you are evaling an arm expr on x86, and then farming it out to arm build machines
zupo has joined #nixos
zupo has quit [Remote host closed the connection]
<clever>
srid: i think a better solution, is to always add X to imports, but then use mkIf and config= within there, to make the effects conditional
<clever>
The option `services.byron-proxy' defined in `/nix/store/jn9mvgfaj1j3698j0y6mvz3bcksdq45p-source/nix/nixos/cardano-cluster-service.nix' does not exist.
zupo has joined #nixos
<infinisil>
wat
<clever>
the option doesnt exist, because its module wasnt in imports
<clever>
but the mkIf isnt set as far as i can see
<clever>
so the entire block should be a no-op
<infinisil>
the mkif gets pushed down
<infinisil>
so it's config.services.doesnt.exist = mkIf anything
<infinisil>
so it's config.services.doesnt.exist = mkIf false anything
<clever>
while evaluating the attribute 'config.services.cardano-exporter.pgpass' at undefined position:
<gyroninja>
The logs seem to show that services lost connection to dbus and then they started losing connection to the X11 server. I'm not sure if the former are normal, maybe it tried restarting dbus?
lordcirth__ has quit [Remote host closed the connection]
lordcirth__ has joined #nixos
<clever>
gyroninja: nixos will go out of its way to not restart display-manager, but some things like dbus arent flagged as such, and your desktop manager may crash, which effectively behaves the same as logging out
chloekek has joined #nixos
<edef>
oof
<edef>
that explains it
<edef>
is there a reason we aren't flagging dbus as such
anirrudh has joined #nixos
zupo has joined #nixos
<clever>
edef: not sure, it also depends on which desktop manager your using, and if its that fragile
<clever>
in my case, i also had a non-obvious crash when i switched from slim to lightdm, which cost me an hour of time to recover from
<anirrudh>
Hey guys, I'm not too sure as I am a nix noob - but is chat related to nix-darwin allowed here or only over at #nix-darwin?
zupo_ has joined #nixos
<Yaniel>
if the more specific channel exists, that one is preferred
<drakonis>
it would break things
<drakonis>
dbus is used for more than graphical applications no?
drakonis has quit [Quit: WeeChat 2.6]
<anirrudh>
Yaniel thanks!
drakonis has joined #nixos
<Yaniel>
but you probably won't get kicked out for talking about nix-darwin in here
<_pash>
step 7 right at the bottom says to add the directory to the pythonpath
<_pash>
if people will use this in python3.withPythonPackages... how would that work?
<tobiasBora>
I'm trying to see what is the best way to deploy a static website (built with hugo) on nixos (on a raspberry pi). 1) put the website code directly in the configuration.nix folder ==> pb: it would be nice to have instead a separate repo for the website 2) use git submodules ==> maybe an option, but still messy 3) refer directly to the git address of the website in the derivation ==> way cleaner, but there are
<tobiasBora>
two issues. First, I'm not sure how to handle private repos (I'm using gitea if it helps). Secondly, everytime I edit my website, I'll need to copy the latest hash on my nix repo, and re-deploy... Which is a bit long. 4) So this brings me to put the code of the website in a fixed path, like /var/www/, and configure nginx to use /var/www/ as a static folder. But the questions is moved now: how to populate
<tobiasBora>
/var/www. So a simple way would be a simple "rsync" script + local hugo build, but I'd prefer to let my raspberry pi do the build for me... And a script that rsync the code and run hugo + cp on the raspberry pi looks also pretty ugly to me. 6) another option is to use Continuous Integration tools. But I don't want any heavy software (and no docker) on the raspberry pi, as is as few disk space, ram, and cpu
<tobiasBora>
ressources. So ideally I'd use something that is light weight + integrate well with gitea (my website)... Do you think travis CI + nix language deploy makes sense? Or do you have nice advices/general methods for that kind of deployment? Thanks!