From 184580738c766fd4ede9893a85579e133440e1cf Mon Sep 17 00:00:00 2001 From: Fabian Hauser Date: Thu, 26 Sep 2024 15:31:58 +0300 Subject: [PATCH] Fix formatting --- README.adoc | 4 ++++ defaults/base/default.nix | 1 + defaults/base/unfree.nix | 1 + home/fhauser/applications/default.nix | 2 +- home/fhauser/applications/emanote.nix | 5 ++--- host/ochsenchopf/filesystems.nix | 1 + 6 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.adoc b/README.adoc index a4d4705..92377d8 100644 --- a/README.adoc +++ b/README.adoc @@ -66,3 +66,7 @@ cards. # `nixos-install` # `reboot` # Whoop whoop + +Enroll Lanzaboot: https://github.com/nix-community/lanzaboote/blob/master/docs/QUICK_START.md + +# sudo systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=0+2+7+12 --wipe-slot=tpm2 /dev/nvme0n1p2 diff --git a/defaults/base/default.nix b/defaults/base/default.nix index 10e585c..0f6a5ac 100644 --- a/defaults/base/default.nix +++ b/defaults/base/default.nix @@ -36,6 +36,7 @@ in boot.loader.timeout = 2; boot.tmp.useTmpfs = true; boot.kernelPackages = pkgs.linuxPackages_latest; + boot.bootspec.enable = true; catppuccin.flavor = "mocha"; diff --git a/defaults/base/unfree.nix b/defaults/base/unfree.nix index d54926b..0e86022 100644 --- a/defaults/base/unfree.nix +++ b/defaults/base/unfree.nix @@ -24,6 +24,7 @@ "teamviewer" "todoist-electron" "todoist-electron-8.10.1" + "obsidian" "davinci-resolve" "davinci-resolve-18.6.3" diff --git a/home/fhauser/applications/default.nix b/home/fhauser/applications/default.nix index 7266326..e95a095 100644 --- a/home/fhauser/applications/default.nix +++ b/home/fhauser/applications/default.nix @@ -67,7 +67,7 @@ gnome-online-accounts gnome-control-center todoist-electron - marktext + obsidian ] ++ [ # Communication diff --git a/home/fhauser/applications/emanote.nix b/home/fhauser/applications/emanote.nix index e42a9e8..89ed5ac 100644 --- a/home/fhauser/applications/emanote.nix +++ b/home/fhauser/applications/emanote.nix @@ -3,11 +3,10 @@ { services.emanote = { enable = true; - # host = "127.0.0.1"; # default listen address is 127.0.0.1 -# port = 8080; # default http port is 7000 + host = "127.0.0.1"; + port = 7000; notes = [ "/home/fhauser/shares/cloud.qo.is/Notes" ]; -# package = emanote.packages.${builtins.currentSystem}.default; }; } diff --git a/host/ochsenchopf/filesystems.nix b/host/ochsenchopf/filesystems.nix index 554b279..3ad0d21 100644 --- a/host/ochsenchopf/filesystems.nix +++ b/host/ochsenchopf/filesystems.nix @@ -37,6 +37,7 @@ boot.loader.systemd-boot.enable = lib.mkForce false; boot.loader.efi.canTouchEfiVariables = true; + boot.initrd.systemd.enable = true; boot.lanzaboote = { enable = true; pkiBundle = "/etc/secureboot";