Add home-manager and fix worf
This commit is contained in:
@@ -1,12 +1,21 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
# List packages installed in system profile. To search by name, run:
|
||||
# $ nix-env -qaP | grep wget
|
||||
# Many settings should be handled by home manager. System-wide settings are however managed here.
|
||||
|
||||
# System packages for all users
|
||||
environment.systemPackages = [
|
||||
pkgs.neovim
|
||||
pkgs.iterm2
|
||||
pkgs.ripgrep
|
||||
pkgs.wget
|
||||
];
|
||||
|
||||
users.users.felixalb = {
|
||||
home = "/Users/felixalb";
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
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
|
||||
|
||||
# Auto upgrade nix package and the daemon service.
|
||||
services.nix-daemon.enable = true;
|
||||
nix.package = pkgs.nix;
|
||||
|
||||
Reference in New Issue
Block a user