✨ [shared] Updated Zed config, changed user config to just username
This commit is contained in:
@ -28,7 +28,7 @@ in
|
||||
];
|
||||
|
||||
home = {
|
||||
username = systemConfig.user.name;
|
||||
username = systemConfig.username;
|
||||
homeDirectory = dir.home;
|
||||
|
||||
sessionVariables = {
|
||||
|
@ -27,17 +27,17 @@
|
||||
version = "2";
|
||||
};
|
||||
autosave = "on_focus_change";
|
||||
auto_update = false;
|
||||
base_keymap = "JetBrains";
|
||||
buffer_font_family = font;
|
||||
features = {
|
||||
edit_completion_provider = "zed";
|
||||
};
|
||||
icon_theme = "Catppuccin Mocha";
|
||||
# icon_theme = { TODO replace icon theme above with below
|
||||
# mode = theme.mode;
|
||||
# light = "Catppuccin Mocha";
|
||||
# dark = "Catppuccin Mocha";
|
||||
# };
|
||||
icon_theme = {
|
||||
mode = theme.mode;
|
||||
light = "Catppuccin Latte";
|
||||
dark = "Catppuccin Mocha";
|
||||
};
|
||||
ui_font_family = font;
|
||||
ui_font_size = fontSize;
|
||||
buffer_font_size = fontSize;
|
||||
|
@ -14,7 +14,7 @@
|
||||
defaultSopsFile = lib.custom.relativeToRoot "shared/secrets/secrets.yaml";
|
||||
defaultSopsFormat = "yaml";
|
||||
|
||||
age.keyFile = "/home/${systemConfig.user.name}/.config/sops/age/keys.txt";
|
||||
age.keyFile = "/home/${systemConfig.username}/.config/sops/age/keys.txt";
|
||||
secrets.password.neededForUsers = true;
|
||||
};
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ config, systemConfig, ... }:
|
||||
let
|
||||
username = systemConfig.user.name;
|
||||
username = systemConfig.username;
|
||||
in
|
||||
{
|
||||
users.users.${username} = {
|
||||
|
Reference in New Issue
Block a user