Skip to content

Commit

Permalink
Add unl0kr
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreyren committed Jan 11, 2025
1 parent 253d884 commit f35940e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/nixos/machines/flexy/config/setup.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ in {
services.xserver.desktopManager.gnome.enable = true;
programs.dconf.enable = true; # Needed for home-manager to not fail deployment (https://github.com/nix-community/home-manager/issues/3113)

# To input decrypting password in initrd
boot.initrd.unl0kr.enable = true;
# unl0kr is not designed to work with plymouth
boot.plymouth.enable = mkForce false;
boot.initrd.unl0kr.settings = {
keyboard.autohide = false;
theme.default = "breezy-dark";
};

users.users.root.openssh.authorizedKeys.keys = mkIf config.services.openssh.enable [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOzh6FRxWUemwVeIDsr681fgJ2Q2qCnwJbvFe4xD15ve [email protected]" # Allow root access for the Super Administrator (KREYREN)
];
Expand Down

0 comments on commit f35940e

Please sign in to comment.