mirror of
https://github.com/larstvei/nix-config.git
synced 2025-08-30 12:50:12 +00:00
Can remove hacky way of enabling fish
This commit is contained in:
parent
2b5b572a39
commit
e719a6320d
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user