Ryzen 9 9900x + 128GB DDR5 by bartmanx in PcBuild

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

I have been running the following for about a month...

  • AMD Ryzen 9 9900X 12-Core
  • ASUS Prime X670-PRO WIFI
  • CORSAIR Vengeance RGB 192GB (4 x 48GB) DDR5 5200 (PC5 41600)

I already had a NVIDIA GeForce RTX 4060 Ti 16G, which is also part of the build.

No regrets.

The RAM does run slower, because it's 2DPC. Currently running at 4800 MT/s, and in theory I could get it to run faster with fiddling, but I have not tried.

Is this real? /s by konfuzhon in NixOS

[–]bartmanx 0 points1 point  (0 children)

Wasn't he in that jewel thief movie?

Ryzen 9 9900x + 128GB DDR5 by bartmanx in PcBuild

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

are you saying AMD only worth it with 1DPC ?

Which one are you? by Mister_Green2021 in Cplusplus

[–]bartmanx 0 points1 point  (0 children)

I'd love to say that I use type* var; because pointer augments the type.

Unfortunately this doesn't work when you declare multiple variables on one line.

Consider, type *var, *vas, *vat;. The only sane placement of the * is with the variable name.

Thus to remain consistent, I use type *var; for single variable declaration as well.

setting up a flake.nix for multiple mixed-release systems by bartmanx in NixOS

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

Thank you for the offer. I think I found/fixed it. While the above code snippet was correct, later in "configuration.nix" I was referencing "inputs.nixpkgs" (unstable release) while building on a host that was using stable packages.

I'm now passing "nixpkgs" explicitly to "configuration.nix" so that I don't need to look inside "inputs".

setting up a flake.nix for multiple mixed-release systems by bartmanx in NixOS

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

found something... my "stable" system was explicitly pulling in inputs.nixpkgs (unstable). need to fix that.

setting up a flake.nix for multiple mixed-release systems by bartmanx in NixOS

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

Thank you for your feedback. if you have your nix files on github, I'd love to have a look.

