Configure zsh, cleanup worf

This commit is contained in:
2023-07-27 11:33:44 +02:00
parent 4f57fa36e3
commit 80489f5025
3 changed files with 86 additions and 13 deletions

View File

@@ -14,10 +14,18 @@
};
# System packages for all users
environment.systemPackages = [
pkgs.ripgrep
pkgs.wget
];
environment = {
systemPackages = with pkgs; [
ripgrep
wget
git
];
variables = {
EDITOR = "nvim";
VISUAL = "nvim";
};
};
users.users.felixalb = {
home = "/Users/felixalb";
@@ -27,6 +35,21 @@
programs.zsh.enable = true;
system.activationScripts.postActivation.text = ''sudo chsh -s ${pkgs.zsh}/bin/zsh''; # Since it's not possible to declare default shell, run this command after build
fonts = {
fontDir.enable = true;
fonts = with pkgs; [
source-code-pro
font-awesome
hack-font
(nerdfonts.override {
fonts = [
"FiraCode"
];
})
];
};
system.defaults = {
# login window settings
loginwindow = {