• 1 Post
  • 19 Comments
Joined 1 year ago
cake
Cake day: August 30th, 2024

help-circle

  • I can recommend nh. Its a wrapper around the nix* commands and includes nh search, giving you a list of packages (not sure about nixos module options, I think not). It also uses nix-output-monitor giving you a nice dependency graph when building (plus downloads etc) as well as a diff between the current and new generation, with version changes, added, removed etc.






  • The wavefunction obtained by the Schrödinger equation is indeed time dependent, so it is possible for the probability of measuring a certain eigenvalue of a physical quantity described by an operator on the wavefunction to change over time. I don’t quite get what you are trying to say here. Are you talking about whether quantum entanglement breaks relativity? Measuring for example one electron spin up will get you the information that the other one (maybe a few light-years away) is of a certain other state (maybe spin down). This does not allow to transfer a message between the two locations, as measuring the state on the senders end is still completely random. They would have to send a lookup table which is still only possible with the speed of light


  • I would generally not recommend installing packages like that (even though it’s often the first thing you see on websites), prefer declaring it in your configuration.nix or use nix-shell -p for a quick test of a package. It might be helpful to run the program through the terminal to get more useful debugging output



  • Paulemeister@feddit.orgtoLemmy Shitpost@lemmy.worldWord.
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 months ago

    The normal user still uses multiple spaces and newlines to format their documents instead of tabstops and pagebreaks. Doesn’t use automatic Table of contents or knows how to use sections to make the page numbers show up where they want. It doesn’t help, that the online version doesn’t support section insertion. I pretty much never use Word, but it’s an incredibly complex piece of software, people don’t know how to use. Even the elusive positioning of pictures isn’t all too hard if you know what anchors do.


  • I would do them one after another as the two both solve different problems. If you want to use both, first start with using flakes.

    Flakes are basically sets defining inputs and outputs. Then with a flake lock and exact version of the inputs can be pinned as to make it reproducible. Just add a basic flake.nix { inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05"; }; outputs = { self, nixpkgs }: { # replace 'joes-desktop' with your hostname here. nixosConfigurations.joes-desktop = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ./configuration.nix ]; }; }; }

    Also you should add nix.settings.experimental-features = ["nix-command" "flakes"]; to you configuration.nix

    Make sure you track everything by git if your config lives in a git repo and you should be done. Of course you can have more inputs, propagate them to your modules and so on, but this should be fine for the start.

    Now you have to add the’ --flake’ option to ‘nixos-rebuild switch --flake’ (please double check, as I use nh as a wrapper) and it will probably complain that you haven’t enabled flakes and that they are experimental, but you can run the command again with an environment variable set and get around that. You could also have added the flakes feature in your configuration nix first, do a normal, non flake rebuild switch and then one with flakes, as then you are running on a system generation with enabled flake features.

    Home manager, as the name implies tries to manage your home directory, so instead of adding packages and configs in your configuration.nix systemwide, you can add them only to your user directory. Basically you can add home manager and just not use it a t first and slowly migrate everything to it. You’ll have to look up a tutorial for it. But basically everything you put in environment.systemPackages configuration.nix can go into home packages in your home manager config file. The module options are often similar, but some are just not possible to configure on a per user basis (like adding desktopManagers, though configuration them in the user directory is better done through Homemanager)

    But that’s what any tutorial would show you. I’m assuming as you already use NixOS you’re somewhat technically inclined, so I’m not sure how to help you here. If you have any problems just comment here, I’ll help you debug / convert your config with you





  • Through technology we have become way more productive though. Every increase in productivity can either be used to better the standard of living (assuming that requires more work) or be used to lower the amount of time people have to work. I think the people that want to work just because they like it are a big enough portion of the world population to feed and house every single person on the planet. But instead, the increase in productivity is being gobbled up by a few people at the top. (see productivity / pay gap)


  • If the alliance was based on defense, I would be totally fine with it. In the case of an attack from one of the member states to an other state, the retaliation doesnt count as an attack to the member state, so the pact won’t activate. Of course that depends on how the member states want to interpret the pact. The pact signals a certain closeness / likemindedness, but not forming a pact wouldn’t stop these states from supporting one another. So for me, any country anywhere in the world can not be against any defense pact of any set of countries, assuming the spirit of defense of the pact is being honored. Or do you think its naive to think a pact based on defense won’t be used for attacking?




  • My experience with Windows not working is looking through three sites of search results landing me on answers.microsoft.com where the expert doesnt really help so I give up.

    Linux not working is being five forum cross links deep to find an issue on the gnome networkmanager gitlab, finding out the problem was already fixed but your distro hasn’t bothered to release in like 3 years so you haven’t gotten the fix yet, so I give up