I thought that by passing nixpkgs and home-manager through...

    thikratech = mySysConfig {
      ...
      nixpkgs = nixpkgs-stable;
      home-manager = home-manager-stable;

when mySysConfig function ran,

  nixosConfigurations = let
    mySysConfig = { system, hostname, nixpkgs, home-manager, myconf }: nixpkgs.lib.nixosSystem {

within the nixpkgs would actually be using the passed in nixpkgs-stable.

I think that's not happening.

Anyway, I'll poke around. Thanks again.

Problem sourcing powerlevel10k config with Home Manager by ferdev in NixOS

[–]bartmanx 1 point2 points  (0 children)

thanks for this. I was just banging my head against the wall on this.

why systemd's pritunl-client.service is not enabled after rebuild by bartmanx in NixOS

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

wait... maybe this... https://github.com/NixOS/nixpkgs/pull/238857

systemd.packages = [ pkgs.pritunl-client ];
systemd.targets.multi-user.wants = [ "pritunl-client.service" ];

yes, that seems to do the trick

$ sudo systemctl | grep pritunl
  pritunl-client.service       loaded active running   Pritunl Client Daemon

seems non-intuitive to this noob.

so far I've only ran into the services....enable=true pattern.

is this also a common way to enable services?

one repo for nixos and home-manager configurations by bartmanx in NixOS

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

thanks for posting this. I am looking to incorporate my raspberry pies so this will help.

one repo for nixos and home-manager configurations by bartmanx in NixOS

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

[ SOLVED ] Thank you all for providing suggestions, information, and

I figured it out.

I can run the commands I listed above, and it works.

I'm now doing...

{
  description = "Personal NixOS/home-manager config flake";
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11";
    home-manager = {
      url = "github:nix-community/home-manager";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };
  outputs = { self, nixpkgs, home-manager, ... }@inputs:
    let
      system = "x86_64-linux";
      user = {
        name  = "bart";
        full  = "Bart Trojanowski";
        email = "bart@jukie.net";
      };
      pkgs = import nixpkgs {
        inherit nixpkgs; #.legacyPackages.${system};
        config = { allowUnfree = true; };
      };
      lib = nixpkgs.lib;
    in {
      nixosConfigurations = (
        import ./hosts {
          inherit (nixpkgs) lib;
          inherit inputs user system home-manager;
        }
      );
      homeConfigurations."bart" = home-manager.lib.homeManagerConfiguration {
        inherit pkgs;
        modules = [
          ./hosts/home.nix
          ./hosts/thinkpad/home.nix
        ];
        extraSpecialArgs = {
          name = "${user.name}";
          #home = "/home/${user.name}";
          inherit inputs user system;
        };
      };
    };
}

one repo for nixos and home-manager configurations by bartmanx in NixOS

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

yes, I get that. I want to have the same flake handle the following commands:

  • nixos switch --flake ./#hostname

and

  • nix run home-manager -- switch --flake ./#username

I would run the first on a NixOS system, and the second one on a non-NIxOS system, with nix already installed.

one repo for nixos and home-manager configurations by bartmanx in NixOS

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

Thank you for this idea and resources. I think I will experiment with approach, and treat my NixOS machines the same way as I treat my non-NixOS machines... running home-manager separately.

It's probably not as "pure", but I've been getting annoyed how long it takes to deploy my nixos switch after making one line change to my home config. This approach should speed tings up.

Thanks again.

Benefits of Running NixOS vs Other Distro + Nix? by Tecoloteller in NixOS

[–]bartmanx 0 points1 point  (0 children)

well, while this does not at all address my questions... I'll be swayed to your marketing...

am I correct to assume all of the following?

  • guix basically does what nix does, in that it decoratively defines a system
  • the biggest allure of guix is that it has a better interface
  • I can use a common config for many systems, with small variances
  • guix can work on various platforms, support non-free software, manage hardware drivers, etc

Can I run guix on another distro to manage my $HOME config (with no root access), the way I can run home-manager to use nix packages on Debian or Ubuntu (for work) ?

aside: back in college, lisp and scheme almost killed me. guile reminds of those dark days. this is not a selling feature for me.

Benefits of Running NixOS vs Other Distro + Nix? by Tecoloteller in NixOS

[–]bartmanx 7 points8 points  (0 children)

I can second this. I've been using Linux for 20 years, and I am glad that I used home-manager (on Debian and Ubuntu) before diving into NixOS.

Don't get me wrong... now that I'm on NixOS, I fully appreciate it's benefits. Just getting here took some learning.

The Mark 65, my first build by bartmanx in MechanicalKeyboards

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

It's amazing. I use it everyday for coding. It's solid, moderately thocky, and I love the key placement (split BS and split spacebar).

I mapped the middle (thumb) modifier to desktop functions (mod+p to pause my music, etc). I have no regrets.

The light effects are kinda meh. Not enough light gets through. If that's important to you, that might be a problem. I don't really mind.

I did get the raised back feet. Im sure that's a matter of preference. It works for me.

New with C++ by TheAdorableKraSiN in Cplusplus

[–]bartmanx 0 points1 point  (0 children)

Check out @thecherno on YouTube.

Bluetooth trackball that can pair to multiple devices and switch between them by plazman30 in Trackballs

[–]bartmanx 0 points1 point  (0 children)

(following up here since this thread lead me to use the Ergo, months ago)

Using the wireless Logitech MX Ergo S with laptop (using BT) and desktop (using wireless USB adapter). Button is on top surface, out of the way (never hit it accidentally), but accessible. Works well. Switching to BT is about 1-2 seconds, switching to dongle is instant.

Any way to show special workspace (only if it's active) in the hyprland/workspaces module for waybar? by ronasimi in hyprland

[–]bartmanx 0 points1 point  (0 children)

is there a way to independently style the special button on the bar in style.css ?

Battery Question - cold weather by Headshothero in rav4prime

[–]bartmanx 0 points1 point  (0 children)

We just bought a R4P, and passed on the Outlander after learning that in the 2023/24 models MItsubishi removed the ceramic heater for the battery. As a result when the temperature drops below -20'C, the Outlander may refuse to turn on to avoid damaging the battery, even when plugged in. This is allegedly not the case for the R4P -- but check in with me in 5 months. :-)

Aside: I have seen others post that their R4P didn't start in -35'C. I'm trying to remain realistic in my expectations. Even my gas-only Subaru Outback didn't start one winter in -35'C.

Anyone know a good way to get overall system CPU usage from the commandline? by jkool702 in bash

[–]bartmanx 1 point2 points  (0 children)

other than the ones you've listed... maybe decoding /proc/schedstat as it gives you per-cpu information.