diff --git a/modules/shell.nix b/modules/shell.nix index 328a97c..dc317c1 100644 --- a/modules/shell.nix +++ b/modules/shell.nix @@ -1,7 +1,7 @@ -{ config, lib, ... }: -{ - flake.nixosModules.shell = { - programs.fish.enable = true; - # users.users.${config.username}.shell = nixosArgs.config.programs.fish.package; +{config, ...}: { + flake.nixosModules.shell = {pkgs, ...}: { + programs.fish.enable = true; + users.users.${config.username}.shell = pkgs.fish; + users.defaultUserShell = pkgs.fish; }; }