installed python packages

This commit is contained in:
Danilo Reyes 2023-04-30 15:56:32 -06:00
parent 92a2b959d7
commit 1fbd820bf2
2 changed files with 440 additions and 400 deletions

View File

@ -1,7 +1,10 @@
{ config, pkgs, ...
}: { # Remember to close this bracket at the end of the document
{ config, pkgs, ... }:
{ # Remember to close this bracket at the end of the document
imports = [ ./hardware-configuration.nix <home-manager/nixos> ];
imports = [
./hardware-configuration.nix
<home-manager/nixos>
];
networking.hostName = "workstation";
@ -12,7 +15,9 @@
i18n = {
defaultLocale = "en_CA.UTF-8";
extraLocaleSettings = { LC_MONETARY = "es_MX.UTF-8"; };
extraLocaleSettings = {
LC_MONETARY = "es_MX.UTF-8";
};
};
console = {
font = "Lat2-Terminus16";
@ -37,7 +42,8 @@
gnome-text-editor
gnome-connections
baobab
]) ++ (with pkgs.gnome; [
])
++ (with pkgs.gnome; [
totem
gedit
gnome-music
@ -90,7 +96,7 @@
home-manager.users.jawz = { config, pkgs, ... }:{
# imports = [ ./dotfiles/dconf.nix ];
home.stateVersion = "22.11";
home.packages = with pkgs; [
home.packages = (with pkgs; [
# Art
blender # cgi animation and sculpting
@ -158,6 +164,7 @@
rmlint # probably my favourite app, amazing dupe finder that integrates well with BTRFS
tldr # man for retards
ffmpegthumbnailer # create video thumbnails for nautilus, in absence of totem
vcsi # video thumbnails for torrents, can I replace it with ^?
mediainfo # technical info about videos, needed by some of my scripts
tree-sitter # code parsing, required by Doom emacs
xdg-ninja # help declutter $HOME
@ -185,7 +192,7 @@
# PYTHON.
python3 # base language
python310Packages.pipx
pipenv # python development workflow for humans
# C# & Rust
omnisharp-roslyn
@ -213,35 +220,38 @@
# Fonts
(nerdfonts.override {
fonts = [
"Agave"
"CascadiaCode"
"SourceCodePro"
"Ubuntu"
"FiraCode"
"Iosevka"
];
fonts = [ "Agave" "CascadiaCode" "SourceCodePro" "Ubuntu" "FiraCode" "Iosevka" ];
})
# (papirus-icon-theme.override {
# color = "grey";
# })
];
]) ++ (with pkgs.python310Packages; [
black # Python code formatter
flake8 # wraper for pyflakes, pycodestyle and mccabe
gdtoolkit # gdscript parser
isort # sort Python imports
nose # testing and running python scripts
pipx # install python packages in a virtual environment
poetry # dependency management made easy
pyflakes # checks source code for errors
pylint # bug and style checker for python
pytest # framework for writing tests
speedtest-cli # check internet speed from the comand line
]);
programs.starship.enable = true;
programs.fish = {
enable = true;
# useBabelfish = true; This setting doens't work from inside home-manager
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";
comic = "download -u jawz -i (cat $lc | 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)";
unique_extensions =
"find . -type f | string match -r '([^./]+)$' | sort -u";
open_gallery = "open (find /mnt/disk2/scrapping/JawZ/gallery-dl -type d | fzf)";
unique_extensions = "find . -type f | string match -r '([^.\/]+)\$' | sort -u";
cp = "cp -i";
mv = "mv -i";
mkdir = "mkdir -p";
@ -297,8 +307,7 @@
config = {
# map-syntax = [ "*.jenkinsfile:Groovy" "*.props:Java Properties" ];
pager = "less -FR";
theme = "base16";
};
theme = "base16"; };
};
programs.git = {
@ -318,7 +327,9 @@
};
xdg.configFile."htop/htoprc".source = ./dotfiles/htop/htoprc;
xdg = { enable = true; };
xdg = {
enable = true;
};
xdg.userDirs = {
enable = true;
# createDirectories = true;
@ -334,8 +345,7 @@
xdg.configFile = {
"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;
"gallery-dl/config.json".source = ./dotfiles/gallery-dl/config.json;
};
@ -349,7 +359,10 @@
};
environment.systemPackages = with pkgs; [ wget docker-compose ];
environment.systemPackages = with pkgs; [
wget
docker-compose
];
environment.sessionVariables = rec {
# PATH
@ -412,7 +425,9 @@
enable = true;
enableSSHSupport = true;
};
geary = { enable = true; };
geary = {
enable = true;
};
steam = {
enable = true;
remotePlay.openFirewall = true;
@ -430,7 +445,11 @@
fstrim.enable = true;
btrfs.autoScrub = {
enable = true;
fileSystems = [ "/" "/mnt/disk1" "/mnt/disk2" ];
fileSystems = [
"/"
"/mnt/disk1"
"/mnt/disk2"
];
};
openssh = {
enable = true;

View File

@ -264,10 +264,13 @@ necessary.
home-manager.users.jawz = { config, pkgs, ... }:{
# imports = [ ./dotfiles/dconf.nix ];
home.stateVersion = "22.11";
home.packages = with pkgs; [
home.packages = (with pkgs; [
#+end_src
*** GUI PACKAGES
*** GUI PACKAGES :ATTACH:
:PROPERTIES:
:ID: d5a59b97-4c99-4813-9583-4bdbc978dbad
:END:
#+begin_src nix
# Art
@ -340,6 +343,7 @@ neofetch # use once for brag, never again
rmlint # probably my favourite app, amazing dupe finder that integrates well with BTRFS
tldr # man for retards
ffmpegthumbnailer # create video thumbnails for nautilus, in absence of totem
vcsi # video thumbnails for torrents, can I replace it with ^?
mediainfo # technical info about videos, needed by some of my scripts
tree-sitter # code parsing, required by Doom emacs
xdg-ninja # help declutter $HOME
@ -371,7 +375,7 @@ nixfmt # linting
# PYTHON.
python3 # base language
python310Packages.pipx
pipenv # python development workflow for humans
# C# & Rust
omnisharp-roslyn
@ -419,7 +423,24 @@ adwaita-qt
# (papirus-icon-theme.override {
# color = "grey";
# })
];
#+end_src
** PYTHON
#+begin_src nix
]) ++ (with pkgs.python310Packages; [
black # Python code formatter
flake8 # wraper for pyflakes, pycodestyle and mccabe
gdtoolkit # gdscript parser
isort # sort Python imports
nose # testing and running python scripts
pipx # install python packages in a virtual environment
poetry # dependency management made easy
pyflakes # checks source code for errors
pylint # bug and style checker for python
pytest # framework for writing tests
speedtest-cli # check internet speed from the comand line
]);
#+end_src
** DOTFILES