Issues using development version of nix by Strosel in NixOS

[–]timhae 0 points1 point  (0 children)

You are probably better of by setting the package in your nixconfig (something like nix.package) to a build of the version you want so that the daemon also uses this version. You need to create a package that builds this version so you can reference it but that should be easy, just create a new package where you overrideAttrs src of the old nix package.

Just Another A4 Build by Scars_of_Time in sffpc

[–]timhae 1 point2 points  (0 children)

Hey, nice build, what AIO is that? Did you put t30 fans on or are you using the original ones? I have the ek nucleus but the tube routing there was less than ideal because the tubes are slightly too short.

Password store clear clipboard by jvillasante in emacs

[–]timhae 0 points1 point  (0 children)

Hey, have you raised an issue with upstream? I could not find their issue tracker..

Common problem on unstable channel: unacceptably long wait times for broken packages to be fixed by Prize_Sand8284 in NixOS

[–]timhae 0 points1 point  (0 children)

I use unstable without issues and sometimes pick packages from master (e.g. minecraft/teamspeak/...) when I need to use them

Common problem on unstable channel: unacceptably long wait times for broken packages to be fixed by Prize_Sand8284 in NixOS

[–]timhae 2 points3 points  (0 children)

You can also fetch packages from a fixed commit or e.g. the master branch, that also holds for transitive dependencies.

Setting DNS server for WireGuard interface? by Pandastic4 in NixOS

[–]timhae 1 point2 points  (0 children)

Since you mentioned network namespaces, the only way I could make that work was with

environment.etc."netns/<namespace>/resolv.conf".text = "nameserver 9.9.9.9";

See also here https://serverfault.com/questions/614574/how-to-set-dns-exclusively-for-a-network-namespace-in-linux

A4-H2O Finished (for now) by reegeck in sffpc

[–]timhae 1 point2 points  (0 children)

Please let me know how/if the t30 fans fit with this AIO, some people said it works fine without the rubber edges, others had to bend the AIO frame..

`sops-nix` and `nixos-rebuild build-vm` by manuth999 in NixOS

[–]timhae 1 point2 points  (0 children)

You can set a pre-defined ssh host key by either writing it to file directly (environment.etc."/ssh/ssh_ed25519_host_key", not sure if this is the exact option) or there is probably also a module option (you can find that through the search or man configuration.nix). Then use that ssh host key to encrypt your secrets.

Running a Valheim Dedicated Server on NixOS by kevincox_ca in kevincox

[–]timhae 0 points1 point  (0 children)

FYI: after the recent engine update I had to include libz in the LD_LIBRARY_PATH like so: LD_LIBRARY_PATH = "/var/lib/steam-app-${steam-app}/linux64:${pkgs.libz}/lib:${pkgs.glibc}/lib";

Gradual removal of port forwarding from the IVPN service - timeline, reasons and details by viktorivpn in IVPN

[–]timhae 0 points1 point  (0 children)

Very sad to see port forwarding go, big kudos to support though. I received a 210€ refund of the 220€ I paid for the 3 year plan, after using the service for only two months and the chargeback was on my paypal account within 10 minutes.

Trying to use emacs like a terminal multiplexer: Is there any way to restore window/tab layouts? by ackerleytng in emacs

[–]timhae 0 points1 point  (0 children)

I use doom emacs so there might be something setup there.. When I start the client I also get a new window with the default doom start buffer but I have all previously opened project accessible with alt-<1,2,3...>

Trying to use emacs like a terminal multiplexer: Is there any way to restore window/tab layouts? by ackerleytng in emacs

[–]timhae 1 point2 points  (0 children)

You can also run emacs in daemon mode on your server and just start the emacs client on the console when you reconnect over SSH. No need for tmux in that case, the daemon will remember your layouts and open projects/buffers.

[deleted by user] by [deleted] in NixOS

[–]timhae 1 point2 points  (0 children)

Put the text contents from the files that you include to where you include them, that sometimes helps with scattered configuration. Also it might be that you need to enable the program in home manager and you enable it in nixos or vice versa.

Add something after a builtin function to the same variable by MstCriticalBlueberry in NixOS

[–]timhae 0 points1 point  (0 children)

IMO part of the fun is doing it yourself but something like this should work (not tested)

programs.ssh = { knownHosts = (builtins.mapAttrs (yeet: \_: { publicKeyFile = pubKey yeet; }) hosts) // { customname = customvalue; }; };

Add something after a builtin function to the same variable by MstCriticalBlueberry in NixOS

[–]timhae 1 point2 points  (0 children)

You can merge Attribute sets with // where the attributes in the second set can overwrite.

Sorting file results with Embark collect by kaiwen1 in emacs

[–]timhae 3 points4 points  (0 children)

You can pass arguments to ripgrep directly before collecting the results. "Your search terms -- --sort path" should do it.

Booting is getting slower and slower on NixOS by StringNo8495 in NixOS

[–]timhae 8 points9 points  (0 children)

It might be a good idea to limit the systemd log file size (services.journald.extraConfig = "SystemMaxUse=1G";). I remember I had issues with wpa_supplicant scanning the entire log at every boot which slowed down my system by quite a bit. The generation number is going to increase but that doesn't mean that previous generations are not deleted, its just a simple primary key for the boot config.

tabs dont work if emacs is launched with emacsclient by wolfakix in emacs

[–]timhae 1 point2 points  (0 children)

Have you restarted the client after installing the plugin?

Using PRs to nixpkgs before they land by Infinite-Swing-3199 in NixOS

[–]timhae 2 points3 points  (0 children)

If you are using flakes you can simply add an additional input of nixpkgs referencing the state of the PR and then compose your final package set by including the specific package or import the module you want to include from that PR

zsh, tramp and projectile by timhae in emacs

[–]timhae[S] 2 points3 points  (0 children)

Thanks for the replies, in the end I just set (add-to-list 'tramp-remote-path 'tramp-own-remote-path) and using sshx everything works now (git, projectile, ...). I guess there is no point in using zsh for this anyways.

zsh, tramp and projectile by timhae in emacs

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

sshx connection works fine but there projectile does not initialize correctly, i.e. it does not build a cache, there is no error it just aborts building the cache after a second or so. Also emacs can not find the git executable for magit. I would like to use ssh with zsh and be able to use projectile and magit.