updated to NixOs 23.05 and declared download pkgs

This commit is contained in:
Danilo Reyes 2023-06-01 00:32:35 -06:00
parent 84e93b766d
commit 24ad3d4550
4 changed files with 101 additions and 79 deletions

View File

@ -1,6 +1,6 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
VERSION = "22.11"; VERSION = "23.05";
# HOME-MANAGER = builtins.fetchTarball # HOME-MANAGER = builtins.fetchTarball
# "https://github.com/nix-community/home-manager/archive/master.tar.gz"; # "https://github.com/nix-community/home-manager/archive/master.tar.gz";
unstable_tarball = unstable_tarball =
@ -67,7 +67,7 @@ in { # Remember to close this bracket at the end of the document
]); ]);
# Sets up QT to use adwaita themes. # Sets up QT to use adwaita themes.
qt5 = { qt = {
enable = true; enable = true;
platformTheme = "gnome"; platformTheme = "gnome";
style = "adwaita"; style = "adwaita";
@ -113,40 +113,40 @@ in { # Remember to close this bracket at the end of the document
blender # cgi animation and sculpting blender # cgi animation and sculpting
godot # game development godot # game development
unstable.gdtoolkit # gdscript language server 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
mypaint-brushes # but it's got some mypaint-brushes # but it's got some
mypaint-brushes1 # nice damn brushes mypaint-brushes1 # nice damn brushes
unstable.pureref # create inspiration/reference boards pureref # create inspiration/reference boards
unstable.gimp # the coolest bestest art program to never exist gimp # the coolest bestest art program to never exist
lutris # game/emulator manager lutris # game/emulator manager
# unstable.grapejuice # roblox manager # grapejuice # roblox manager
minecraft # minecraft official launcher minecraft # minecraft official launcher
parsec-bin # remote gaming with friends parsec-bin # remote gaming with friends
unstable.protonup-qt # update proton-ge protonup-qt # update proton-ge
libreoffice-fresh # office, but based libreoffice-fresh # office, but based
calibre # ugly af eBook library manager calibre # ugly af eBook library manager
foliate # gtk eBook reader foliate # gtk eBook reader
gnome-feeds # feed reader, maybe will replace with nextcloud gnome-feeds # feed reader, maybe will replace with nextcloud
# unstable.wike # gtk wikipedia wow! wike # gtk wikipedia wow!
unstable.furtherance # I made this one tehee track time utility furtherance # I made this one tehee track time utility
gnome.simple-scan # scanner gnome.simple-scan # scanner
# sequeler # friendly SQL client # sequeler # friendly SQL client
blanket # background noise blanket # background noise
unstable.czkawka # duplicate finder czkawka # duplicate finder
pika-backup # backups pika-backup # backups
# tilix # used to be my favourite terminal, but it's so outdated, that each time I use it less and less… # tilix # used to be my favourite terminal, but it's so outdated, that each time I use it less and less…
gnome-obfuscate # censor private information gnome-obfuscate # censor private information
metadata-cleaner # remove any metadata and geolocation from files metadata-cleaner # remove any metadata and geolocation from files
gnome-recipes # migrate these to mealie and delete gnome-recipes # migrate these to mealie and delete
unstable.denaro # manage your finances denaro # manage your finances
# unstable.celeste # sync tool for any cloud provider # celeste # sync tool for any cloud provider
# libgda # for pano shell extension libgda # for pano shell extension
celluloid # video player celluloid # video player
cozy # audiobooks player cozy # audiobooks player
@ -154,7 +154,7 @@ in { # Remember to close this bracket at the end of the document
handbrake # video converter, may be unnecessary handbrake # video converter, may be unnecessary
curtail # image compressor curtail # image compressor
pitivi # video editor pitivi # video editor
unstable.identity # compare images or videos identity # compare images or videos
mousai # poor man shazam mousai # poor man shazam
tagger # tag music files tagger # tag music files
# bottles # wine prefix manager # bottles # wine prefix manager
@ -227,6 +227,7 @@ in { # Remember to close this bracket at the end of the document
# PYTHON. # PYTHON.
python3 # base language python3 # base language
pipenv # python development workflow for humans pipenv # python development workflow for humans
poetry # dependency management made easy
# C# & Rust # C# & Rust
# omnisharp-roslyn # c# linter and code formatter # omnisharp-roslyn # c# linter and code formatter
@ -244,8 +245,8 @@ in { # Remember to close this bracket at the end of the document
hunspellDicts.en_CA hunspellDicts.en_CA
# Themes # Themes
unstable.adw-gtk3 adw-gtk3
# unstable.gradience # theme customizer, allows you to modify adw-gtk3 themes # gradience # theme customizer, allows you to modify adw-gtk3 themes
gnome.gnome-tweaks # tweaks for the gnome desktop environment gnome.gnome-tweaks # tweaks for the gnome desktop environment
# Fonts # Fonts
@ -262,53 +263,58 @@ in { # Remember to close this bracket at the end of the document
symbola symbola
(papirus-icon-theme.override { color = "adwaita"; }) (papirus-icon-theme.override { color = "adwaita"; })
]) ++ (with pkgs.python311Packages; [ ]) ++ (with pkgs.python3Packages; [
black # Python code formatter
flake8 # wraper for pyflakes, pycodestyle and mccabe flake8 # wraper for pyflakes, pycodestyle and mccabe
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
pyflakes # checks source code for errors pyflakes # checks source code for errors
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
editorconfig # follow rules of contributin editorconfig # follow rules of contributin
]) ++ (with pkgs.python310Packages; black # Python code formatter
[ pylint # bug and style checker for python
poetry # dependency management made easy (buildPythonApplication rec {
pname = "download";
version = "1.5";
src = ./scripts/download/.;
doCheck = false;
buildInputs = [ setuptools ];
propagatedBuildInputs = [ pyyaml types-pyyaml ];
})
]) ++ (with pkgs.bat-extras; [ ]) ++ (with pkgs.bat-extras; [
batman # man pages batman # man pages
batpipe # piping batpipe # piping
batgrep # ripgrep batgrep # ripgrep
batdiff # this is getting crazy! batdiff # this is getting crazy!
batwatch # probably my next best friend batwatch # probably my next best friend
prettybat # trans your sourcecode! prettybat # trans your sourcecode!
]) ++ (with pkgs.fishPlugins; [ ]) ++ (with pkgs.fishPlugins; [
sponge # keep history clean from typos sponge # keep history clean from typos
fzf-fish # fish command line with fzf keybindings fzf-fish # fish command line with fzf keybindings
colored-man-pages # self explanatory colored-man-pages # self explanatory
autopair-fish # who has time for a closing bracket? autopair-fish # who has time for a closing bracket?
bass # integrate bash utilities on fish bass # integrate bash utilities on fish
]) ++ (with pkgs.gnomeExtensions; [ ]) ++ (with pkgs.gnomeExtensions; [
appindicator appindicator
gsconnect gsconnect
freon freon
panel-scroll panel-scroll
reading-strip reading-strip
tactile tactile
]) ++ (with unstable.pkgs.gnomeExtensions; pano
[ # ]) ++ (with unstable.pkgs.gnomeExtensions; [
pano
]) ++ (with pkgs.nodePackages; [ ]) ++ (with pkgs.nodePackages; [
# dockerfile-language-server-nodejs dockerfile-language-server-nodejs
markdownlint-cli pyright
prettier markdownlint-cli
pnpm prettier
]); pnpm
]);
}; # <--- end of package list }; # <--- end of package list
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
@ -438,6 +444,7 @@ in { # Remember to close this bracket at the end of the document
}; };
services = { services = {
lorri.enable = true;
emacs = { emacs = {
enable = true; enable = true;
defaultEditor = true; defaultEditor = true;
@ -537,6 +544,7 @@ in { # Remember to close this bracket at the end of the document
}; };
programs = { programs = {
fish.enable = true;
mtr.enable = true; mtr.enable = true;
neovim = { neovim = {
enable = true; enable = true;
@ -569,8 +577,10 @@ in { # Remember to close this bracket at the end of the document
openssh = { openssh = {
enable = true; enable = true;
ports = [ 25152 ]; ports = [ 25152 ];
passwordAuthentication = false; settings = {
kbdInteractiveAuthentication = false; PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
startWhenNeeded = true; startWhenNeeded = true;
listenAddresses = [{ listenAddresses = [{
addr = "0.0.0.0"; addr = "0.0.0.0";

View File

@ -37,7 +37,7 @@ variables, and other functions.
#+begin_src nix #+begin_src nix
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
VERSION = "22.11"; VERSION = "23.05";
# HOME-MANAGER = builtins.fetchTarball # HOME-MANAGER = builtins.fetchTarball
# "https://github.com/nix-community/home-manager/archive/master.tar.gz"; # "https://github.com/nix-community/home-manager/archive/master.tar.gz";
unstable_tarball = builtins.fetchTarball unstable_tarball = builtins.fetchTarball
@ -152,7 +152,7 @@ environment.gnome.excludePackages = (with pkgs; [
]); ]);
# Sets up QT to use adwaita themes. # Sets up QT to use adwaita themes.
qt5 = { qt = {
enable = true; enable = true;
platformTheme = "gnome"; platformTheme = "gnome";
style = "adwaita"; style = "adwaita";
@ -254,14 +254,14 @@ goals is to create a workflow between this ecosystem of applications.
#+begin_src nix #+begin_src nix
blender # cgi animation and sculpting blender # cgi animation and sculpting
godot # game development godot # game development
unstable.gdtoolkit # gdscript language server 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
mypaint-brushes # but it's got some mypaint-brushes # but it's got some
mypaint-brushes1 # nice damn brushes mypaint-brushes1 # nice damn brushes
unstable.pureref # create inspiration/reference boards pureref # create inspiration/reference boards
unstable.gimp # the coolest bestest art program to never exist gimp # the coolest bestest art program to never exist
#+end_src #+end_src
*** GAMING *** GAMING
@ -271,10 +271,10 @@ anticipated, most everything seems to run seamlessly.
#+begin_src nix #+begin_src nix
lutris # game/emulator manager lutris # game/emulator manager
# unstable.grapejuice # roblox manager # grapejuice # roblox manager
minecraft # minecraft official launcher minecraft # minecraft official launcher
parsec-bin # remote gaming with friends parsec-bin # remote gaming with friends
unstable.protonup-qt # update proton-ge protonup-qt # update proton-ge
#+end_src #+end_src
*** PRODUCTIVITY *** PRODUCTIVITY
@ -286,8 +286,8 @@ libreoffice-fresh # office, but based
calibre # ugly af eBook library manager calibre # ugly af eBook library manager
foliate # gtk eBook reader foliate # gtk eBook reader
gnome-feeds # feed reader, maybe will replace with nextcloud gnome-feeds # feed reader, maybe will replace with nextcloud
# unstable.wike # gtk wikipedia wow! wike # gtk wikipedia wow!
unstable.furtherance # I made this one tehee track time utility furtherance # I made this one tehee track time utility
gnome.simple-scan # scanner gnome.simple-scan # scanner
#+end_src #+end_src
@ -298,15 +298,15 @@ if just for a try and play a little.
#+begin_src nix #+begin_src nix
# sequeler # friendly SQL client # sequeler # friendly SQL client
blanket # background noise blanket # background noise
unstable.czkawka # duplicate finder czkawka # duplicate finder
pika-backup # backups pika-backup # backups
# tilix # used to be my favourite terminal, but it's so outdated, that each time I use it less and less… # tilix # used to be my favourite terminal, but it's so outdated, that each time I use it less and less…
gnome-obfuscate # censor private information gnome-obfuscate # censor private information
metadata-cleaner # remove any metadata and geolocation from files metadata-cleaner # remove any metadata and geolocation from files
gnome-recipes # migrate these to mealie and delete gnome-recipes # migrate these to mealie and delete
unstable.denaro # manage your finances denaro # manage your finances
# unstable.celeste # sync tool for any cloud provider # celeste # sync tool for any cloud provider
# libgda # for pano shell extension libgda # for pano shell extension
#+end_src #+end_src
*** MULTIMEDIA *** MULTIMEDIA
@ -321,7 +321,7 @@ gnome-podcasts # podcast player
handbrake # video converter, may be unnecessary handbrake # video converter, may be unnecessary
curtail # image compressor curtail # image compressor
pitivi # video editor pitivi # video editor
unstable.identity # compare images or videos identity # compare images or videos
mousai # poor man shazam mousai # poor man shazam
tagger # tag music files tagger # tag music files
# bottles # wine prefix manager # bottles # wine prefix manager
@ -408,6 +408,7 @@ nixfmt # linting
# PYTHON. # PYTHON.
python3 # base language python3 # base language
pipenv # python development workflow for humans pipenv # python development workflow for humans
poetry # dependency management made easy
# C# & Rust # C# & Rust
# omnisharp-roslyn # c# linter and code formatter # omnisharp-roslyn # c# linter and code formatter
@ -436,8 +437,8 @@ main draws of Linux for me.
#+begin_src nix #+begin_src nix
# Themes # Themes
unstable.adw-gtk3 adw-gtk3
# unstable.gradience # theme customizer, allows you to modify adw-gtk3 themes # gradience # theme customizer, allows you to modify adw-gtk3 themes
gnome.gnome-tweaks # tweaks for the gnome desktop environment gnome.gnome-tweaks # tweaks for the gnome desktop environment
# Fonts # Fonts
@ -453,19 +454,26 @@ symbola
** PYTHON ** PYTHON
#+begin_src nix #+begin_src nix
]) ++ (with pkgs.python311Packages; [ ]) ++ (with pkgs.python3Packages; [
black # Python code formatter
flake8 # wraper for pyflakes, pycodestyle and mccabe flake8 # wraper for pyflakes, pycodestyle and mccabe
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
pyflakes # checks source code for errors pyflakes # checks source code for errors
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
editorconfig # follow rules of contributin editorconfig # follow rules of contributin
]) ++ (with pkgs.python310Packages; [ black # Python code formatter
poetry # dependency management made easy pylint # bug and style checker for python
(buildPythonApplication rec {
pname = "download";
version = "1.5";
src = ./scripts/download/.;
doCheck = false;
buildInputs = [ setuptools ];
propagatedBuildInputs =
[ pyyaml types-pyyaml ];
})
#+end_src #+end_src
** BAT-EXTRAS ** BAT-EXTRAS
@ -501,15 +509,16 @@ symbola
panel-scroll panel-scroll
reading-strip reading-strip
tactile tactile
]) ++ (with unstable.pkgs.gnomeExtensions; [
pano pano
# ]) ++ (with unstable.pkgs.gnomeExtensions; [
#+end_src #+end_src
** NODEJS PACKAGES ** NODEJS PACKAGES
#+begin_src nix #+begin_src nix
]) ++ (with pkgs.nodePackages; [ ]) ++ (with pkgs.nodePackages; [
# dockerfile-language-server-nodejs dockerfile-language-server-nodejs
pyright
markdownlint-cli markdownlint-cli
prettier prettier
pnpm pnpm
@ -689,6 +698,7 @@ xdg = {
#+begin_src nix #+begin_src nix
services = { services = {
lorri.enable = true;
emacs = { emacs = {
enable = true; enable = true;
defaultEditor = true; defaultEditor = true;
@ -825,6 +835,7 @@ of some services.
#+begin_src nix #+begin_src nix
programs = { programs = {
fish.enable = true;
mtr.enable = true; mtr.enable = true;
neovim = { neovim = {
enable = true; enable = true;
@ -863,8 +874,10 @@ services = {
openssh = { openssh = {
enable = true; enable = true;
ports = [ 25152 ]; ports = [ 25152 ];
passwordAuthentication = false; settings = {
kbdInteractiveAuthentication = false; PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
startWhenNeeded = true; startWhenNeeded = true;
listenAddresses = [ listenAddresses = [
{ {

View File

@ -12,7 +12,6 @@
}; };
grub = { grub = {
enable = true; enable = true;
version = 2;
device = "nodev"; device = "nodev";
efiSupport = true; efiSupport = true;
enableCryptodisk = true; enableCryptodisk = true;

0
secrets.nix Normal file
View File