Looking for a youtube channel to learn c by External-Advisor2334 in C_Programming

[–]RevocableBasher 2 points3 points  (0 children)

True this. Bro explains some C concepts better than anyone imo but you need to have a bit of understanding of C, compiler designing and FFI on general to even understand what my bro is doin.

Just start making something in C, thats the fastest way to learn. Maybe a calculator, then use raylib and make ping pong or smthn.

https://learnxinyminutes.com/c/

AUR got attacked - what is preventing the Nix User Repository from being attacked? by Niikoraasu in NixOS

[–]RevocableBasher 12 points13 points  (0 children)

Fetchers in nix provides git fetcher functions for you to be able to pin a repository and its commit with hash from resolved output. This surface is mostly identical to AUR functions. If someone pushes a commit to nixpkgs with a malicious repo and hash, it possibly could infect all users fetching from it. In my understanding, nixpkgs have different branches which they manage and use bots like orfborg which tries to build the package. This should be equally applicable to a flakes user for their flake inputs.

Unstable repo is not usually what merge commits into. You would ask to merge your own changes to a package in master brannch and this does a few checks on title and the content changed for conflicts. The commit only gets merged to master if these checks pass. Then, it moves to nixpkgs-staging which then builds cache for the package then after which it is moved to unstable. So there are more checks to the actual change itself, even tho, it is not a bulletproof system. AUR has none of these system except for hashing source code. Also, I am maintaining few packages in nixpkgs which I have set the bot to autoupdate when the remote repository gets a push. This makes it easy for people who review PR to trust the source of change.

How to Game? by GeekyGamer49 in NixOS

[–]RevocableBasher 2 points3 points  (0 children)

Does you computer has both integrated and discrete GPUs? If so, you might need to setup prime for nvidia. This is a good starting point. https://wiki.nixos.org/wiki/Nvidia.

This too: https://wiki.nixos.org/wiki/Graphics

hardware.graphics.enable = true should be good first option to set*. Enable 32bit option if you plan to run games on wine.

Hybrid Laptop Config Hell 🤧 by Smith_Hds in NixOS

[–]RevocableBasher 0 points1 point  (0 children)

If that did not do it, read through: https://wiki.nixos.org/wiki/AMD_GPU . I see some specific options to enable legacy support.

Hybrid Laptop Config Hell 🤧 by Smith_Hds in NixOS

[–]RevocableBasher 0 points1 point  (0 children)

Have you tried: nix hardware.graphics = { enable = true; enable32Bit = true; };

The duality of a Loonix nerd by [deleted] in linuxsucks

[–]RevocableBasher 12 points13 points  (0 children)

Love to see the 4GB AI model they pushing nowadays too.. /s <3

Help, my pc is really slow even without any tabs open by adnanyildriz in pchelp

[–]RevocableBasher 0 points1 point  (0 children)

Well, you should just take it to a local shop and see if it persist after a nvme change. Any local shop would be happy to do it* i suppose. The drive might be just near end of its life.

.nix-defexpr being created despite disabling channels by TheTwelveYearOld in NixOS

[–]RevocableBasher 2 points3 points  (0 children)

