Yo [he/him]

  • 4 Posts
  • 117 Comments
Joined 2 years ago
cake
Cake day: June 11th, 2023

help-circle


  • Yo, thanks for this, I was a bit anxious that I might had been starting really wrong.😅😅

    May I ask a few more things (either directed to you or whoever wants to reply):

    1. As you can see, I pass the inputs argument in both specialArgs and extraSpecialArgs to be used in configuration.nix and home.nix. Do I make use of this argument inside those 2 files?
    2. In configuration.nix and home.nix I start with { config, pkgs, inputs, ... }: arguments. Should I do that? Should I remove/add anything? I suppose this uses config, pkgs and inputs from flakes.nix, making the specialArgs = { inherit inputs; }; and home-manager.extraSpecialArgs = { inherit inputs; }; in flakes.nix unecessary??
    3. Could I replace
      this sample in flakes.nix
      specialArgs = { inherit inputs; };
      		modules = [
      		  ./hosts/default/configuration.nix
      
      		  inputs.home-manager.nixosModules.home-manager
      		  {
      			home-manager.useGlobalPkgs = true;
      			home-manager.useUserPackages = true;
      
      			home-manager.users.bs = import ./hosts/default/home.nix;
      
      			home-manager.extraSpecialArgs = { inherit inputs; };
      		  }
      
      with
      this sample in flakes.nix??
      specialArgs = { inherit inputs; };
      extraSpecialArgs = { inherit inputs; };
      		modules = [
      		  ./hosts/default/configuration.nix
      
      		  inputs.home-manager.nixosModules.home-manager
      		  {
      			home-manager.useGlobalPkgs = true;
      			home-manager.useUserPackages = true;
      
      			home-manager.users.bs = import ./hosts/default/home.nix;
      
      			#home-manager.extraSpecialArgs = { inherit inputs; };
      		  }
      
      In my mind I think this change passes inputs of flakes.nix to any module that uses specialArgs (like the configuration.nix module) and extraSpecialArgs (like the home-manager module). Is this correct?

    Thanks for replying btw, it was a good confidence boost:)






  • I’d suggest Stirling PDF, just get the Stirling-PDF.jar file from the releases. It does really lots of stuff (though I had some issues with creating pdfs with multiple pages per page). It open a port for the service to run locally and once you close it, it also closes the port.

    I also use libre office draw (or firefox printing menu) to create pdfs with multiple pages per page.

    There’s also xournal as some other people have mention that has some editing capabilities.


  • I had this kind of revelation like 2days ago when I woke up to go to the toilet, drink some water and sleep again. I don’t even know exactly why this thought came to me, it was a big discovery. Wanted to make a showerthought or til post, but never made. What a cool fun fact.

    (Also it’s even more amazing the fact that someone made a post about cd rippers here (on an already obscure platform) and both you and I read this post. Wow.)

    Edit: I recently found K3B as I’m in the process of moving to NixOS from win10. Seems like a good program.




  • While it might seem obvious, I know people who just dance on spot in public when they hear a song. They might not even hear a song, they might sing it instead. I also know people who like to dance in their room (as someone else here mentioned). They might not use the very complex moves though, I dont know if you ask specifically for these.

    People probably use more “serious” moves in dance classes/events/clubs.

    PS. I’m too shy to dance and I ~always admire people who do (especially when you see that they don’t do it forcefully, they just express themselves). I’m doing some dance classes to improve my situation, hopefully I might make it, or at least I’ll have tried🤷


  • Is this why such posts get so downvoted? Do people on lemmy really think that those posters defend the other party?

    Aren’t we (the users of lemmy) supposed to lean vaguely on the left by a large factor?😅

    When I see posts like this one here, I just get frustrated to see that guy using his mighty power for this, when the US is about to sink further into fascism, harming many many people in the process.

    I don’t even really care that much that he lied in the past that he wouldnt pardon his son, I just get angry to see that of all things that he could do in this very critical time he has, he’s essentially securing his family while he is peacefully letting the country and its people sink. It just kinda verifies it once again that they don’t care much about the people, losing the elections for them it meant that they might have reduced profits.

    I get that people would react badly on such post during the election, cuz they could allow the fascists to win, but the elections are now over, the results can’t change very much.😅

    Doesn’t the majority of the people here see it as I do?

    Disclosure: I’m Greek :)




  • It could be bots and such, but if you take into account that probably every comment or post (I dont exactly know how the plaform works) gets a self-like, it’s easy for this number to be high. The other person that replied to you, has around 110total likes just from comments/posts and it’s been around less than a month.

    So, if the platform has self-likes, it could be possible🤔






  • Ay, thanks for answering! I need some help understanding this😅

    there is usually only one of nixos and home manager options (sometimes there are duplicates).

    This means usually I only have to add options only in home.nix or configuration.nix, not both. (What about options in flakes.nix? Should I search those on the flakes/options tab?)

    As for flakes I mostly use it to handle a bunch of different systems from one config and any flake specific configs.

    Would it be the same if I put the system packages in flakes.nix instead of configuration.nix? Will it have a different result? Will I have to write them differently?

    Extra questions:

    1. Does putting a package in home.nix have the same version control flakes provides?

    2. Once I enabled home-manager, I saw that in ~/.config/nixos a flakes.nix and a home.nix files appeared. I already have a flake.nix and a home.nix files in my etc/nixos directory. What’s going on?

    3. Does putting packages in configuration.nix use the version control flakes provide?