nixos-config/hosts/worf/configuration.nix

23 lines
624 B
Nix
Raw Normal View History

2023-07-26 09:06:51 +02:00
{ pkgs, ... }:
{
2023-07-26 10:48:52 +02:00
# Many settings should be handled by home manager. System-wide settings are however managed here.
# System packages for all users
2023-07-26 09:06:51 +02:00
environment.systemPackages = [
2023-07-26 10:48:52 +02:00
pkgs.ripgrep
pkgs.wget
2023-07-26 09:06:51 +02:00
];
2023-07-26 10:48:52 +02:00
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
2023-07-26 09:06:51 +02:00
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
nix.package = pkgs.nix;
}