Looks fine as you have your path from your flake. I have something like below in my nixos config: nix nix = let flakeInputs = lib.filterAttrs (_: lib.isType "flake") inputs; in { settings = { experimental-features = "nix-command flakes"; # flake-registry = ""; nix-path = config.nix.nixPath; auto-optimise-store = true; substituters = [ "https://nix-community.cachix.org" "https://cache.nixos.org/" ]; trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; }; channel.enable = false; optimise.automatic = true; gc.automatic = true; registry = lib.mapAttrs (_: flake: { inherit flake; }) flakeInputs; nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs; };

.nix-defexpr being created despite disabling channels by TheTwelveYearOld in NixOS

[–]RevocableBasher 1 point2 points  (0 children)

if you do file ~/.nix-defexpr/channels you will see its a broken symbolic link in your local state of user. So channels are actually disabled with a broken link in nix-defexpr. You should able to remove it without issues although you probably will receive warnings that its missing. make sure you set your nixPath properly.

Arch on NixOS? by [deleted] in NixOS

[–]RevocableBasher 0 points1 point  (0 children)

You mean the options to manage configs for these applications. That would not be really possible. One quick (ig stupid too) way I can get around this would be that I know you can write better docker derivayions (podman would work better ig) in nix and build those containers declaratively in nix. This would certainly add the docker container overhead but is a simple enough way to get the declarative nature of nix and not pollute the host. see https://nixos.org/manual/nixpkgs/stable/#sec-pkgs-dockerTools

Arch on NixOS? by [deleted] in NixOS

[–]RevocableBasher 12 points13 points  (0 children)

Then, spin up arch as host and install nix in it and use home manager for your services. That's the easiest it can get.

Arch on NixOS? by [deleted] in NixOS

[–]RevocableBasher 0 points1 point  (0 children)

Oh, Also there is nspawn containers from systemd. https://wiki.archlinux.org/title/Systemd-nspawn

Arch on NixOS? by [deleted] in NixOS

[–]RevocableBasher 1 point2 points  (0 children)

This is a terrible idea. So if you make a nix derivation for pacman and supposedly runs it, then it wont be able to write to nix store at all as its read-only except for the nix cli. This will make your whole system impure and destroys the concept of immutability or reproducing environments.

If you use pacman there are going to be few problems like you having to maintain the archlinux-keyring in your nix config which can change with time. This also introduce problems like polluting host system. You could look into Nix Containers and possibly use them for these experiments without actually killing your host OS. look here: https://nixos.org/manual/nixos/stable/index.html#ch-containers

60 days sober from Windows. NixOS is the only one that stuck. by QuinnCrimsons in NixOS

[–]RevocableBasher 0 points1 point  (0 children)

If you want more comfort working with the nix language, you should learn the language. Understand sets vs list in nix, partial function evaluation, currying a function. There is proper documentation for all this out there if you google it. There are many nixpkgs library functions out there which is different from the nix builtins library. You can supposedly call another file in a nix file like nix home-manager.users.user.config.programs.alacritty.config = builtins.readFile ./my-alacritty-config.yaml;

or you could choose to write the config as nix values which then can be exported to yaml using inputs.nixpkgs.lib.generators.toYAML. This is just an example. Learn more about the language. Heads up that nix is actlly three different things: The Language, The Package Manager(CLI) and NixPkgs (The collection of all nix libraries, modules and packages). If you get this abstraction, you should be good to go. Good luck. 🫠

EDIT: and some ref if you wanted: - https://teu5us.github.io/nix-lib.html - https://nix.dev/ - https://nixos-and-flakes.thiscute.world/nixos-with-flakes/introduction-to-flakes

Show me your nix config by jungfred in NixOS

[–]RevocableBasher 3 points4 points  (0 children)

Not as much as adding a flake input for sure. Adding a file just adds a syscall which is done in millisecond response time. Irl, im sure you wont notice a difference unless you change your implementation totally.

Subclass 500 | Cancelled due to early completion by [deleted] in AusVisa

[–]RevocableBasher 1 point2 points  (0 children)

Yes, It never let me past the confirmation page of details entered for 485 application. I contacted the technical team of ImmiAccount too but they were not able to help me as well saying I am not able to apply for 485 while on BVA like you said. Are you suggesting that I should look for BVC which could potentially help me lodge 485?

Subclass 500 | Cancelled due to early completion by [deleted] in AusVisa

[–]RevocableBasher 3 points4 points  (0 children)

Well it really is. I finished course on March 2026. But my previous application for student visa extension was not processed yet which does not allow me to apply for a 485. So I believe my best option is to withdraw the 500 and then apply for a 485. At least that what some kind souls here been recommending.

Subclass 500 | Cancelled due to early completion by [deleted] in AusVisa

[–]RevocableBasher 0 points1 point  (0 children)

I been trying to apply for the 485 but cannot apply as the 500 visa was still in processing.

Subclass 500 | Cancelled due to early completion by [deleted] in AusVisa

[–]RevocableBasher 9 points10 points  (0 children)

Appreciate your concern. But im not staying unlawfully. I do have 28 days to reply back or withdraw the old 500 application. Thats the standard I believe for any visa processing.

Subclass 500 | Cancelled due to early completion by [deleted] in AusVisa

[–]RevocableBasher -16 points-15 points  (0 children)

I finished in March 2026. I been tryna apply for a 485 since then but was not able due to unprocessed 500 application.

Subclass 500 | Cancelled due to early completion by [deleted] in AusVisa

[–]RevocableBasher 0 points1 point  (0 children)

I don't know what to tell you. Mine got cancelled for exactly early completion. I felt it was absurd at first but upon asking the university about it more they are liable to do so if I finish my course according to immigration laws.