#Nix and NixOS

1 messages ยท Page 2 of 1

versed cove
#

Seems to be working : shrug :

#

I'm afraid to chown it

night brook
#

I'm confused why it would be like that anyway

versed cove
#

I am observing gpg.conf
I wish I knew what options were good

versed cove
#

How the hecc do I write this into home-manager

difftool.promp = false;
difftool "meld".cmd = "meld \"$LOCAL\" \"$REMOTE\""
#      ^^^^ *microwave noises*
warped tree
#

That's a mood

night bough
#

If there's only one interactive user on the NixOS system (besides root), is there any difference between user packages and system packages?

#

So far I've been kind of partitioning packages like libraries or utils that I'd want to use from root too into the system packages, and GUI applications as well as utils I would only use from my user into the user packages. But is there any point to it? I feel like it'd be easier to just put everything in system packages

lime jolt
#

I just put everything into system packages

#

it's perfectly fine

night brook
#

for a 1 user system, there isn't much difference

sleek canopy
#

It only matters when you have multiple nix systems some of which are and aren't nixos

sleek canopy
#

It looks too much like toml yet it can't be toml

#

For a single user system it's fine

night brook
versed cove
#

It's what .gitconfig is written in

sleek canopy
#

oh then it's def not toml

#

they are too quirky for that

versed cove
sleek canopy
#

goddamit

versed cove
#

I have no idea how to make a key with both a space and quotes

sleek canopy
#

or is it in extraConfig

versed cove
sleek canopy
#

I think

#
"difftool \"meld\"".cmd = "meld \"$LOCAL\" \"$REMOTE\""
versed cove
#

Woah
Nix can do that?

sleek canopy
#

yes

versed cove
#

Will try, I'm away from keyboard

sleek canopy
#

gotta support every type of value a wack ass configuration format supports

#

also seems like you could just do difftool."meld".cmd and it would work

#

another one which supports this theory

#

oh and meld

#

without the quotes

night bough
#

Anyone know why mozc doesn't work on plasma 6? This is my config

i18n.inputMethod = {
  enabled = "fcitx5";
  fcitx5.waylandFrontend = true;
  fcitx5.addons = with pkgs; [fcitx5-mozc fcitx5-chinese-addons];
};

Next I go to input method in plasma settings, add Mozc to my list of Input Method on languages, but when I select mozc with ctrl+space, the little dialog next to my cursor says Mozc (Not Available). I also can't open the Mozc settings in fcitx5?

nvm figured it out. I had to select Fcitx 5 in the Virtual Keyboard plasma settings instead of Fcitx 5 Wayland Launcher even though I'm on Wayland

versed cove
sleek canopy
#

wrong reply

versed cove
#

I'm too used to search bars not working

sleek canopy
#

when the search bar is literally every single public config on a code management system it's good to have a lil faith

versed cove
#

It didn't even cross my mind

sleek canopy
#

i def heard this tip from somewhere else, forgor from where tho

versed cove
#

It's hard to have faith in something you don't realize exists ๐Ÿ˜”

#

Unrelatedly
I am thinking about IDEs
Should I go into vscode and drop nvim? The nvim config would take considerable work to adapt to Nix

#

Should I betray my baby

#

should i pick up emacs

sleek canopy
#

you can always just not convert it

versed cove
#

I tried but some extensions died a bit

sleek canopy
#

hmm

versed cove
#

And it's honestly a bit of a mess

#

Going in would be a chore

sleek canopy
#

nix vim is neat but yeah

#

vscode works fine

#

just needs some extension

versed cove
#

I guess I'm switching then
I can't wait to have a debugger lmao

sleek canopy
#

debugger?

versed cove
#

Yeah

#

Code debugger

#

For stepping through code

sleek canopy
#

for something else ig

versed cove
#

I had one for nvim but it was very clunky

#

I don't think I ever used it

sleek canopy
#

idk which one is better

#

Nix IDE is great too

#

you need to install a lsp though, so make sure you have something like nil in your package list

late python
#

due to it supporting the options that you see in another normal search engines

night bough
#

btw, I decided to try starting an old linux native game just to see how it would run on NixOS. It kept giving me the error

 ***[Fatal] Init Error: Couldn't initialize SDL ***
        No available video device

So I found this page in the wiki https://nixos.wiki/wiki/Jetbrains_Tools
And decided to paste in the nix-ld.libraries into my config and lo and behold the game started. So now I'm wondering, is it okay to just leave it there? Are there any downsides to this?

sleek canopy
#

having it global is a bit meh since it makes it harder to realize what needs what dynamic libs

#

but it's fine

night bough
sleek canopy
#

i guess

#

I was thinking something like what steam does

#

where it has a specific nix environment for the games

#

so instead of having it global it would be some nix shell or something like that

kind merlin
#

okay gaymers

#

i require assistance

#

with something seemingly simple

#

i need to add another keymap to my nix configuration

#

cos i have it set to use uk keyboard but sometimes I need swedish letters when I message family and stuff

#

so

sleek canopy
#

I think I do it on plasma

#

and not on nix

#

so idk

night bough
sleek canopy
#

both work and are fine

night bough
#

Ehhhh I think I'd prefer making them global for now

sleek canopy
#

steam is an all encompassing nix environment in nixos

night bough
#

You mean try steam-run on the game instead of running it normally?

sleek canopy
#

I am unsure of how to actually use it

#

but if you can sure

night bough
#

You're right. steam-run works too

lime jolt
#

hi everyone we have #nix now

neat maple
#

oh you were fastre

warped tree
#

ye that first pin was ๐Ÿง‘โ€๐Ÿณ ๐Ÿ‘Œ Ashe good

frozen surge
#

Or do I not understand problem