Laser

joined 2 years ago
[–] [email protected] 1 points 2 years ago

They're not that different from the classic nix files. Their main difference is that their inputs are always well-defined (as opposed to a channels registry, i.e. you can get totally different systems by reapplying a configuration when you change channels which doesn't change your nix file at all). A configuration is always exactly described by a flake.nix and flake.lock.

I mean there is more to it, but this is the primary motivation. What you would normally put into use case specific nix files goes into a flake's output section. The stuff in your input sections is what you can use in there.

[–] [email protected] 3 points 2 years ago (9 children)

I mean why would you be fully against flatpak? I use NixOS without it and always packaged natively on Arch, but especially when upstream offers flatpak, it makes sense to enable it. Keeps the user-facing programs up to date and somewhat sandboxed while you can have a stable release beneath it. Especially if the system's actual users aren't that tech-savvy.

Stuff on unstable tends to break, especially electron-dependent derivations. Stable doesn't always have the latest and greatest. Flatpak seems like a good compromise for desktop applications in some cases.

[–] [email protected] 1 points 2 years ago

I'm using LLDAP with Authelia on NixOS, it works fine for what I do but it's somewhat limited, haven't used it as an OIDC provider yet but that's on the list.

[–] [email protected] 5 points 2 years ago* (last edited 2 years ago) (5 children)

Regarding some of your points:

  1. Depends on the case. A script operating on stuff in its subdirectories will probably be better with a relative path, especially if they get moved somewhere. Same logic goes for symbolic links.
  2. This is called string manipulation. ## deletes the longest match from the beginning, so it deletes everything to the last slash, as the asterisk expands as far as possible. If you wanted the directory the file is in using this method, you'd use ${file%/*}. This deletes the shortest match from the end. You also have the dedicated commands basename and dirname for this.
  3. Can't comment
  4. I guess this works as long as you get exactly one match.
[–] [email protected] 1 points 2 years ago

The refresh rate most people think of doesn't go into the modelines. An 800x600 60Hz modeline looks like this:

Modeline "mymode" 38.22 800 832 912 1024 600 601 604 622 -HSync +Vsync
[–] [email protected] 3 points 2 years ago (2 children)

Brilliant formuliert, besonders die Konklusio!

[–] [email protected] 7 points 2 years ago (2 children)

It should be noted for the newer users that miscalculating your modelines could destroy your screens, so getting them right was kind of important.

[–] [email protected] 10 points 2 years ago (4 children)

People switching nowadays have it so easy lol. When I switched, you'd still have to configure ALSA or OSS, tweak xorg.conf, use Nvidia because AMD was just not working (I did try and dual boot Linux before when ATI still existed but didn't fully switch), DXVK didn't exist, Vulkan didn't exist and WINE was still pre-1.0. And all this during a time when Microsoft had what some people consider the best version of Windows.

I don't really miss those times. And I know that it was even less convenient before. I also had a copy of SUSE Linux 9.0 or something from a family friend who ordered these from SUSE. And Mandrake I tried very briefly. But I wasn't really computer literate enough to teach me all that stuff myself so I consider my Linux journey starting in 2007 when I ordered a new PC and decided not to install Windows on it so that I wouldn't have that alternative in case something doesn't work.

[–] [email protected] 6 points 2 years ago (1 children)

https://de.freepik.com/fotos-premium/frau-hand-halten-stahlloeffel-isoliert-auf-einem-weissen-hintergrundfoto_19107329.htm so, die Kelle ist halt am ehesten dem Unterarm zugeneigt, während das bei Messer und Gabel in Kombination eben anders ist, da zeigen die Spitzen vom Unterarm weg.

[–] [email protected] 3 points 2 years ago (3 children)

Der Löffel ergibt so herum eigentlich mehr Sinn für mich, man hält den ja anders als Messer und Gabel

[–] [email protected] 15 points 2 years ago (1 children)

Mich hat die Bahn gestern zuverlässig (inklusive Verspätung) zum Flughafen gebracht, nachdem ich zum Bahnhof laufen musste, weil die Busse präventiv nicht fuhren - natürlich nicht im DB Navigator gemeldet. War äußerst pünktlich am Flughafen, an dem mein Flug dann auch 18 Minuten vor dem geplanten Boarding annulliert wurde.

Oder kurz gesagt: von allen Verkehrsmitteln, die ich gestern genutzt habe, war die Bahn das einzige, das überhaupt funktioniert hat, und das den Verhältnissen entsprechend ziemlich gut.

[–] [email protected] 9 points 2 years ago

Economy = rich people's yacht money

view more: ‹ prev next ›