moved fish to core

This commit is contained in:
Sven Vogel 2023-12-15 23:18:26 +01:00
parent ee06cf9b12
commit 9ff402fd12
4 changed files with 21 additions and 11 deletions

View File

@ -56,7 +56,6 @@
services.rpcbind.enable = true; # needed for NFS services.rpcbind.enable = true; # needed for NFS
programs.partition-manager.enable = true; programs.partition-manager.enable = true;
programs.fish.enable = true;
# use bash shell for other users # use bash shell for other users
environment.shells = with pkgs; [ bash ]; environment.shells = with pkgs; [ bash ];
@ -96,16 +95,6 @@
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = (with pkgs; [ environment.systemPackages = (with pkgs; [
fishPlugins.done # notifications for background process finished
fishPlugins.fzf-fish
fishPlugins.forgit
fzf
fishPlugins.grc
grc
fishPlugins.tide # asynchronous prompt for fish shell
fishPlugins.autopair
distrobox distrobox
go go

View File

@ -4,6 +4,7 @@ let
in in
{ {
imports = [ ./fonts.nix ] imports = [ ./fonts.nix ]
++ lib.optionals settings.fish [ ./fish.nix ]
++ lib.optionals settings.printing.enable [ ./printing.nix ] ++ lib.optionals settings.printing.enable [ ./printing.nix ]
++ lib.optionals settings.xdg.enable [ ./xdg.nix ] ++ lib.optionals settings.xdg.enable [ ./xdg.nix ]
++ lib.optionals settings.java [ ./java.nix ] ++ lib.optionals settings.java [ ./java.nix ]

18
core/fish.nix Normal file
View File

@ -0,0 +1,18 @@
{ pkgs, lib, config, ... }:
let
settings = import ./../settings.nix;
in
{
programs.fish.enable = true;
environment.systemPackages = (with pkgs; [
fishPlugins.done # notifications for background process finished
fishPlugins.fzf-fish
fishPlugins.forgit
fzf
fishPlugins.grc
grc
fishPlugins.tide # asynchronous prompt for fish shell
fishPlugins.autopair
]);
}

View File

@ -18,6 +18,8 @@ with import <nixpkgs> {}; {
}; };
}; };
fish = true;
plasma5 = { plasma5 = {
enable = true; enable = true;
dconf = true; dconf = true;