Fix fish bug 2
This commit is contained in:
parent
f7585b5bf4
commit
533f1494a5
|
@ -6,7 +6,6 @@
|
|||
sopsHmModule,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
{
|
||||
|
||||
imports = [
|
||||
|
@ -39,17 +38,15 @@ with lib;
|
|||
keymap = config.console.keyMap;
|
||||
isNvidiaGpu = (config.my.hardware.gpu == "nvidia");
|
||||
};
|
||||
home-manager.users = builtins.mapAttrs (
|
||||
name: value:
|
||||
{
|
||||
home-manager.users = builtins.mapAttrs (name: value: {
|
||||
imports = [ value.hmConfig ];
|
||||
|
||||
home.username = name;
|
||||
home.homeDirectory = "/home/${name}";
|
||||
home.stateVersion = machineProps.stateVersion;
|
||||
programs.home-manager.enable = true;
|
||||
programs.fish.enable = value.shell == pkgs.fish;
|
||||
}
|
||||
// value.hmConfig
|
||||
) config.my.users;
|
||||
}) config.my.users;
|
||||
}
|
||||
else
|
||||
{ }
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
swayLaunchScript =
|
||||
if config.my.desktop.sway.enable then
|
||||
|
@ -17,7 +16,7 @@ let
|
|||
"";
|
||||
in
|
||||
{
|
||||
config.programs.fish = mkIf config.programs.fish.enable {
|
||||
programs.fish = lib.mkIf config.programs.fish.enable {
|
||||
plugins = [
|
||||
{
|
||||
name = "bobthefish";
|
||||
|
|
Loading…
Reference in a new issue