Can remove hacky way of enabling fish

This commit is contained in:
larstvei 2025-08-23 15:18:08 +02:00
parent 2b5b572a39
commit e719a6320d

View File

@ -1,17 +1,17 @@
{ pkgs, lib, ... }: { pkgs, ... }:
{ {
fonts.packages = import ../home/fonts { inherit pkgs; }; fonts.packages = import ../home/fonts { inherit pkgs; };
users.users."larstvei".home = "/Users/larstvei"; users.users = {
larstvei = {
home = "/Users/larstvei";
shell = pkgs.fish;
};
};
programs.fish.enable = true; programs.fish.enable = true;
system.activationScripts.postActivation.text = ''
# Set the default shell as fish for the user. MacOS doesn't do this like nixOS does
sudo chsh -s ${lib.getBin pkgs.fish}/bin/fish larstvei
'';
networking.hostName = "larstvei-macbookpro"; networking.hostName = "larstvei-macbookpro";
system = { system = {