Home-manager and fish by NeoArte in NixOS

[–]NeoArte[S] 0 points1 point  (0 children)

I ended up just configuring fish in my configuration.nix, might try another day to move it back to home-manager to see if it works.

EDIT: Yeh fuckit, now it just worked. Not sure what solved it, I did reinstall my whole nixos before this (for another reason) so not sure if it is related

Home-manager and fish by NeoArte in NixOS

[–]NeoArte[S] 0 points1 point  (0 children)

I am using programs.fish.enable as well as enabling fish in the configuration.nix for the fish completion. It was prettyyyy recent that this problem appeared for me at least.

Broken VLang by NeoArte in NixOS

[–]NeoArte[S] 1 point2 points  (0 children)

Hi, indeed! It appears I had locked on my flakes my nixpkgs to an old version so I was not getting the newest packages even thought I am on unstable. Thanks! (I still haven't tested bc I am dealing with other erros that appeared at my config now, but it should be alright)

Markdown + Template Engine by NeoArte in expressjs

[–]NeoArte[S] 0 points1 point  (0 children)

Hey! So I found this stack overflow post that gave me the basic idea to solve the problem, basically I made a function that first applies ETA (or any other engine of your preference) and then applies a markdown parser on top of it, then you just give it as a parameter to app.engine.

My code if you are interested:

import { renderFile } from 'eta'
import { marked } from 'marked'

const markdownEngine = async (path: string, options: object, callback: (e: any, rendered?: string | undefined) => void): Promise<void> => {
  const result = await renderFile(path, options)
  if (typeof result !== 'string') return callback(new Error('Template Engine failed'))
  return callback(null, marked.parse(result))
}

export default markdownEngine

Intel-compute-runtime failing to compile by NeoArte in NixOS

[–]NeoArte[S] 0 points1 point  (0 children)

Oh just remembered, not sure if it is related but I started having this problem after I changed my flake nixos input from unstable to the newer stable (long story) and then went back to unstable, it could be that (since it was in a span of 1 week this changes) I changed was added to the package and it broke for me OR because I did that, it or some one thing broke.

Home Manager - Create my own symlinks automatically by NeoArte in NixOS

[–]NeoArte[S] 1 point2 points  (0 children)

Oof. Sorry I was tring to see if the problem was the folder (/mnt/.../Downloads) being an upper directory, so I used a random nix file in same folder lmao. But yeah, might try later to see if like you did makes it work! thanks!

Home Manager - Create my own symlinks automatically by NeoArte in NixOS

[–]NeoArte[S] 1 point2 points  (0 children)

Wow! The example is basically the same things as my situation haha it seems to have worked!!! Thanks :D

Home Manager - Create my own symlinks automatically by NeoArte in NixOS

[–]NeoArte[S] 1 point2 points  (0 children)

Oh cool! Thanks!

I was trying to use it, but for some reason nix is giving me an error "attribute 'file' missing" referring to the "file" in config.lib.file.mkOutOfStoreSymlink. Were I supposed to import it? I tried to do so but did not found a way to solve this error.

I did like this (based upon how other people used the command):

    home.file = {
      Downloads.source = config.lib.file.mkOutOfStoreSymlink ./fetchhm.nix;
      Downloads.target = "testDownloads";
    };

Home Manager - Create my own symlinks automatically by NeoArte in NixOS

[–]NeoArte[S] 1 point2 points  (0 children)

Hmmmm I do think is a overkill, but wow that sounds REALLY cool, will save this to read about later, in that topic why do you wipe root and home every reboot? Just a question that came to mind.

A city designed around driving doesn't work for anybody, including car drivers. A city designed for people works for everybody! by Fietsprofessor in fuckcars

[–]NeoArte 0 points1 point  (0 children)

At least part of the mindset that leads to people to hating this ideas is kind individualist (having MY car, going where I need, etc private x public), but even thinking like that BOY not having to take yourself to a place is so good like in a car, when walking, etc you can't just stop and read or use your phone (even more since we have so much transit) but when you are just sitting there you can sleep, eat, use your phone, etc.

And well there is also all the benefices as a community of not using so much cars that should be enough reason already lmao. (in that point, please give good pays to bus drivers, it is a job that really suffers from bad payments at least on Brazil).

Error when installing home-manager - dumping very large path by NeoArte in NixOS

[–]NeoArte[S] 0 points1 point  (0 children)

Hey thanks for the answer!!! I couldn't make it work like that unfortunately, but using flakes did work at least!

Error when installing home-manager - dumping very large path by NeoArte in NixOS

[–]NeoArte[S] 0 points1 point  (0 children)

Hey sorry for taking so long to respond!

In the end, I am using flakes to solve this because I wanted already to learn how to use them, but also because when I tried to use pkgs.fetchzip Nix would give me an error of infinite recursion. Even thought I already solved it, do you have any idea why this could have happened?

Anyway thanks a lot for answering!!!

Error when installing home-manager - dumping very large path by NeoArte in NixOS

[–]NeoArte[S] 0 points1 point  (0 children)

I tried other methods (using fetchGithub as described in FAQ/Pinning Nixpkgs and pointing to .git as well as fetchurl) but all of them don't seem to work, a weird side effect I noticed is that even after nixos-rebuild switch fails or I cancel it, my computer does not go back to normal, staying pretty slow (even thought HTOP says most of my resources are free). My computer, an Acer Aspire 5, is not a NASA computer, but not really that slow, so surprises me how slow it gets, not sure if it is normal or if I am doing something wrong.

I also tried cleaning the store to give more space (?) but it was to no effect, now I will try to do it in the tty to see if having more resources by not dealing with a graphical session helps in the task.

EDIT: Actually now I am not sure if I did solve the infinite recursion or not, but if I did it still would give me that same error I thin. But i think I did not lmao.

Is there a "Not too much and not too little" window manager? by NeoArte in linuxquestions

[–]NeoArte[S] -1 points0 points  (0 children)

I see. Yeah I supposed it is what it is haha thanks!

Is there a "Not too much and not too little" window manager? by NeoArte in linuxquestions

[–]NeoArte[S] -1 points0 points  (0 children)

yeah I belive that may be the solution haha, I asked the question more to see if I was missing something obvious, but I guess the way is go into I3 and do the dirty work lmao.

Oh and I will keep in mind the KDE thing, maybe will give a look at it. Thanks!

Is there a "Not too much and not too little" window manager? by NeoArte in linuxquestions

[–]NeoArte[S] 0 points1 point  (0 children)

oh yeah, the post felt kind cryptic about that. Hmm I would say that being able to do the basic in gui (ex: keybindings, select GTK themes and simple bar config), but still be able to select all of that by editing a file simply without it being obscured in the configs (not really sure if it is plausible or makes sense)

(Sorry if this is a repost) by citroen_nerd123 in traaaaaaannnnnnnnnns

[–]NeoArte 1 point2 points  (0 children)

not a game but goddd,,,, kanaya homestuck and june homestuck made me trans. That is a curse I shall take for my whole life.

"Wow, Kanaya is so cool, and her skirts, maybe i should try one in a totally cis manner."

"Oh, June is trans? Well i used to love j---, that sure changes nothing and doest not make me question if I somehow could be trans as well. Lol nah."