From 58f529f4058fa7880509201a9696aa39fd91bca4 Mon Sep 17 00:00:00 2001 From: albert Date: Sat, 11 Jan 2025 00:35:44 +0100 Subject: [PATCH] Updagtes --- home-manager/common/software/cli/starship.nix | 5 +++-- nixos/common/modules/ssh-luks.nix | 2 ++ nixos/hosts/framework16/default.nix | 8 ++++---- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/home-manager/common/software/cli/starship.nix b/home-manager/common/software/cli/starship.nix index 56431936..57033436 100644 --- a/home-manager/common/software/cli/starship.nix +++ b/home-manager/common/software/cli/starship.nix @@ -62,7 +62,7 @@ in }; nix_shell = { - disabled = false; + disabled = true; heuristic = false; symbol = " "; format = "[$symbol]($style)"; @@ -72,7 +72,8 @@ in directory = { style = "fg:${directoryFG} bg:${directoryBG}"; format = "[ $path ]($style)"; - truncation_length = 3; + truncate_to_repo = true; + truncation_length = 2; truncation_symbol = "…/"; substitutions = { Documents = "󰈙 "; diff --git a/nixos/common/modules/ssh-luks.nix b/nixos/common/modules/ssh-luks.nix index df2518ea..a49e447f 100644 --- a/nixos/common/modules/ssh-luks.nix +++ b/nixos/common/modules/ssh-luks.nix @@ -29,6 +29,8 @@ ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJm3bTcalJgoZt7t5FqFrJl7ZYlC09ew2QWUVF6w1Iih albert@bakersfield-rpi4'' # (Sat Jul 27 12:34:43 PM JST 2024) albert@nixos-desktop ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMrfwK60FYqUwvUwRuI3pwMnVX28aeuOvRPCMLNOi5IT albert@nixos-desktop'' + # (Fri Jan 10 07:17:36 PM UTC 2025) albert@framework16 + ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINfcao5UIv+g0MC6kY0ftP94xROKRoqqdTy7/2jRIMbS albert@framework16'' ]; hostKeys = [ # CAUTION: You WANT to generate a new key. This is stored plaintext in /boot diff --git a/nixos/hosts/framework16/default.nix b/nixos/hosts/framework16/default.nix index 631bcf4a..2756a648 100644 --- a/nixos/hosts/framework16/default.nix +++ b/nixos/hosts/framework16/default.nix @@ -4,15 +4,15 @@ (modulesPath + "/installer/scan/not-detected.nix") ./disks.nix ../../common/services/tailscale-autoconnect.nix - # ../../common/modules/secureboot.nix - ../../common/modules/boot.nix + ../../common/modules/secureboot.nix + # ../../common/modules/boot.nix ../../common/modules/udev-rules.nix # ../../common/modules/yubikey-auth.nix ../../common/modules/builder.nix - # ../../common/services/podman.nix + ../../common/services/podman.nix ../../common/services/geoclue.nix ../../common/services/syncthing.nix - # ../../common/services/ollama.nix + ../../common/services/ollama.nix ]; # TODO: Fix this