#Nix and NixOS
1 messages ยท Page 2 of 1
I'm confused why it would be like that anyway
I am observing gpg.conf
I wish I knew what options were good
How the hecc do I write this into home-manager
difftool.promp = false;
difftool "meld".cmd = "meld \"$LOCAL\" \"$REMOTE\""
# ^^^^ *microwave noises*
That's a mood
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
for a 1 user system, there isn't much difference
It only matters when you have multiple nix systems some of which are and aren't nixos
Damn what format is that ๐ค
It looks too much like toml yet it can't be toml
For a single user system it's fine
I'd say it's toml if i had to guess but yea idk
I'm actually not sure
It's what .gitconfig is written in
goddamit
I have no idea how to make a key with both a space and quotes
is the nix code just theoretical? can't seem to find it in home managers options
or is it in extraConfig
It's my attempt at writing what would go into extraConfig
Woah
Nix can do that?
yes
Will try, I'm away from keyboard
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
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
How in the world did you find all of these
I used superior google for nix, other people's configs
wrong reply
this
just github search lol
I'm too used to search bars not working
when the search bar is literally every single public config on a code management system it's good to have a lil faith
It didn't even cross my mind
i def heard this tip from somewhere else, forgor from where tho
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
you can always just not convert it
I tried but some extensions died a bit
hmm
I guess I'm switching then
I can't wait to have a debugger lmao
debugger?
for something else ig
For going into nix shells there is both direnv and Nix Environment Selector
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
note you can add github as search engine for your browser
due to it supporting the options that you see in another normal search engines
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?
having it global is a bit meh since it makes it harder to realize what needs what dynamic libs
but it's fine
Well if I ever have to make a derivation I could just disable them all, couldn't I?
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
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
You mean make an all encompassing shell for games like that? Cause I really wouldn't want to go through the trouble of making a shell per game
both work and are fine
Ehhhh I think I'd prefer making them global for now
steam is an all encompassing nix environment in nixos
You mean try steam-run on the game instead of running it normally?
You're right. steam-run works too
hi everyone we have #nix now
oh you were fastre
ye that first pin was ๐งโ๐ณ ๐ Ashe good
difftool."difftool \"meld\""?
Or do I not understand problem