From 0331a1b53c9586a92c6b7555cc37bed27839ffb7 Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 25 May 2026 15:27:53 -0500 Subject: Add fish as default shell with zoxide integration --- modules/common.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/common.nix') diff --git a/modules/common.nix b/modules/common.nix index 3e14abb..56cc186 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -40,8 +40,11 @@ services.xserver.xkb.layout = "us"; # User + programs.fish.enable = true; + users.users.christian = { isNormalUser = true; + shell = pkgs.fish; extraGroups = [ "wheel" "video" @@ -73,6 +76,11 @@ dry-rebuild = "nix build ~/.config/nixos#nixosConfigurations.$(hostname).config.system.build.toplevel --no-link"; }; + programs.fish.shellAliases = { + rebuild = "sudo nixos-rebuild switch --flake ~/.config/nixos"; + dry-rebuild = "nix build ~/.config/nixos#nixosConfigurations.(hostname).config.system.build.toplevel --no-link"; + }; + programs.neovim = { enable = true; defaultEditor = true; -- cgit v1.2.3