Essentially more sw + GRUB live usb trial

Installed and configured Yggdrasil; ported rustnet and install; GRUB
trial of USB Live stick
This commit is contained in:
2026-02-07 17:40:21 +02:00
parent 77eabee8d8
commit 62b27043f1
7 changed files with 17 additions and 16 deletions

6
flake.lock generated
View File

@@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1769170682,
"narHash": "sha256-oMmN1lVQU0F0W2k6OI3bgdzp2YOHWYUAw79qzDSjenU=",
"lastModified": 1770197578,
"narHash": "sha256-AYqlWrX09+HvGs8zM6ebZ1pwUqjkfpnv8mewYwAo+iM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c5296fdd05cfa2c187990dd909864da9658df755",
"rev": "00c21e4c93d963c50d4c0c89bfa84ed6e0694df2",
"type": "github"
},
"original": {

View File

@@ -2,8 +2,7 @@
config,
pkgs,
...
}:
{
}: {
imports = [
./hardware-configuration.nix
./syncthing.nix

View File

@@ -42,6 +42,13 @@
lib.mkDefault config.hardware.enableRedistributableFirmware;
boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.extraEntries = {
"usb-live.conf" = "
title USB Live Boot
efi /EFI/boot/bootx64.efi
options root=/dev/sdb2
";
};
boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.luks.devices."luks-d27fc6c5-7edd-4c18-ab70-3ca02a28abcc".device = "/dev/disk/by-uuid/d27fc6c5-7edd-4c18-ab70-3ca02a28abcc";

View File

@@ -2,8 +2,7 @@
config,
pkgs,
...
}:
{
}: {
nixpkgs.config.permittedInsecurePackages = [
"qtwebengine-5.15.19"
"electron-36.9.5"

View File

@@ -1,5 +1,4 @@
{pkgs ? import <nixpkgs> {}}:
pkgs.stdenv.mkDerivation rec {
pname = "rustnet";
version = "0.18.0";

View File

@@ -1,5 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
services.yggdrasil = {
enable = true;
persistentKeys = false;

View File

@@ -2,11 +2,9 @@
config,
pkgs,
...
}:
let
}: let
rustnet = pkgs.callPackage ../../modules/common/rustnet.nix {};
in
{
in {
programs.neovim = {defaultEditor = true;};
environment.systemPackages = with pkgs; [
parallel-disk-usage