This is a demo NixOS config, with optional flakes support. Along with notes on why flakes is useful and worth adopting. - GitHub - colemickens/nixos-flake-example: This is a demo NixOS config, with optional flakes support. Along with notes on why flakes is useful and worth adopting.
Everything you need to know about declarative containers in NixOS with a simple example to demonstrate logging in, mounting volumes and forwarding ports.
Nix 2.4 came out on November 1, 2021, and that’s sort of a big deal. It’s been more than two years since the last major Nix release, and there are some pretty important changes. Including some breaking changes, which is why I have waited so long to upgrade. Because I think that, in order to keep using Nix, I’m finally going to have to learn what “flakes” are, and do a bunch of other stuff just to restore the functionality that I was enjoying before. Or maybe not. It might be painless. Let’s find out!
Short post on using mach-nix with niv. Background In previous posts, there was a discussion on a ground up approach to adding packages which aren’t on the core nixpkgs channels using GitHub or PyPi sources. However, this lacked a way to do so programmatically, and also a way to convert existing python projects. Python Dependency Management This time, instead of the more pedagogical approach of building packages from PyPi or GitHub, we will use overlays and the excellent mach-nix to speed up the process.
While there are lots of comparison online of game development tools there is very little in the way of comparisons of game marketplaces. With Elements of Dreams we experienced some of the differences first hand as one of our strategies for releasing the game was to allow as many people as possible to be able…
For some reason, in 2018 i bookmarked it as a Mercurial thing. -- A Vim plugin which shows git diff markers in the sign column and stages/previews/undoes hunks and partial hunks. - GitHub - airblade/vim-gitgutter: A Vim plugin which shows git diff markers in the sign column and stages/previews/undoes hunks and partial hunks.
# A survey of software related to the Gemini protocol
This is a collection of Nix packages, either picked from the main Nixpkgs repository or locally hosted. Please submit a patch if you wish to add packages in either form.
Requires Nix with flakes supported and enabled.
=> https://www.tweag.io/posts/2020-05-25-flakes.html
I submit that we should use them in a way like some Markdown converters do, where the fragment is the header text. This is how you transform a header into a fragment:
1. Downcase the string
2. Remove anything that is not a letter, number, space or hyphen
3. Change any space to a hyphen.
4. If that is not unique, add "-1", "-2", "-3",... to make it unique
5. Encode non-ASCII characters so the entire string is URL-safe
In this post you will learn how to create a workspace adapted to the mobile app development using the Flutter framework organized in a Docker container.
Back to learning F#. Recently, I learned something that is most probably the most annoying thing so f... Tagged with functional, fsharp, tutorial, beginners.
Chapter 4. Imperative Programming Until now, most of the programs we’ve written have been pure, meaning that they never changed state. Whenever a function does something other than just … - Selection from Programming F# 3.0, 2nd Edition [Book]
In the third part of the F# overview, we will look at the F# features that are essential for a smooth interoperability with other .NET languages and form a second part of the F# core language - that is object oriented and imperative programming.
A month or so back, I wrote a tweet saying that F# computation expressions are amazing and no other language has anything like that. I can finally provide all the evidence by linking to a PADL 2014 paper about them.
Go to Settings -> Filters and Blocked Addresses -> Create a new filter. In the Has the words field, add deliveredto:joe@foo.com and choose what you want to do with such filtered emails. This solution worked for my setup.
I’m using flakes for my system configuration. Most things are going smoothly, but I’m stuck on one thing. I create a custom pkgs attribute set in flake.nix and then attempt to pass it to nixosSystem for use in all module…
There is a common view that extracting text from a PDF document should not be too difficult. After all, the text is right there in front of our eyes and humans consume PDF content all the time with great success. Why would it be difficult to automatically extract the text data? Turn
(Phys.org)—A team of undergraduates from the Indian Institute of Science Education and Research (IISER) at the College of Engineering in Trivandrum, India, has designed and constructed a portable college-level radio telescope for amateur radio astronomers. The students have developed a radio telescope and also data analysis tools that are affordable for schools and colleges, combining low cost and ubiquitous accessibility of resources needed to build these instruments. The team described the project in details in a paper published online on Jan. 12 on the arXiv pre-print server.
HISTORIA ANTYKULTURY, czyli jak działa mechanizm kulturowej lobotomii. Pierwsza przekrojowa historia antykultury, jej politycznych i ideologicznych źródeł, celów i artystycznych narzędzi.
“A man who tells lies … merely hides the truth
but a man who tells half-lies has forgotten where he put it.”
Claude Rains as Mr. Dryden in Lawrence of Arabia
Introduction Rust has gained a lot of traction recently. I was chatting with a friend about building web applications with rust, and mentioned how rocket makes it easier and enjoyable. I figured it might be a good time to pick rust up now. It does not take long to refamiliarize myself with rust and rocket, and I ended up building a tiny and dumb web application with it. My plan was to further polish it and make it a NixOS service, so that I can easily spin it up on all my NixOS powered machines.
Hi! I’ve been a happy user of NixOS for quite some time, but I couldn’t quite polish my nix-shell workflow and I am wondering if you have any practical tips? I think that my problems with nix-shell boil down to the fact…
This PureScript case study and guide for newcomers contains a complete and self-contained example of how to write a PureScript application from scratch and how to integrate it into an existing project.