replace int with string for env variable
This commit is contained in:
parent
e9cc3d7bdb
commit
a9a0b5bb94
|
@ -87,7 +87,7 @@
|
|||
environment.variables = {
|
||||
EDITOR = "vim";
|
||||
HIGHLIGHT_STYLE = "solarized-light";
|
||||
NIXPKGS_ALLOW_UNFREE = 1;
|
||||
NIXPKGS_ALLOW_UNFREE = "1";
|
||||
};
|
||||
|
||||
security.sudo = {
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
remove-special-characters = pkgs.writeShellScriptBin "${builtins.readFile ./remove_special_characters.sh}";
|
||||
in
|
||||
{
|
||||
environment.systemPackages = [ remove-special-characters ];
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
find . -print | while read file
|
||||
do
|
||||
file_clean=${file//[ ()&\'\,]/_}
|
||||
mv "$file" "$file_clean"
|
||||
done
|
Loading…
Reference in New Issue