installed nodejs packages
This commit is contained in:
parent
1fbd820bf2
commit
ba349d8660
@ -1,10 +1,7 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ...
|
||||||
{ # Remember to close this bracket at the end of the document
|
}: { # Remember to close this bracket at the end of the document
|
||||||
|
|
||||||
imports = [
|
imports = [ ./hardware-configuration.nix <home-manager/nixos> ];
|
||||||
./hardware-configuration.nix
|
|
||||||
<home-manager/nixos>
|
|
||||||
];
|
|
||||||
|
|
||||||
networking.hostName = "workstation";
|
networking.hostName = "workstation";
|
||||||
|
|
||||||
@ -15,9 +12,7 @@ time.timeZone = "America/Mexico_City";
|
|||||||
|
|
||||||
i18n = {
|
i18n = {
|
||||||
defaultLocale = "en_CA.UTF-8";
|
defaultLocale = "en_CA.UTF-8";
|
||||||
extraLocaleSettings = {
|
extraLocaleSettings = { LC_MONETARY = "es_MX.UTF-8"; };
|
||||||
LC_MONETARY = "es_MX.UTF-8";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
console = {
|
console = {
|
||||||
font = "Lat2-Terminus16";
|
font = "Lat2-Terminus16";
|
||||||
@ -42,8 +37,7 @@ environment.gnome.excludePackages = (with pkgs; [
|
|||||||
gnome-text-editor
|
gnome-text-editor
|
||||||
gnome-connections
|
gnome-connections
|
||||||
baobab
|
baobab
|
||||||
])
|
]) ++ (with pkgs.gnome; [
|
||||||
++ (with pkgs.gnome; [
|
|
||||||
totem
|
totem
|
||||||
gedit
|
gedit
|
||||||
gnome-music
|
gnome-music
|
||||||
@ -101,6 +95,7 @@ home-manager.users.jawz = { config, pkgs, ... }:{
|
|||||||
# Art
|
# Art
|
||||||
blender # cgi animation and sculpting
|
blender # cgi animation and sculpting
|
||||||
godot # game development
|
godot # game development
|
||||||
|
# gdtoolkit # gdscript language server
|
||||||
krita # art to your heart desire!
|
krita # art to your heart desire!
|
||||||
drawpile # arty party with friends!!
|
drawpile # arty party with friends!!
|
||||||
mypaint # not the best art program
|
mypaint # not the best art program
|
||||||
@ -220,7 +215,14 @@ adwaita-qt
|
|||||||
|
|
||||||
# Fonts
|
# Fonts
|
||||||
(nerdfonts.override {
|
(nerdfonts.override {
|
||||||
fonts = [ "Agave" "CascadiaCode" "SourceCodePro" "Ubuntu" "FiraCode" "Iosevka" ];
|
fonts = [
|
||||||
|
"Agave"
|
||||||
|
"CascadiaCode"
|
||||||
|
"SourceCodePro"
|
||||||
|
"Ubuntu"
|
||||||
|
"FiraCode"
|
||||||
|
"Iosevka"
|
||||||
|
];
|
||||||
})
|
})
|
||||||
|
|
||||||
# (papirus-icon-theme.override {
|
# (papirus-icon-theme.override {
|
||||||
@ -230,7 +232,6 @@ adwaita-qt
|
|||||||
]) ++ (with pkgs.python310Packages; [
|
]) ++ (with pkgs.python310Packages; [
|
||||||
black # Python code formatter
|
black # Python code formatter
|
||||||
flake8 # wraper for pyflakes, pycodestyle and mccabe
|
flake8 # wraper for pyflakes, pycodestyle and mccabe
|
||||||
gdtoolkit # gdscript parser
|
|
||||||
isort # sort Python imports
|
isort # sort Python imports
|
||||||
nose # testing and running python scripts
|
nose # testing and running python scripts
|
||||||
pipx # install python packages in a virtual environment
|
pipx # install python packages in a virtual environment
|
||||||
@ -239,6 +240,12 @@ adwaita-qt
|
|||||||
pylint # bug and style checker for python
|
pylint # bug and style checker for python
|
||||||
pytest # framework for writing tests
|
pytest # framework for writing tests
|
||||||
speedtest-cli # check internet speed from the comand line
|
speedtest-cli # check internet speed from the comand line
|
||||||
|
|
||||||
|
]) ++ (with pkgs.nodePackages; [
|
||||||
|
dockerfile-language-server-nodejs
|
||||||
|
markdownlint-cli
|
||||||
|
prettier
|
||||||
|
pnpm
|
||||||
]);
|
]);
|
||||||
|
|
||||||
programs.starship.enable = true;
|
programs.starship.enable = true;
|
||||||
@ -246,12 +253,15 @@ programs.fish = {
|
|||||||
enable = true;
|
enable = true;
|
||||||
# useBabelfish = true; This setting doens't work from inside home-manager
|
# useBabelfish = true; This setting doens't work from inside home-manager
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ls = "exa --icons --group-directories-first --no-permissions --no-user --no-time";
|
ls =
|
||||||
|
"exa --icons --group-directories-first --no-permissions --no-user --no-time";
|
||||||
edit = "emacsclient -t";
|
edit = "emacsclient -t";
|
||||||
comic = "download -u jawz -i (cat $lc | fzf --multi --exact -i)";
|
comic = "download -u jawz -i (cat $lc | fzf --multi --exact -i)";
|
||||||
gallery = "download -u jawz -i (cat $lw | fzf --multi --exact -i)";
|
gallery = "download -u jawz -i (cat $lw | fzf --multi --exact -i)";
|
||||||
open_gallery = "open (find /mnt/disk2/scrapping/JawZ/gallery-dl -type d | fzf)";
|
open_gallery =
|
||||||
unique_extensions = "find . -type f | string match -r '([^.\/]+)\$' | sort -u";
|
"open (find /mnt/disk2/scrapping/JawZ/gallery-dl -type d | fzf)";
|
||||||
|
unique_extensions =
|
||||||
|
"find . -type f | string match -r '([^./]+)$' | sort -u";
|
||||||
cp = "cp -i";
|
cp = "cp -i";
|
||||||
mv = "mv -i";
|
mv = "mv -i";
|
||||||
mkdir = "mkdir -p";
|
mkdir = "mkdir -p";
|
||||||
@ -307,7 +317,8 @@ programs.bat = {
|
|||||||
config = {
|
config = {
|
||||||
# map-syntax = [ "*.jenkinsfile:Groovy" "*.props:Java Properties" ];
|
# map-syntax = [ "*.jenkinsfile:Groovy" "*.props:Java Properties" ];
|
||||||
pager = "less -FR";
|
pager = "less -FR";
|
||||||
theme = "base16"; };
|
theme = "base16";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
@ -327,9 +338,7 @@ programs.htop = {
|
|||||||
};
|
};
|
||||||
xdg.configFile."htop/htoprc".source = ./dotfiles/htop/htoprc;
|
xdg.configFile."htop/htoprc".source = ./dotfiles/htop/htoprc;
|
||||||
|
|
||||||
xdg = {
|
xdg = { enable = true; };
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
xdg.userDirs = {
|
xdg.userDirs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# createDirectories = true;
|
# createDirectories = true;
|
||||||
@ -345,7 +354,8 @@ xdg.userDirs = {
|
|||||||
|
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
"wgetrc".source = ./dotfiles/wget/wgetrc;
|
"wgetrc".source = ./dotfiles/wget/wgetrc;
|
||||||
"configstore/update-notifier-npm-check.json".source = ./dotfiles/npm/update-notifier-npm-check.json;
|
"configstore/update-notifier-npm-check.json".source =
|
||||||
|
./dotfiles/npm/update-notifier-npm-check.json;
|
||||||
"npm/npmrc".source = ./dotfiles/npm/npmrc;
|
"npm/npmrc".source = ./dotfiles/npm/npmrc;
|
||||||
"gallery-dl/config.json".source = ./dotfiles/gallery-dl/config.json;
|
"gallery-dl/config.json".source = ./dotfiles/gallery-dl/config.json;
|
||||||
};
|
};
|
||||||
@ -359,10 +369,7 @@ xdg.configFile = {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [ wget docker-compose ];
|
||||||
wget
|
|
||||||
docker-compose
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.sessionVariables = rec {
|
environment.sessionVariables = rec {
|
||||||
# PATH
|
# PATH
|
||||||
@ -407,8 +414,8 @@ environment.sessionVariables = rec {
|
|||||||
PATH = [
|
PATH = [
|
||||||
"\${XDG_BIN_HOME}"
|
"\${XDG_BIN_HOME}"
|
||||||
"\${XDG_CONFIG_HOME}/emacs/bin"
|
"\${XDG_CONFIG_HOME}/emacs/bin"
|
||||||
# "\${XDG_DATA_HOME}/npm/bin"
|
"\${XDG_DATA_HOME}/npm/bin"
|
||||||
# "\${PNPM_HOME}"
|
"\${PNPM_HOME}"
|
||||||
# "\${SCRIPTS}"
|
# "\${SCRIPTS}"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
@ -425,9 +432,7 @@ programs = {
|
|||||||
enable = true;
|
enable = true;
|
||||||
enableSSHSupport = true;
|
enableSSHSupport = true;
|
||||||
};
|
};
|
||||||
geary = {
|
geary = { enable = true; };
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
steam = {
|
steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
remotePlay.openFirewall = true;
|
remotePlay.openFirewall = true;
|
||||||
@ -445,11 +450,7 @@ services = {
|
|||||||
fstrim.enable = true;
|
fstrim.enable = true;
|
||||||
btrfs.autoScrub = {
|
btrfs.autoScrub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
fileSystems = [
|
fileSystems = [ "/" "/mnt/disk1" "/mnt/disk2" ];
|
||||||
"/"
|
|
||||||
"/mnt/disk1"
|
|
||||||
"/mnt/disk2"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
openssh = {
|
openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@ -276,6 +276,7 @@ home-manager.users.jawz = { config, pkgs, ... }:{
|
|||||||
# Art
|
# Art
|
||||||
blender # cgi animation and sculpting
|
blender # cgi animation and sculpting
|
||||||
godot # game development
|
godot # game development
|
||||||
|
# gdtoolkit # gdscript language server
|
||||||
krita # art to your heart desire!
|
krita # art to your heart desire!
|
||||||
drawpile # arty party with friends!!
|
drawpile # arty party with friends!!
|
||||||
mypaint # not the best art program
|
mypaint # not the best art program
|
||||||
@ -431,7 +432,6 @@ adwaita-qt
|
|||||||
]) ++ (with pkgs.python310Packages; [
|
]) ++ (with pkgs.python310Packages; [
|
||||||
black # Python code formatter
|
black # Python code formatter
|
||||||
flake8 # wraper for pyflakes, pycodestyle and mccabe
|
flake8 # wraper for pyflakes, pycodestyle and mccabe
|
||||||
gdtoolkit # gdscript parser
|
|
||||||
isort # sort Python imports
|
isort # sort Python imports
|
||||||
nose # testing and running python scripts
|
nose # testing and running python scripts
|
||||||
pipx # install python packages in a virtual environment
|
pipx # install python packages in a virtual environment
|
||||||
@ -440,6 +440,16 @@ adwaita-qt
|
|||||||
pylint # bug and style checker for python
|
pylint # bug and style checker for python
|
||||||
pytest # framework for writing tests
|
pytest # framework for writing tests
|
||||||
speedtest-cli # check internet speed from the comand line
|
speedtest-cli # check internet speed from the comand line
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
** NPM
|
||||||
|
|
||||||
|
#+begin_src nix
|
||||||
|
]) ++ (with pkgs.nodePackages; [
|
||||||
|
dockerfile-language-server-nodejs
|
||||||
|
markdownlint-cli
|
||||||
|
prettier
|
||||||
|
pnpm
|
||||||
]);
|
]);
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
@ -670,8 +680,8 @@ environment.sessionVariables = rec {
|
|||||||
PATH = [
|
PATH = [
|
||||||
"\${XDG_BIN_HOME}"
|
"\${XDG_BIN_HOME}"
|
||||||
"\${XDG_CONFIG_HOME}/emacs/bin"
|
"\${XDG_CONFIG_HOME}/emacs/bin"
|
||||||
# "\${XDG_DATA_HOME}/npm/bin"
|
"\${XDG_DATA_HOME}/npm/bin"
|
||||||
# "\${PNPM_HOME}"
|
"\${PNPM_HOME}"
|
||||||
# "\${SCRIPTS}"
|
# "\${SCRIPTS}"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user