loptland: add ssh key of phone, make sure that fish loads op in terminal only session, without bricking homemanager
This commit is contained in:
parent
a0103c86d9
commit
b8155bff9e
|
@ -18,7 +18,7 @@ let
|
|||
in
|
||||
{
|
||||
options.${namespace}.apps.cli-apps.helix = {
|
||||
enable = mkEnableOption "Whether to enable nixvim or not";
|
||||
enable = mkEnableOption "Whether to enable helix or not";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
@ -30,8 +30,7 @@ in
|
|||
};
|
||||
|
||||
${namespace} = {
|
||||
home = {
|
||||
extraOptions = {
|
||||
home.extraOptions = {
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
package = helix-pkg;
|
||||
|
@ -128,9 +127,6 @@ in
|
|||
];
|
||||
|
||||
language-server = {
|
||||
nil = {
|
||||
command = "${pkgs.nil}/bin/nil";
|
||||
};
|
||||
nixd = {
|
||||
command = "${pkgs.nixd}/bin/nixd";
|
||||
};
|
||||
|
@ -152,7 +148,6 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nix.extra-substituters.${cachix-url} = {
|
||||
key = cachix-key;
|
||||
|
|
|
@ -108,15 +108,15 @@ in
|
|||
|
||||
user.trustedPublicKeys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHFrDiO5+vMfD5MimkzN32iw3MnSMLZ0mHvOrHVVmLD0"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII4Pr7p0jizrvIl0UhcvrmL5SHRQQQWIcHLAnRFyUZS6"
|
||||
];
|
||||
};
|
||||
|
||||
home.extraOptions = {
|
||||
snowfallorg.users.${config.${namespace}.user.name}.home.config = {
|
||||
programs.fish.shellInit = ''
|
||||
eval $(op signin)
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue