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