mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
config: replace command-not-found with nix-index
This commit is contained in:
parent
4490214c61
commit
16fa8cb64f
10
flake.nix
10
flake.nix
@ -162,6 +162,11 @@
|
||||
inputs.nix-index-database.nixosModules.nix-index
|
||||
];
|
||||
|
||||
# Find Nix files with these! Even if nix-index is already enabled, it
|
||||
# is better to make it explicit.
|
||||
programs.command-not-found.enable = false;
|
||||
programs.nix-index.enable = true;
|
||||
|
||||
# BOOOOOOOOOOOOO! Somebody give me a tomato!
|
||||
services.xserver.excludePackages = with pkgs; [ xterm ];
|
||||
|
||||
@ -293,6 +298,11 @@
|
||||
# again.
|
||||
nix.package = pkgs.nixUnstable;
|
||||
|
||||
# Find Nix files with these! Even if nix-index is already enabled, it
|
||||
# is better to make it explicit.
|
||||
programs.command-not-found.enable = false;
|
||||
programs.nix-index.enable = true;
|
||||
|
||||
# Set the configurations for the package manager.
|
||||
nix.settings =
|
||||
let
|
||||
|
@ -73,10 +73,6 @@ in {
|
||||
# Convenience!
|
||||
environment.localBinInPath = true;
|
||||
|
||||
# Find Nix files with these!
|
||||
programs.command-not-found.enable = false;
|
||||
programs.nix-index.enable = true;
|
||||
|
||||
# Additional settings for developing with nix.
|
||||
nix.settings = {
|
||||
keep-outputs = true;
|
||||
@ -90,7 +86,7 @@ in {
|
||||
cachix # Compile no more by using someone's binary cache!
|
||||
curl # Our favorite network client.
|
||||
cmake # The poster boy for the hated build system.
|
||||
diffoscope # Oversized caffeine grinder.
|
||||
#diffoscope # Oversized caffeine grinder.
|
||||
direnv # The power of local development environment.
|
||||
ipcalc # Calculate your IP without going to the web.
|
||||
gcc # The usual toolchain.
|
||||
@ -128,9 +124,11 @@ in {
|
||||
(lib.mkIf cfg.shell.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
bandwhich # Sniffing your packets.
|
||||
dt # Get that functional gawk.
|
||||
lazygit # Git interface for the lazy.
|
||||
lazydocker # Git interface for the lazy.
|
||||
fd # Oh nice, a more reliable `find`.
|
||||
recode # Convert between different encodings.
|
||||
ripgrep # On nice, a more reliable `grep`.
|
||||
eza # Oh nice, a shinier `ls`.
|
||||
bat # dog > sky dog > cat
|
||||
@ -138,6 +136,9 @@ in {
|
||||
gopass # An improved version of the password manager for hipsters.
|
||||
zoxide # Gain teleportation abilities!
|
||||
];
|
||||
|
||||
# A modern version of the SSH.
|
||||
programs.mosh.enable = true;
|
||||
})
|
||||
|
||||
# !!! Please add your user to the "libvirtd" group.
|
||||
@ -187,7 +188,6 @@ in {
|
||||
# foreign environments.
|
||||
virtualisation.libvirtd = {
|
||||
enable = true;
|
||||
qemu.package = pkgs.qemu_full;
|
||||
qemu.ovmf.enable = true;
|
||||
};
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user