** So, where is this website of yours located?
https://ret2pop.net, it is the road to enlightenment.
* Wait, so where are your dotfiles?
-To use my dotfiles, download the ISO image for the installer, log in, and run:
+To use my dotfiles, download the [[file:nix-installer.iso][ISO image]] for the installer. Note that you can validate the ISO image with the [[file:nix-installer.iso.sha256][checksum file]] provided:
+#+begin_src bash
+ sha256sum -c nix-installer.iso.sha256
+#+end_src
+with the ISO in the same directory. This install installs a certain commit hash of my monorepo. Flash the image, log into the installer, and run:
#+begin_src bash
nix_installer
#+end_src
#+begin_src bash
echo "password123" > /tmp/secret.key
#+end_src
-first.
+before ~nix_installer~.
** Post-setup
In emacs, run ~M-x all-the-icons-install-fonts, ~~M-x nerd-icons-install-fonts~, and ~M-x org-roam-db-sync~. Install your music to ~$HOME/music~ for
emms. In firefox, go to the three-bar menu and enable all the add-ons that were automatically installed. Set up the ~mu~ program in order to
}
#+end_src
You should add your own video drivers in a custom machine configuration.
-** Docker
-In order to run docker containers, I need this file:
+** Containers
+In order to run docker/podman containers, I need this file:
#+begin_src nix :tangle ../nix/modules/docker.nix
{ lib, config, vars, ... }:
{
- virtualisation.docker.enable = true;
+ virtualisation = {
+ oci-containers = {
+ backend = "podman";
+ containers = {};
+ };
+ containers.enable = true;
+ docker.enable = true;
+ podman = {
+ enable = true;
+ dockerCompat = true;
+ defaultNetwork.settings.dns_enabled = true;
+ };
+ };
}
#+end_src
** Pipewire
{
assertions = [
{
- assertion = ! (config.monorepo.profiles.impermanence.enable && (! (config.monorepo.vars.filesystem == "btrfs")));
+ assertion = (! config.monorepo.profiles.impermanence.enable && (! (config.monorepo.vars.fileSystem == "btrfs")));
message = "Impermanence requires btrfs filesystem.";
}
];
}
#+end_src
*** Home
+I want cuda in home manager too.
#+begin_src nix :tangle ../nix/systems/affinity/home.nix
{ lib, config, pkgs, ... }:
{
#+begin_src nix :tangle ../nix/systems/installer/commits.nix
{
diskoCommitHash = "c8a0e78d86b12ea67be6ed0f7cae7f9bfabae75a";
- monorepoCommitHash = "bb31a5a879154432e11a75e69070b58004ddc07b";
+ monorepoCommitHash = "e2fbfac7ad7c0b4d438179b31d2ed53d884313a0";
monorepoUrl = "https://github.com/ret2pop/monorepo";
}
#+end_src
{ lib, config, vars, ... }:
{
- virtualisation.docker.enable = true;
+ virtualisation = {
+ oci-containers = {
+ backend = "podman";
+ containers = {};
+ };
+ containers.enable = true;
+ docker.enable = true;
+ podman = {
+ enable = true;
+ dockerCompat = true;
+ defaultNetwork.settings.dns_enabled = true;
+ };
+ };
}
{
assertions = [
{
- assertion = ! (config.monorepo.profiles.impermanence.enable && (! (config.monorepo.vars.filesystem == "btrfs")));
+ assertion = (! config.monorepo.profiles.impermanence.enable && (! (config.monorepo.vars.fileSystem == "btrfs")));
message = "Impermanence requires btrfs filesystem.";
}
];
{
diskoCommitHash = "c8a0e78d86b12ea67be6ed0f7cae7f9bfabae75a";
- monorepoCommitHash = "bb31a5a879154432e11a75e69070b58004ddc07b";
+ monorepoCommitHash = "e2fbfac7ad7c0b4d438179b31d2ed53d884313a0";
monorepoUrl = "https://github.com/ret2pop/monorepo";
}