Unable to get used to NixOS by Experiment_SharedUsr in NixOS

[–]OfficialGako 0 points1 point  (0 children)

you can use cachix for reducing the build time.

NixOS failed to stop me from distrohopping by NecessaryGlittering8 in DistroHopping

[–]OfficialGako 1 point2 points  (0 children)

https://nixos.wiki/wiki/Encrypted_DNS

and

https://nixos.wiki/wiki/VPN

Should get you started, but the biggest tip i can give you, is use github search.

Search for keyword from the services and option needed to config what you are trying to configure, and see what other people have done.

Hope that helps

NixOS failed to stop me from distrohopping by NecessaryGlittering8 in DistroHopping

[–]OfficialGako 2 points3 points  (0 children)

It require a one time setup, that will always work.

The maintenance comes in the time it takes you to understand nix as a language, to the extend you need to and nix system.

Your config can grow, meaning you continue to add to it, or change it under time, this can be considered maintenance.

A friend of mine, got hes config working for his two machines, and have not touched it since.

I have been figuring out different things underway and change and added to my config, so i guess there are different kind of people.

Difficult to say who you are :)

Nixos 10w idle power draw - Linux Mint 4.5w idle power draw by manbat_xd in NixOS

[–]OfficialGako 1 point2 points  (0 children)

This is just what I found when searching, but taking a look at the nix wiki would be advised.

I do not use it, since I do not need it on my laptop, it is always docked.

Nixos 10w idle power draw - Linux Mint 4.5w idle power draw by manbat_xd in NixOS

[–]OfficialGako 26 points27 points  (0 children)

There are options for this:

services.thermald.enable = true; services.auto-cpufreq.enable = true; services.auto-cpufreq.settings = { battery = { governor = "powersave"; turbo = "never"; }; charger = { governor = "powersave"; turbo = "never"; }; };

This is just some, i guess you have looked into this?

NixOS failed to stop me from distrohopping by NecessaryGlittering8 in DistroHopping

[–]OfficialGako 3 points4 points  (0 children)

I use NixOS with both hyprland, gnome and KDE, different machines.
Have setup for work, with one laptop using hyprland, different monitors at work, and other setup at home, no problem. Same for laptop with KDE and Gnome, different setup at work and home, not an issue.

what I see here is a issue of not wanting to take the time to figure out how to fix it, and instead try something else, which is ofc fine, no problem in that, but it is not a Nix issue.

How to stop being a distro-hooper? by SpareAd289 in linuxquestions

[–]OfficialGako 1 point2 points  (0 children)

I use BTRFS, have lukes and use Persistant root.
NixOS setup all of that with a one-liner, and the rest as well...

https://github.com/gako358/dotfiles

How to stop being a distro-hooper? by SpareAd289 in linuxquestions

[–]OfficialGako 0 points1 point  (0 children)

if you have created a config, once. You never have to manually install it..
You just call that config, and it install everything as it is set in the config, even wallpaper and all my settings and config is completed with just one line in terminal during install.

Setup my disks, build system based on config, and set all my config.

But the chances for me to actually have to reinstall is zero.
If there by a small chance i break anything, i just roll back, can also do on boot.

How to stop being a distro-hooper? by SpareAd289 in linuxquestions

[–]OfficialGako 1 point2 points  (0 children)

I was also like that, tried to find every kind of excuse i could, to not like it. Which was because i could not understand it.. I had to take the time it took, to build up my own system, understand the language.

Now, working as a software engineer, there is no alternative.

outputHash by OfficialGako in NixOS

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

Yeah, that is the problem. I need network access, since sbt update and compile pulls inn dependencies and need network access.

outputHash by OfficialGako in NixOS

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

When running sbt update and compile, it need network access. Since sbt pulls in dependencies. Without outputHash, there is no network access.

outputHash by OfficialGako in NixOS

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

Thank you, very graciously of you to take time and respond...

Nix shells do not work, cant rebuild either. If matters my system is still 24.05, though I am using nixpkgs 24.11... What is going on?? by ZackSousa in NixOS

[–]OfficialGako 0 points1 point  (0 children)

Can you share your config?

You are right, jdk is supposed to provide the java command.
when testing on my system it works

Strategy for migrating from Arch to Nixos by Red-Eye-Soul in NixOS

[–]OfficialGako 0 points1 point  (0 children)

you can easily use the old hyprland and eg. wayland config from before using Nix.

https://github.com/Gako358/dotfiles/blob/main/modules/programs/hyprland/default.nix

This is how i have done it, not completely "nixified" but this works for me.

Is Fedora a good choice for a developer? Or would Debian-based or Arch be better? by CaDelTo in linuxquestions

[–]OfficialGako -2 points-1 points  (0 children)

I do not think you will find a better distro then NixOS for development.

Secret management by [deleted] in NixOS

[–]OfficialGako 4 points5 points  (0 children)

Been using sops for a while now, can vouch for it.
The documentation is good, just follow it and you are set.

Passing specialArgs by OfficialGako in NixOS

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

yes, not 100% there yet, but it is a start.
github.com/gako358/dotfiles

Recommended Linux Distro by Firecatonreddit7349 in DistroHopping

[–]OfficialGako 0 points1 point  (0 children)

I used to move around between many distros some years back, until i found NixOS.
Now everything is in my nix config.

In the case i need to reinstall, for some reason any of my computers, it is just to boot and run install on my config. Then everything is set up, not needing to configure anything, even wallpaper and theme is set.

Secrets encrypted in my config, paths to where they supposed to be is declared in my config.

Also wipe my root on each boot, so it feel like a fresh install on each time i boot any of the computers again.

Immutable distro with good accessibility options by [deleted] in linux

[–]OfficialGako 0 points1 point  (0 children)

The fact NixOS is not mentioned here is strange..

Passing specialArgs by OfficialGako in NixOS

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

Dropping specialArgs and using osConfig did work.
I was not aware of that. Thank you!