install/change some packages
This commit is contained in:
parent
d5422774b1
commit
d591f3a40d
@ -7,8 +7,13 @@ in
|
|||||||
enable = lib.mkEnableOption "development package set";
|
enable = lib.mkEnableOption "development package set";
|
||||||
};
|
};
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
programs.neovim = {
|
||||||
|
enable = true;
|
||||||
|
withPython3 = true;
|
||||||
|
withNodeJs = true;
|
||||||
|
withRuby = true;
|
||||||
|
};
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
neovim
|
|
||||||
ripgrep
|
ripgrep
|
||||||
fd
|
fd
|
||||||
bat
|
bat
|
||||||
|
@ -48,8 +48,23 @@ in
|
|||||||
home.file.".icons".source = config.lib.file.mkOutOfStoreSymlink "${config.xdg.dataHome}/icons";
|
home.file.".icons".source = config.lib.file.mkOutOfStoreSymlink "${config.xdg.dataHome}/icons";
|
||||||
home.file.".themes".source = config.lib.file.mkOutOfStoreSymlink "${config.xdg.dataHome}/themes";
|
home.file.".themes".source = config.lib.file.mkOutOfStoreSymlink "${config.xdg.dataHome}/themes";
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
# some packages defined here may be redundant with packages on a non-NixOS
|
||||||
|
# home-manager setup, but it's better to have a consistent environment at
|
||||||
|
# the cost of slightly more space
|
||||||
|
programs.neovim = {
|
||||||
|
enable = lib.mkDefault true;
|
||||||
|
vimAlias = lib.mkDefault true;
|
||||||
|
withPython3 = lib.mkDefault true;
|
||||||
|
defaultEditor = lib.mkDefault true;
|
||||||
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; let
|
||||||
|
neofetch-hyfetch-shim = writeShellScriptBin "neofetch" ''
|
||||||
|
exec "${pkgs.hyfetch}/bin/neowofetch" "$@"
|
||||||
|
'';
|
||||||
|
in [
|
||||||
btop
|
btop
|
||||||
|
htop
|
||||||
fzf
|
fzf
|
||||||
zoxide
|
zoxide
|
||||||
tmux
|
tmux
|
||||||
@ -57,9 +72,26 @@ in
|
|||||||
rclone
|
rclone
|
||||||
rmlint
|
rmlint
|
||||||
pv
|
pv
|
||||||
|
ncdu
|
||||||
|
rmlint
|
||||||
|
|
||||||
|
git
|
||||||
|
git-lfs
|
||||||
|
stow
|
||||||
|
curl
|
||||||
|
|
||||||
|
ripgrep
|
||||||
|
fd
|
||||||
|
bat
|
||||||
|
moreutils
|
||||||
|
grc
|
||||||
|
|
||||||
# for icat on all systems
|
# for icat on all systems
|
||||||
kitty.kitten
|
kitty.kitten
|
||||||
|
|
||||||
|
# pretty
|
||||||
|
hyfetch
|
||||||
|
neofetch-hyfetch-shim
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -50,7 +50,11 @@ in
|
|||||||
|
|
||||||
# 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; let
|
||||||
|
neofetch-hyfetch-shim = writeShellScriptBin "neofetch" ''
|
||||||
|
exec "${hyfetch}/bin/neowofetch" "$@"
|
||||||
|
'';
|
||||||
|
in [
|
||||||
neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||||
tmux
|
tmux
|
||||||
wget
|
wget
|
||||||
@ -102,7 +106,8 @@ in
|
|||||||
sops
|
sops
|
||||||
|
|
||||||
# etc
|
# etc
|
||||||
neofetch
|
hyfetch
|
||||||
|
neofetch-hyfetch-shim
|
||||||
atool-wrapped
|
atool-wrapped
|
||||||
restic
|
restic
|
||||||
rclone
|
rclone
|
||||||
|
Loading…
x
Reference in New Issue
Block a user