#programming

1 messages · Page 139 of 1

violet sand
#

Let em find it the hard way

olive sable
#

uh

#

scp

tender river
#

copy files over ssh

sage crag
#

i did it

#

awa

olive sable
#

awa

tender river
safe path
#

i dunno if i ever told this chat

#

but my pipewire setup looks like a yarn ball

olive sable
#

same here lmao

#

and i havent even used pipewire for that long tbh

safe path
#

im also mixing and matching versions, using the testing version of pipewire-pulse and a self-compiled pipewire on a stable debian system

olive sable
#

oh

#

oh no

rough bloom
#

please don't

safe path
#

so i have to restart those services occassionally from time to time LULE

olive sable
safe path
#

but it works ok

#

all i have to do is to restart audio every time i login to a session

#

surely a normal thing to do

violet sand
#

I own a dedicated mixer, which works with Linux : D
...
Until it doesn't D :

sage crag
#

waaaaaaaaaaaaaaaa

tender river
#

this is the only changes you need to add the impermanence module

olive sable
#

apparently onedrive works in browser and there are people making the gui for arch

sage crag
#

to config.nix

tender river
#

to flake.nix

safe path
sage crag
safe path
#

i considered using an elgato until i realised linux doesn't support the elgato wave software

#

then there is no point getting the elgato mic grrr

tender river
safe path
#

awa

olive sable
#

for me just switching between audio devices is a nightmare cuz i have to scroll through the list of 7 devices, and scrolling makes the sliders move too

safe path
#

omg ya

#

pavucontrol freaking sucks

opaque sigil
safe path
#

alsamixer all the way

violet sand
safe path
#

i compiled one myself too

rough bloom
opaque sigil
#

nah just pipewire

safe path
violet sand
opaque sigil
#

and some ladspa plugins

safe path
sage crag
#

im gluelessing

olive sable
#

i like having it update when i change a file

opaque sigil
tender river
# sage crag erff

then, in configuration.nix

  1. change / mountpoint from / to /persist
  environment.persistence."/persist" = {
    enable = true;  # NB: Defaults to true, not needed
    hideMounts = true;
    directories = [
      "/etc"
      "/home"
      "/tmp"
      "/var"
    ];
  };

to just allow everything, you'll be able to narrow it down later neuroPogHD

safe path
#

i love easyeffects, except the one that is distributed with debian is missing lots of features

tender river
#

close enough!

safe path
#

compiling it from scratch required me to modify source files

sage crag
safe path
#

it was great i love software

olive sable
#

well anyways, imma boot into linux now

sage crag
small anvil
#

This information is true and is approved by the alcohol gods

tender river
sage crag
tender river
#

the {a,b,c}: ... is a function

#

its a pattern match

safe path
#

and omg has anyone here enrolled in safeboot and luks autodecryption with tpm?

#

why is it such a pain

#

sometimes nvidia dkms doesn't trigger a dracut and i can't get to i3 grrr

rough bloom
olive sable
# violet sand Dam tats a lot of devices

3 monitors + oculus rift + spdif + my bt headphones + the built in DAC my mobo has for 600ohm headphones, nothing is connected to it but it still gets picked up by linux

noble zodiac
opaque sigil
violet sand
olive sable
#

idk how lmao

tender river
# sage crag yoke

