fix desktop public key

This commit is contained in:
Nickolaj Jepsen 2025-02-19 20:32:36 +00:00
parent db3dda1f0b
commit 73d096b328
13 changed files with 24 additions and 38 deletions

View file

@ -2,13 +2,13 @@
hostSecrets = ../../../secrets/hosts + ("/" + hostname);
publicKey = builtins.readFile (hostSecrets + "/id_ed25519.pub");
in {
age.identityPaths = ["/etc/ssh/ssh_host_ed25519_key"];
age.rekey = {
storageMode = "local";
hostPubkey = publicKey;
masterIdentities = [
{
identity = ../../../secrets/yubikey-identity.pub;
# pubkey = "age1yubikey1q25a8ax2t0ujv7q5wvpmlpa52h599n6682jprxuftlw4zpxy2xu9s6lhrel";
}
];
extraEncryptionPubkeys = [

View file

@ -19,8 +19,8 @@ in {
users.users.${username} = {
isNormalUser = true;
extraGroups = ["wheel"];
initialPassword = "password";
#hashedPasswordFile = secrets.hashed-user-password.path;
# initialPassword = "password";
hashedPasswordFile = secrets.hashed-user-password.path;
};
home-manager = {

View file

@ -11,13 +11,6 @@ with lib; let
};
in {
config = {
# assertions = [
# {
# message = "The terminal must be set to enable Hyprland";
# assertion = config.defaults.terminal != null;
# }
# ];
programs.uwsm.enable = true;
programs.hyprland = {
enable = true;
@ -137,7 +130,6 @@ in {
"SUPER, RETURN, exec, ${getExe config.programs.uwsm.package} app -- ${cfg.default-apps.terminal}"
"SUPER, BACKSPACE, killactive"
"SUPER, SPACE, exec, ${getExe config.programs.uwsm.package} app -- walker"
# "SUPER SHIFT, SPACE, exec, uwsm app -- walker --modules applications"
"SUPER, p, exec, ${getExe config.programs.uwsm.package} app -- loginctl lock-session"
"SUPER, S, togglefloating"
"SUPER, A, pseudo"
@ -168,6 +160,10 @@ in {
"SUPER, tab, changegroupactive, f"
"SUPER SHIFT, tab, changegroupactive, b"
];
bindm = [
"SUPER, mouse:272, movewindow"
"SUPER, mouse:273, resizewindow"
];
layerrule = [
"noanim, gtk4-layer-shell"
];