make fish common

This commit is contained in:
cy 2024-12-23 11:39:48 -05:00
parent 8d0314e0aa
commit e7c389f859
7 changed files with 7 additions and 11 deletions

View file

@ -42,4 +42,5 @@
programs.fzf.enableFishIntegration = true;
programs.zoxide.enableFishIntegration = true;
programs.eza.enableFishIntegration = true;
programs.nix-index.enableFishIntegration = true;
}

View file

@ -2,7 +2,7 @@
{
imports = [
../tmux.nix
../zsh
../fish.nix
];
home.sessionVariables = {

View file

@ -6,7 +6,6 @@
imports = [
./common.nix
../foot.nix
../fish.nix
];
home = {
username = "yt";

View file

@ -87,4 +87,5 @@
programs.fzf.enableZshIntegration = true;
programs.zoxide.enableZshIntegration = true;
programs.eza.enableZshIntegration = true;
programs.nix-index.enableZshIntegration = true;
}

View file

@ -156,9 +156,7 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPdhAQYy0+vS+QmyCd0MAbqbgzyMGcsuuFyf6kg2yKge yt@ytlinux"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINyn2+OoRN4nExti+vFQ1NHEZip0slAoCH9C5/FzvgZD yt@ytnix"
];
shell = pkgs.zsh;
};
programs.zsh.enable = true;
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPdhAQYy0+vS+QmyCd0MAbqbgzyMGcsuuFyf6kg2yKge yt@ytlinux"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINyn2+OoRN4nExti+vFQ1NHEZip0slAoCH9C5/FzvgZD yt@ytnix"

View file

@ -1,4 +1,4 @@
{ ... }:
{pkgs, ... }:
{
nix = {
settings = {
@ -24,9 +24,8 @@
# this is true by default and mutually exclusive with
# programs.nix-index
programs.command-not-found.enable = false;
programs.nix-index = {
enable = true;
enableZshIntegration = true;
};
programs.nix-index.enable = true;
users.users.yt.shell = pkgs.fish;
programs.fish.enable = true;
}

View file

@ -115,9 +115,7 @@
"libvirtd"
"docker"
];
shell = pkgs.fish;
};
programs.fish.enable = true;
environment.systemPackages = with pkgs; [
tmux