diff --git a/.config/bash/module/Nix.sh b/.config/bash/module/Nix.sh index d1c61cd..13324ab 100644 --- a/.config/bash/module/Nix.sh +++ b/.config/bash/module/Nix.sh @@ -1,6 +1,6 @@ # Find Nix package path. -# Usage: find_nix -function find_nix() { +# Usage: nix_find +function nix_find() { local IFS=$'\n' local package="${1}" diff --git a/.config/linux/nix/desktop/configuration.nix b/.config/linux/nix/desktop/configuration.nix index 728803e..d553e0b 100644 --- a/.config/linux/nix/desktop/configuration.nix +++ b/.config/linux/nix/desktop/configuration.nix @@ -1,5 +1,6 @@ { config, pkgs, ... }: +# Help: man configuration.nix or https://nixos.org/nixos/options.html { imports = [ ./hardware-configuration.nix @@ -151,11 +152,6 @@ # Nix. nixpkgs.config.allowUnfree = true; - # This value determines the NixOS release from which the default - # settings for stateful data, like file locations and database versions - # on your system were taken. It‘s perfectly fine and recommended to leave - # this value at the release version of the first install of this system. - # Before changing this value read the documentation for this option - # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "23.11"; # Did you read the comment? + # Do not touch ever. + system.stateVersion = "23.11"; } diff --git a/.doc/Bash.md b/.doc/Bash.md index 99d75b7..c53ddcf 100644 --- a/.doc/Bash.md +++ b/.doc/Bash.md @@ -134,7 +134,7 @@ Command|Description Command|Description ---|--- -`export_java [VERSION]`|Set java version. Sets to latest when not specified. +`export_java `|Set java version. Sets to latest when not specified. ## Ffmpeg. @@ -250,6 +250,12 @@ Command|Description ---|--- `ncdu [DIRS]`|Search only on current filesystem. Current dir by default. +## Nix. + +Command|Description +---|--- +`nix_find `|Find Nix package path. + ## Notify. Command|Description