Configure zsh, cleanup worf
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user