make sure to backup /etc/nixos (or wherever you're putting these files) to persistent storage!!!
and then just nixos-install --flake /etc/nixos#<hostname>

safe path
#

it's exactly what the sentence says, i've enrolled my keys into safeboot, and configured luks autodecryption with tpm

raven dock
#

Ain't it great when your Proto AGI all of a sudden starts working

safe path
#

but to do that you must also sign nvidia drivers, and if it's not signed it doesn't load during boot

violet sand
safe path
#

you sign it (and install the key) by running dracut after updating drivers, but sometimes it doesn't run grrr

#

then u disable safeboot, and now you have to search for your passphrase because the tpm detects that u are not on safeboot

noble zodiac
#

You are talking to the wrong person. i use full system encryption and have to answer to different passwords for two luks, one for the boot partition and one for root

olive sable
safe path
#

tpm unlocks them for me

olive sable
opaque sigil
#

bro it takes like 5 seconds to commit & push to github

noble zodiac
#

iono, I just type the password evilShrug

rough bloom
safe path
#

my password is 50 chars long grrr

olive sable
sage crag
noble zodiac
#

mines like... iono, 25-30 ish

safe path
#

i once felt an unreal amount of adrenaline trying to get into my pc 30 seconds before a meeting started

tender river
#

awa

rough bloom
safe path
#

typing a 50 char password twice, booting into the system, restarting audio, finally launching the damn browser to join the meeting

noble zodiac
#

also, fun fact, its configured in a way that once the system is booted /boot isnt even mounted anymore. So when I do system updates I have to decrypt and mount it again

safe path
violet sand
sage crag
#

awaa

noble zodiac
#

now this one is on purpose tho

safe path
#

great opsec i think

tender river
# tender river then, in configuration.nix 1. change / mountpoint from / to /persist 2. ```nix ...

@sage crag impermanence recommends this setup for mountpoints

{
  fileSystems."/" = {
    device = "none";
    fsType = "tmpfs";
    options = [ "defaults" "size=25%" "mode=755" ];
  };

  fileSystems."/persist" = {
    device = "/dev/root_vg/root";
    neededForBoot = true;
    fsType = "btrfs";
    options = [ "subvol=persist" ];
  };

  fileSystems."/nix" = {
    device = "/dev/root_vg/root";
    fsType = "btrfs";
    options = [ "subvol=nix" ];
  };

  fileSystems."/boot" = {
    device = "/dev/disk/by-uuid/XXXX-XXXX";
    fsType = "vfat";
  };
}

and i recommend something like that too nub

safe path
#

btw instead of tpm u can enroll with a hardware key too

#

if i go full tinfoil i can even do both

#

i can also delete the password field using mokutil but that'll be crazy Glueless

noble zodiac
#

yea but then I lose the key and need backups for that as well and so on

safe path
#

VedalOh not mokutil, systemd-cryptenroll

#

am i stupid

tender river
# sage crag awaa

learning a new programming language, a new distro, and the entire underdocumented ecosystem around it is a lot to take in you've got this neurosHug

noble zodiac
#

naaah, I like systemd to do the least things possible

safe path
#

i had a anti-systemd phase

#

but now i am tired

noble zodiac
#

I'm not gonna rip it out of arch by hand or use a fringe distro just to not use it

olive sable
#

ah is konii changin linux distro?

tender river
#

yuh

safe path
#

vedalPray one day i will own a supercomputer to daily drive QubesOS

sage crag
#

do you prefer zswap lz4 or zstd

noble zodiac
#

I'm losing my sanity trying to manually setup a LAN webrtc connection between a desktop and mobile browser

tender river
safe path
#

Hmm webrtc shouldn't have an issue with that

tender river
#

actually i dont use zswap anywhere anymore NeurOhISee

sage crag
tender river
#

wait or do i

noble zodiac
safe path
#

oh

#

good luck xdx

noble zodiac
#

passing the sdp offer and answer around with qrcodes and all such things

tender river
#

but many people prefer to choose the settings manually

#

the equivalent to writing your own fstab

#

but in a proper language with proper documentation

rough bloom
rare bramble
#

I like how I barely understand 1/3 of this convo as a windows user

tender river
violet sand
#

Btw might be worth asking, does anyone know how to break this monstrosity out from 1, 10 channel device, in to 5, 2 channel devices?

tender river
tender river
#

you can just move it to configuration.nix if you want

#

or just know that its there

#

the important part is that what i wrote above with explicit fsType options is a configuration written from scratch

sage crag
tender river
#

basically nix just merges the settings from configuration.nix and hardware-configuration.nix

tender river
rough bloom
#

yeah, just don't ever invoke nixos-generate-config again YEP

#

(there's really no reason to)

violet sand
sage crag
#

do i bother changing it

#

or just leave it

safe path
rough bloom
tender river
# sage crag <:enub:1163912230585237655>

awa awa awa change "/" to "/persist" and add the tmpfs entry out of the config i listed above and uuh that should be it, you can even remove home from the list of directories protected from impermanence since its just on a subvolume

violet sand
#

How does one do that? (Or at least where do I look for more info on this topic, cuz I didn't find much last time I looked)

violet sand
safe path
#

if you have pipewire-pulse u can use pactl to create the null sinks (this part is googleable)
then u can use your visualizer to connect them up

#

i haven't tried creating null sinks without pipewire-pulse yet Hmm

opaque sigil
#

it's just a bit of json

violet sand
safe path
sage crag
#

i did it

#

i still dont know what doing

#

awawa

rough bloom
tender river
#

onto persistent storage

violet sand
tender river
#

then nixos-install --flake /etc/nixos#<hostname>

tender river
#

you might have to fix some errors

opaque sigil
tender river
#

uh gonna be gone for like 5 minutes

rough bloom
violet sand
sage crag
#

i got a

#

"environment.persistence does not exist"

#

bwaaing

sage crag
#

smort

opaque sigil
rough bloom
violet sand
rough bloom
#

the "automatically" is referring to the fact that you just have to edit it yourself nub

#

there are no options to nixos-generate-config that enable this

violet sand
opaque sigil
rough bloom
#

I like carbon but the border shadow thing is really ugly, I always disable it

#

I can see the image borders neuroSCHIZO

violet sand
sage crag
#

why console.keyMap set twice

#

i set it once

#

awawa

tender river
#

if you're too lazy to figure it out you can use the lib.mkForce function

sage crag
#

apparently set in /nixos/modules/config/console.nix

tender river
#

instead of keyMap = ...; keyMap = lib.mkForce ...;

sage crag
sage crag
tender river
#

which doesnt look like something you'd normally want to overwrite

#

no

#

no

#

death neuroAYAYA

#

@open copper @rare bridge

rough bloom
#

neuroWAJAJA foiled by no embed perms

sage crag
open copper
#

are you sewrious

sage crag
sage crag
#

qa

tender river
#

so useXkbConfig conflicts with keyMap

sage crag
#

i dont have xserver enabled

violet sand
#

Ahh, I just had a math problem that boiled down to 1-1+1 and I inputted 3 as a solution.
NeuroGutter

tender river
#

then probably set useXkbConfig to false neuroErm

rough bloom
#

ye, looks like it will try to use the settings from services.xserver.xkb then
should be safe to disable it nodd

violet sand
#

I don't like this

sage crag
tender river
#

linu

#

torvald

sage crag
#

why broke

#

bwa

#

cant find typo

violet sand
tender river
#

its not hardcoded

#

thats just the only attrpath that exists in nixosConfigurations

rough bloom
sage crag
#

correct

#

bwa

sage crag
#

it querying

#

maybe i sgoulsnt hage pmade it build rhe entire system

#

why you need busybox

#

why you need cargo

#

stop

opaque sigil
#

did you actually set it to build everything

rough bloom
#

oh, you chose nixos-unstable
and you want to rebuild the entire system? so that was a lie nvm not a lie
good luck neuro7

sage crag
opaque sigil
#

ok good

sage crag
#

not sure if binary or source

opaque sigil
#

should be a couple mins then

sage crag
opaque sigil
#

binary

sage crag
#

i want to build

#

awa

rough bloom
#

usually you won't have a direct dependency on the source code so it shouldn't be fetched

sage crag
#

i can just rebuild it after anyway

#

mayhaps

#

why it need cargo if not building anything

rough bloom
#

not really, your whole system will already be in the Nix store, so it's cached locally

sage crag
#

i reject this

rough bloom
sage crag
#

why it need ghc if not building

opaque sigil
#

shellcheck neuroKufufu

#

you can't escape it

sage crag
rough bloom
sage crag
#

it must be building something

opaque sigil
#

it downloads the entire dependency graph

#

not just the root

tender river
#

no

#

it does not

#

shellcheck might reference some paths from ghc

opaque sigil
#

does it not?

sage crag
#

erf

rough bloom
sage crag
#

i did the gcc.tune gcc.arch thing

#

is it gonna build everything

tender river
#

yes

sage crag
sage crag
opaque sigil
sage crag
#

nevermind it broke

tender river
#

i'd recommend doing it after getting a working system first neuroErm

rough bloom
opaque sigil
#

okay i was only joking but it looks like shellcheck actually does reference ghc

#

makes sense ig

sage crag
#

a "x86_64-linux" with features {gccarch-znver4} is required to build (some glibc thing), but I am a "x86_64-linux" with features {benchmark, big-parallel, kvm, nixos-test}

tender river
#

i think your options are limited when you're in the iso

sage crag
#

erb

tender river
#

just get a working system first and use it for bootstrapping a complete rebuild from source

sage crag
#

yoke

#

how do i get uhh

#

a DE

#

and also

#

osu

tender river
#

services.desktopManager.plasma6.enable = true;

tender river
#

no

#

wrong answer

#

the correct answer is

violet sand
tender river
#

you have two options

  1. nix-gaming https://github.com/fufexan/nix-gaming/ (updated daily, i use it but i dont recommend it until you're more comfortable with nix)
  2. add appimage-run to systemPackages and just run the appimage (the easy option that just works the same way as on arch)
rough bloom
#

osu-lazer-bin is fine in my experience

tender river
#

its gonna be outdated

rough bloom
#

is there any issue with it other than being in Nixpkgs

tender river
#

nixpkgs lags updates by up to a couple weeks

#

also not tachyon

rough bloom
rough bloom
violet sand
tender river
rough bloom
#

indeed

#

I play rarely enough that it's not permanently installed, it's just a nix shell command colonthree

sage crag
#

mount point /boot which backs the random seed file is world accessible

#

uhh why

tender river
#

ignore neuroPogHD

sage crag
#

but it security hole

#

bwa

tender river
#

you can manually chmod it

sage crag
#

i could set the chmod in hardware-configuration.nix

tender river
#

either way your config not gonna take effect until you boot into your os

#

neuroStare and dont forget to back up any config fixes too
i don't trust nixos-install to copy your config to the final system, it may or may not do it

tender river
#

services.flatpak.enable = lib.mkForce false;

rough bloom
sage crag
#

is it safe to ctrl+c this

sage crag
#

orca

#

i dont need a screen reader

tender river
tender river
ancient hatch
tender river
tender river
# sage crag thanks

it also adds the following optional packages by default
you can do something like environment.plasma6.excludePackages = with pkgs; [ konsole ]; to exclude konsole as an example

#

(this isnt a general nixos thing just something the plasma module does)

olive sable
#

apparently hyprland (uwsm managed) doesnt work immediatly when starting linux, but just normal Hyprland does

tender river
sage crag
#

fancy

tender river
#

obviously there may be minor or major issues if you do something like update your kernel or graphics drivers

#

so sometimes making it switch on boot rather than immediately is the better solution

olive sable
#

i think now that im using linux is the only time ive ever seen my gpu below 30W.

sage crag
#

how do i

#

dotfile

#

not right now

#

will later (maybe)

sage crag
#

if not you may be able to get it lower

olive sable
#

i have no clue

sage crag
#

do not wory neuroKufufu

tender river
sage crag
#

hom

#

after nixos-install can i just reboot

tender river
#

ideally

sage crag
#

i did not make a user account

tender river
#

single user mode erf

sage crag
#

i left btrfs compression on the tmpfs

#

erf

tender river
#

i think you can just rerun nixos-install with no issues

#

you have to 100% remount /boot and /nix

#

the rest is expendable

sage crag
#

why does systemd-boot have entries for both generation 1 and 2

tender river
#

nixos preserves old generations and you can boot into them

#

these generations are also gc roots

sage crag
#

i want it banished

tender river
#

you can set up autogc or run gc manually every once in a while

tender river
sage crag
#

banish

tender river
#

when you expect your new config to work and reboot

#

but then it doesnt work

opaque sigil
#

if you switch to grub you can nicely tuck away the other generations into their own submenu at least

tender river
#

thats when you boot to the old generation

#

and yes grub has old generations in a submenu

#

but systemd-boot doesnt support that

rough bloom
#

having at least one or two generations of history that you can boot into is very useful
do not banish

tender river
#

it's saved me countless times, my laptop generally just works but my server/router/phone are much more prone to breakages after kernel updates (classic arm)

sage crag
#

can i safely reboot

#

or do i need to rebuild

tender river
#

yes

#

wait no

#

if you changed the config

#

of course you have to nixos-install it from scratch

sage crag
#

bwa

tender river
#

what i meant is

#

you dont have to wipe the system

#

you just have to mount it

#

and run nixos-install

#

it shouldnt take long as most packages are already in the nix store

sage crag
#

it broked

rough bloom
#

btrfs subvolume does not exist probably

sage crag
#

i didnt put persist as btrfs subvol

#

bwa

tender river
# sage crag bwa

you can also boot.shellOnFail = true; to unlock a secret third option

#

wait wrong option name uuh

#
  boot.kernelParams = [ "boot.shell_on_fail" ];
#

this one

sage crag
#

so

#

my subvolumes are

#

root
nix
swap
home

#

my fileSystems contains /persist not / because i was told to replace it

#

bwa

#

and hardware-config uh

#

it said options defaults not exist

tender river
#

hmm try verifying the uuid maybe?

#

failing that i think your best bet is adding boot.shell_on_fail to kernelParams and seeing what went wrong from within the initrd itself

rough bloom
#

the error message makes it sound like the subvolume directory in the root volume doesn't exist but surely that would fail on subvolume creation

sage crag
#

mm uuid

tender river
#

thats the subvolume uuid you need the partition uuid

sage crag
#

erf

rough bloom
#

I did not know that subvolumes had UUIDs neuroNOTED

tender river
sage crag
#

i used blkid

tender river
#

works

sage crag
#

i dont see those uuids

#

for btrfs its different

#

should i regenerate hardware-config or just edit the ids

tender river
#

just edit them

sage crag
#

is gonna take forever

tender river
#

om right you dont know vim

tender river
#

but

olive sable
#

i dont fully understand how this Bluetooth stuff works yet, but i have audio now neuroHypers

tender river
#

bad news is you're first gonna have to mirror the exact setup you're gonna use (/ as tmpfs, etc) so hardware-configuration ends up being 100% correct this time

#

should be less work than editing uuids in nano

sage crag
#

good job for learning it though

olive sable
tender river
#

iwd my beloved

#

i hate networkmanager

opaque sigil
olive sable
#

i love how there is a folder named desktop and it doesnt put anything on the actual desktop

warped narwhal
#

My 5950x can't run my memory at the same settings as my 5800x3d, this is truly sad Sadge

sage crag
#

bwa

olive sable
sage crag
#

but i was supos to

#

vwa

olive sable
rough bloom
# olive sable hyprland

no, I know the compositor
I just meant what chayleaf said, there is no desktop to place shortcuts on or anything mahiro

warped narwhal
olive sable
#

my 5950x can run my 4 stick at 3600 16 19 19 38 at T1, but if i try to overclock it even a litle i start getting memory errors

#

and blue screens every 10 or so hours

#

cl 18 as well iirc

warped narwhal
#

Yeah, I can get it to boot with the timings, but memtest gives me 5-6 errors, so I don't want to risk it

nocturne olive
#

My i7-12700K can overclock my 3200 MT/s RAM to 3800 MT/s easily

olive sable
#

is that 2 or 4 sticks?

nocturne olive
#

2

#

2x32GB

olive sable
#

ye, 2 sticks are generally a lot easier to run

warped narwhal
#

Yeah, 4 sticks is much harder to run, especially on amd

nocturne olive
#

I do hear Intel has better memory controllers

olive sable
#

that is mostly true ye

tender river
# sage crag vwa

oh another idea for you (maybe im too late) you can replace the uuids using sed

sage crag
#

ive been isntalling niz for a milion hour

#

but im finally booted

tender river
#

yippie vedalPet

tender river
sage crag
#

i do not have sddm

tender river
#

you can replace switch with boot to change config on boot rather than immediately

#

or with build to build the config but not apply it at all (useful if you want to use it later or check it for errors or something)

sage crag
#

whenever i press ctrl+up i go to rescue mode

tender river
#

or with test to apply the new config but dont save it as a bootloader entry

sage crag
#

how do i exit rescue mode

tender river
sage crag
#

nop

tender river
#

awa

sage crag
#

i changed ttys

tender river
# sage crag i do not have sddm

my bad neuroCatUuh apparently you're supposed to also add this

  services.displayManager.sddm.enable = true;
  services.displayManager.sddm.wayland.enable = true;
#

i thought the plasma module does that by default

sage crag
#

i did that

#

gogle

tender river
olive sable
#

hyprland has hdr right?

sage crag
#

uh

#

ymmv

#

nvidia

olive sable
#

oh

sage crag
#

more likely to work on gnome or kde

olive sable
tender river
sage crag
tender river
olive sable
rough bloom
sage crag
#

wa

olive sable
#

hmm

#

everythin became dimm

rigid snow
#

increase display brightness duh

sage crag
sage crag
tender river
tender river
#

the defaults are more sane in some regards and a bit insane in others

#

for example it doesnt save history by default

#

its easy to change it though

#

also theres znver5 too but i suppose its pretty new

olive sable
#

turning on hdr also changed the order of my monitors for some reason

sage crag
#

home manager

#

it seems like effort

tender river
#

it does seem like effort so dont do it for now cupsama

#

it shines the most if you have a heavily customized setup

#

if you just use a de its not gonna be super useful

sage crag
#

h

#

this is konii on nix

#

yup

tender river
sage crag
#

electron is using x11

#

ew

tender river
#

awa

sage crag
#

im wondering if i should do all of my configs in /etc/nixos or if i should do them in ~/.config

#

🤔

tender river
#

i keep my config in ~/code/nix/dotfiles2 (because i copied it from ~/code/nix/dotfiles at some point for a reason i dont remember and uh i dont need the original /dotfiles anymore but i keep using dotfiles2 for no reason)

tender river
sage crag
#

i set it

#

probably need to relog

tender river
sage crag
olive sable
#

this should be fine i guess

#

im not too sure what the actual benefits of vrr are but it supports is so why not i guess

#

pretty sure that would mean i get gsync???

fading olive
#

I had some issue with bitdepth 10 and ended up turning it off. I think it caused some conflict with steam

olive sable
#

i barely use steam so i dont see it as a problem for now

fading olive
#

or it might have been something with kitty and displaying images

sage crag
#

NUR

tender river
#

most things are available in nixpkgs

#

i only use nur for like uuh

#

firefox extensions

sage crag
#

klassy

tender river
#

yes thats literally all i use it for

sage crag
#

i dunno how to install klassy

#

have NUR in my flake.nix

tender river
#

{ a, b, c, d }: ... is a function that takes an attrset (roughly the same as a key-value map, or js object) with keys a, b, c, d

uneven pulsar
sage crag
#

its 10pm im not thinking about declarative nix syntax

tender river
#

so what i'm getting at is

#

since you have added an input

#

you need to make outputs take it

#

{ self, nixpkgs, impermanence, nur }

sage crag
#

i have seomthing

olive sable
#

welp, somebody from #programming just got hacked and dm'd me the whole bot list AquaCry

tender river
sage crag
#

who got got

olive sable
#

@faint ferry this guy

sage crag
#

ripbozo

amber fractal
olive sable
#

its the dude that wanted help with his live2D llm integration

sage crag
#

om

#

bingo

amber fractal
#

Should be a bingo, isn't a bingo

olive sable
#

goota admit, im impressed. its not mr. beast this time, its drake

tender river
# sage crag you

then just add pkgs.nur.repos.shadowrz.klassy-qt6 to systemPackages probably nub

glass flower
tender river
#

yipie

sage crag
#

yipi

tender river
#

everything from pkgs is autoimported using with pkgs; so you dont have to use the full pkgs. path, just in case

olive sable
glass flower
sage crag
#

live2d-hack-your-computer

#

mhm

tender river
sage crag
tender river
#

wait let me send my code

tender river
#

this is how you override packages' inputs in general

#

each package is a function that accepts an attrset (object, record) with specific arguments

#

nix has code that looks up which arguments the function needs and takes them from pkgs

#

not hardcoded in the language

#

thats kinda the most interesting part of nix, the language is so simple, the entire module system is custom written, not built into the language

sage crag
#

i dont know how to add this

#

its giving me a headache

tender river
#

awawawa

#

easiest way is

#

you know how in flake.nix you add modules from inputs

sage crag
#

yeh

tender river
#

you can just put a module in there using the same syntax you use in configuration.nix

sage crag
#

sound bad

tender river
#

add this module

{ environment.systemPackages = [ (nix-gaming.packages.x86_64-linux.osu-lazer-bin.override { releaseStream = "tachyon"; }) ]; }
#

there are other options too

sage crag
#

awa

#

i will try

#

where it go

#

bwa

tender river
#

in modules

#

you just put that entire { ... } thing in there after ./configuration.nix (or anywhere really)

#

wait you havent added nix-gaming yet though

#

do that too neuroGlorp

sage crag
#
nix-gaming = {
      url = "github:fufexan/nix-gaming";
    };
#

awa

tender river
#

also do inputs.nixpkgs.follows

sage crag
#

okie

tender river
#

it basically means "i know you tested against your own nixpkgs version but i want you to use mine instead"

sage crag
#

it somethinging

#

waho

tender river
#

ehe

#

generally, in nixos nothing is documented so to find out what options a package accepts you just read its source code

#

ideally nix edit nixpkgs#konsole should open konsole's code for you

#

(edit is a misnomer it wont be a writable file, but it does open with EDITOR so eh close enough?)

sage crag
tender river
#

awa

#

i like to update osu! more often than my system so i have a separate flake i use just for osu

#

nix flake update - update all flake inputs in the lockfile to their latest version
nix flake update nix-gaming - only update the nix-gaming input

amber fractal
#

The Nix cult is growing

tender river
#

then inputs will be available to configuration.nix in the same manner pkgs or lib is (add it to the module inputs and boom its there)

sage crag
#

im trying to do this but im stupid

tender river
#

should make it work hopefully

sage crag
#

aaa

tender river
warped narwhal
#

new cpu go brrrrrrrrrrrrrrrrrrrrrrr

sage crag
#

its

#

reading

#

time

tender river
#

its separate

sage crag
tender river
sage crag
#

why is it redownloading vulkan every time i nixos-rebuild switch

tender river
sage crag
#

why, in fact

#

ah feck i need opentabletdriver

tender river
#

hardware.opentabletdriver.enable = true;

#

thats it

sage crag
#

i like it whne its just

#

a flag

#

wahoo

#

dotnet-runtime

#

sadge

#

i think im going to have a terminal with nixos/configuration.nix permanently open at this rate

tender river
#

the blessing and the curse of nixos is that your entire install is just a program

sage crag
#

lol i logged out and logged back in and now im in some tty

#

bwa

#

generation 13

desert plaza
tender river
#

i only have 60 generations and 129 home generations but i reinstalled at some point so most of my config was already finished at generation 1

desert plaza
sage crag
#

aaaa

#

otd is gtk style theming

#

why

tender river
#

dotnet

sage crag
#

holy

#

its smooth

#

my download speed is also better?

#

how is this happening neuroCry

#

i noticed that my system utilisation was lower than arch, so presumably that has something to do with it

#

osu is running on x11

#

how sad

tender river
#

SDL_VIDEODRIVER=wayland

#

you can pass that using .override too

#

uh wait

#
....override {
  command_prefix = "${pkgs.obs-studio-plugins.obs-vkcapture}/bin/obs-gamecapture env SDL_VIDEODRIVER=wayland";
  ...
}
#

this is what i use

sage crag
tender river
#

you can also just set SDL_VIDEODRIVER=wayland systemwide

#

but some games break from that

#

actually you can go further and set SDL_DYNAMIC_API to nix-provided sdl2 to make games use system sdl if their sdl version is outdated

#

but this naturally has even more potential to break everything

tender river
#

you can remove that part if you want

tender river
#

wherever you also put releaseStream = "tachyon";

tender river
#

broken identation

sage crag
#

for some reason plasma is putting a tablet cursor over osu

#

bwa

tender river
#

best viewed with tab size 4

#

here not my problem anymore

sage crag
#

nixos-rebuild is reaally slow

tender river
#

i agree neuroSadge

#

thats why i often prefer to change some settings manually avoiding the overhead of nixos-rebuild and only then write the final config down in my nix config

#

improving it would probably require major architectural changes

sage crag
#

they should do it then enub

tender river
#

iteration speed is one of the biggest pain points of nixos imo

#

like i have stockholm syndrome but even i cant deny that one

sage crag
#

for some reason i cant use my tablet in discord

tender river
#

"i dont wanna manage this with nixos" does not usually mean "the native configuration is much more intuitive than the nixos way", it simply means "nixos is too fucking slow"

sage crag
#

and whenever i open osu it overlays a tablet cursor on top

#

like the input just doesnt go through to discord

#

i think kde is screwing with it

tender river
#

or whatever it is

sage crag
#

it was

#

i just changed it

sage crag
tender river
#

will join in a minute

tender river
#

@cobalt vessel

opaque wharf
#

I just woke up and done backreading

#

konii nix arc lol

rigid snow
desert plaza
amber fractal
hoary lion
hoary lion
opaque wharf
peak sluice
#

Ahh, will move it there

opaque wharf
#

You can talk about it here too just fine

opaque wharf
#

Funnily enough, Sam is now on his Linux arc too

opaque wharf
cobalt sigil
vestal torrent
#

I am cool.

peak sluice
#

Hmm i posted my project and it disappeared, does it require vetting or something?

peak sluice
#

Probably lol

vestal torrent
#

Lol

#

I'm trying to make a game bro

amber fractal
#

Depending on what it is, mods may not like it (aka competing with 🐢 AI)

vestal torrent
#

I don't know how watching an AI anime girl is going to help that but

peak sluice
#

First time here, just posted my MVP backend for a Neuro inspired PTT AI fuled VTuber, i dont know the nuances of this discord or community, so trial by fire i guess

amber fractal
olive sable
peak sluice
#

Lol, is that a no no? Sharing the secret sauce?

vestal torrent
#

Chat vedals out my door I haven't told him that I secretly stole all of neuros data SHH

amber fractal
vestal torrent
#

The chat has been silenced

amber fractal
#

nuh uh

#

AI is a common subject, but AI Vtubers is strictly banned

#

As a silent rule

peak sluice
#

Wasnt sure how open sourced friendly this discord is to posting software that does some of the same things

peak sluice
#

Ahh

peak sluice
#

Well, you live you learn, its out there

#

Lol

vestal torrent
#

Wait a minute I just read the rules I can say fuck?

#

Yo hold up there's a moderator at my door brb

amber fractal
#

13+ your good

vestal torrent
peak sluice
#

Neuro gonna swat me for posting how the sandwiches are made

amber fractal
#

Discord itself is 13+ after all, gotta obey that one

cobalt sigil
vestal torrent
cobalt sigil
#

either of them

stray dragon
vestal torrent
peak sluice
#

I built it partly because i wanted one, but mostly to help my son with the back end for his AI science fair project

tender river
vestal torrent
#

I'm in 7th grade programming classes

#

My science shit is very no fancy q

#

It feels like we've been talking about python for 12 years

peak sluice
peak sluice
#

Source : im a 40 year old dev

vestal torrent
#

I'm heading back to the chess club😭

peak sluice
olive sable
#

fucking numlock i swear

vestal torrent
#

I'm sorry but what are mobile games

#

I see them all the time and then I just question

#

WHY

amber fractal
olive sable
#

cuz its cheap, its easy, and its free

#

99% of mobile games are jsut slop for making money

amber fractal
#

Seconded, mobile games have no reason to be good

olive sable
stray dragon
desert plaza
amber fractal
olive sable
#

ye idk why but it keeps getting disabled

#

each instance of kitty needs me to re-enable it

#

same thing for disocrd

desert plaza
#

quit using numlock then neuroTomfoolery

olive sable
#

its not a system wide thing for some reason

desert plaza
#

i mean

#

numpad

vestal torrent
olive sable
#

i bought the numpad, im gonna use the numpad

vestal torrent
#

I'm about to make salmon Nora over here

olive sable
#

this keyboard was unreasonably expensive, ill use each key

vestal torrent
#

Forget to neruo

amber fractal
vestal torrent
peak sluice
desert plaza
olive sable
#

no i didnt

#

but i still paid extra for it

desert plaza
#

i have a numpad, i do not use it

peak sluice
#

He bought the keyboard and smashed it, so now only the numpad works, so for all intents and purposes he bought the numpad

olive sable
#

nah i dont smash my keyboard

#

it would hurt my empty wallet

desert plaza
#

why did you buy a keyboard with a numpad neuroTomfoolery

olive sable
#

it has rgb

desert plaza
#

mine has rgb too neuroWicked

#

and a missing æ key

olive sable
#

i got a k70 rgb pro

amber fractal
desert plaza
#

i am not missing Rctrl

olive sable
#

i have this one

#

except that it was on sale when i got it

#

i paid 130

#

so far nothing is broken besides the corsair logo led, and the numlock led

desert plaza
#

i applied pressure to the membrane switch with the missing keycap to type this letter: æ

olive sable
desert plaza
olive sable
#

the reason those leds dont workis cuz there was a short circuit on the daughter board those leds are on, and i jsut cut of cables till it stopped short circuiting

amber fractal
olive sable
#

is that what that button is for?

#

i have probably pressed that less than 20 times

amber fractal
#

I forgot what button copilot replaced

olive sable
#

i didnt know they replaced a button

ivory plinth
amber fractal
#

useless button

olive sable
#

understandable

#

those bottom right buttons are useless

#

i dont even use right alt or whatever the fuck the fortnite button is supposed to do

amber fractal
#

I'll give grace to Ralt for sometimes being altgr

ivory plinth
#

until you have to press a key far from the left with one hand ReallyInnocent

olive sable
#

right alt is altgr on belgian keyboards, but im not completely on board with it

desert plaza
#

i have altgr ReallyInnocent

amber fractal
#

I prefer linux's apporach of a compose button

desert plaza
#

or $

amber fractal
olive sable
#

ah yes

amber fractal
#

The day discord allows me to do Compose x d x = :xdx: will be a good day

desert plaza
olive sable
#

lesbian?

desert plaza
#

erm idk neuroTomfoolery

safe path
amber fractal
olive sable
amber fractal
olive sable
safe path
opaque wharf
bitter coral
opaque wharf
#

Specifically, where it talks about enable it for every new tty

olive sable
midnight sigil
#

oh nvm it is an art program

bitter coral
#

I need to find a tutorial on animating ui elements because me hiding / revealing the layer section of the ui modifies its position which doesn’t take resizing the window into account.

olive sable
#

you have multiple ways to do it

#

but for animated ui i like having multiple textures in the same image file and just changing the uv's

bitter coral
#

I mean specifically for like sliding the ui off screen, I feel like that solution would be a bit odd for that use case.

olive sable
#

oh ye

#

for that just actually slide it

#

from the sound of it you should use relative cordinates?

bitter coral
#

I’m using the animation player node for it right now so I think I have to do it in a script instead if I want to use relative coordinates.

#

I think that is the solution for now though if I don’t find anything else.

olive sable
#

im assuming you just want somethin like screen.width - x or whatever?

bitter coral
#

I could do it like that, I’d just have to figure out how to complete the animation in a set duration which should be pretty doable.

olive sable
bitter coral
#

I assume I should also do something like y = screen.height/2 just to be safe.

#

Technically it would be screen.height/2+ui.height/2

fast pagoda
#

i need to fix my cooling so bad
my shit is throttling down so hard compiling this kernel

#

someone tell me how im getting 2.5ghz all core compiling

#

how can this be

olive sable
fast pagoda
#

time for new thermal paste

olive sable
#

-# cant go wrong with noctua

fast pagoda
#

i have a corsair H150i on this

#

it's been like 2 years since i reapplied thermal paste though

#

i think it's finally had it

#

kinda thought i'd have swapped the cpu by now though

#

when's the 9950x3dx2 coming out

olive sable
#

10950x3d probably soon-ish

#

unless they skip 10 and go straight to 11

#

like how they did 5 to 7

fast pagoda
#

maybe since i cant bring myself to pay $2500 for a 5090 ill just grab me a 9995WX for $10,000

olive sable
opaque wharf
fast pagoda
#

2 years is kinda while

olive sable
#

nah it shouldnt afaik

#

most thermal past should at least last 5

fast pagoda
#

i dunno i would expect this to not have it at 90c and throttling down like this

opaque wharf
#

Or you can try to buy that phase change stuff

fast pagoda
#

i generally try to swap it every few years

#
  • i definitely need to vacuum the thing
opaque wharf
#

So you never have to repaste

opaque wharf
fast pagoda
#

i have wanted a phase change cooler ever since i saw people rigging up shit like this 20 years ago

#

ln2 but sliiightly less horrid to use :^)

#

well, a lot of the performance of ln2 anyways

#

wew

#

this could be me

#

turn on pc, begin compiling kernel

#

compressor kicks on like an outdoor AC unit

opaque wharf
#

The PTM thingy

fast pagoda
#

no no you say phase change around me this is what you're talkin about

#

but yeah i have seen those

olive sable
opaque wharf
#

Phase change cooling is just straight up a refrigerator and its refrigeration cycle neurOMEGALUL

fast pagoda
#

these things will maintain below 0 cpu temp venting the heat to the room just fine

#

yes it's literally just a refridgeration/heat pump cycle

#

you can rig up an old AC unit for it

opaque wharf
fast pagoda
#

literally 20 years yes

deep badge
fast pagoda
#

where fish

#

i want to see a catch

opaque wharf
faint sandal
opaque wharf
#

Creating a cli fishing minigame using Rust

fast pagoda
#

mfw just compiled kernel with avx512//zen4 opts instead of not that when i dont have zen4 rn

#

FKKKKKKKKKKKKKKK

deep badge
fast pagoda
#

i just want to see the game itself ;_; it looks kewl

opaque wharf
#

How many kernel operation even benefits from SIMD

fast pagoda
#

at least 1

#

perhaps 2

#

i would say

#

generally multimedia stuff would though

#

audio DSP related crap

#

memcpy/memmove etc etc also probably

#

any compression, encryption, file system batch operations

#

probably even network stuff would benefit from simd

#

not sure what though because imagine understanding networking

fast pagoda
#

that is a satisfying number of bites

deep badge
opaque wharf
#

Chat is this true?

deep badge