settings for the NVME baremetal install
This commit is contained in:
@@ -141,6 +141,7 @@ services = {
|
||||
videoDrivers = [ "nvidia" ];
|
||||
displayManager.gdm.enable = true;
|
||||
desktopManager.gnome.enable = true;
|
||||
# wacom.enable = true;
|
||||
layout = "us";
|
||||
libinput.enable = true; # Wacom required?
|
||||
};
|
||||
@@ -151,10 +152,11 @@ environment.gnome.excludePackages = (with pkgs; [
|
||||
gnome-tour
|
||||
gnome-text-editor
|
||||
gnome-connections
|
||||
# gnome-shell-extensions
|
||||
baobab
|
||||
])
|
||||
++ (with pkgs.gnome; [
|
||||
totem
|
||||
# totem
|
||||
gedit
|
||||
gnome-music
|
||||
epiphany
|
||||
@@ -306,6 +308,7 @@ metadata-cleaner # remove any metadata and geolocation from files
|
||||
gnome-recipes # migrate these to mealie and delete
|
||||
unstable.denaro # manage your finances
|
||||
# unstable.celeste # sync tool for any cloud provider
|
||||
# libgda # for pano shell extension
|
||||
#+end_src
|
||||
|
||||
*** MULTIMEDIA
|
||||
@@ -326,6 +329,7 @@ tagger # tag music files
|
||||
# bottles # wine prefix manager
|
||||
obs-studio # screen recorder & streamer
|
||||
shortwave # listen to world radio
|
||||
nextcloud-client # teehee
|
||||
#+end_src
|
||||
|
||||
*** Web
|
||||
@@ -340,6 +344,7 @@ tor-browser-bundle-bin # dark web, so dark!
|
||||
# hugo # website engine
|
||||
nicotine-plus # remember Ares?
|
||||
warp # never used, but supposedly cool for sharing files
|
||||
HentaiAtHome # uh-oh
|
||||
#+end_src
|
||||
|
||||
** COMMAND-LINE PACKAGES
|
||||
@@ -355,12 +360,14 @@ ffmpeg_5 # coolest video converter!
|
||||
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
|
||||
# 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
|
||||
torrenttools # create torrent files from the terminal!
|
||||
lm_sensors # for extension, displays cpu temp
|
||||
# unstable.pokemon-colorscripts-mac # pokemon on your terminal!
|
||||
#+end_src
|
||||
|
||||
** DEVELOPMENT PACKAGES
|
||||
@@ -409,15 +416,6 @@ omnisharp-roslyn # c# linter and code formatter
|
||||
nodejs # not as bad as I thought
|
||||
#+end_src
|
||||
|
||||
** GNOME EXTENSIONS
|
||||
|
||||
#+begin_src nix
|
||||
gnome.gnome-tweaks # tweaks for the gnome desktop environment
|
||||
|
||||
gnomeExtensions.appindicator
|
||||
gnomeExtensions.gsconnect
|
||||
#+end_src
|
||||
|
||||
** HUNSPELL
|
||||
These dictionaries work with Firefox, Doom Emacs and LibreOffice.
|
||||
|
||||
@@ -437,6 +435,7 @@ main draws of Linux for me.
|
||||
adwaita-qt
|
||||
unstable.adw-gtk3
|
||||
unstable.gradience # theme customizer, allows you to modify adw-gtk3 themes
|
||||
gnome.gnome-tweaks # tweaks for the gnome desktop environment
|
||||
|
||||
# Fonts
|
||||
(nerdfonts.override {
|
||||
@@ -444,9 +443,9 @@ unstable.gradience # theme customizer, allows you to modify adw-gtk3 themes
|
||||
})
|
||||
symbola
|
||||
|
||||
# (papirus-icon-theme.override {
|
||||
# color = "grey";
|
||||
# })
|
||||
(papirus-icon-theme.override {
|
||||
color = "adwaita";
|
||||
})
|
||||
#+end_src
|
||||
|
||||
** PYTHON
|
||||
@@ -477,7 +476,20 @@ symbola
|
||||
bass # integrate bash utilities on fish
|
||||
#+end_src
|
||||
|
||||
** NODE JS PACKAGES
|
||||
** GNOME EXTENSIONS
|
||||
|
||||
#+begin_src nix
|
||||
]) ++ (with pkgs.gnomeExtensions; [
|
||||
appindicator
|
||||
gsconnect
|
||||
freon
|
||||
panel-scroll
|
||||
reading-strip
|
||||
tactile
|
||||
pano
|
||||
#+end_src
|
||||
|
||||
** NODEJS PACKAGES
|
||||
|
||||
#+begin_src nix
|
||||
]) ++ (with pkgs.nodePackages; [
|
||||
@@ -558,8 +570,9 @@ programs.fish = {
|
||||
#+end_src
|
||||
|
||||
#+begin_src fish
|
||||
|
||||
set fish_greeting "pika pika chu!!!! also remember fisher!"
|
||||
function fish_greeting
|
||||
pokemon-colorscripts -r
|
||||
end
|
||||
# Lists
|
||||
set -l list_root ${config.home.homeDirectory}/.config/jawz/lists/jawz
|
||||
set lw $list_root/watch.txt
|
||||
@@ -574,7 +587,6 @@ function fish_user_key_bindings
|
||||
# fish_default_key_bindings
|
||||
fish_vi_key_bindings
|
||||
end
|
||||
|
||||
#+end_src
|
||||
|
||||
|
||||
@@ -590,8 +602,9 @@ functions = {
|
||||
|
||||
#+begin_src fish
|
||||
set -l nix_file "$HOME/Development/NixOS/configuration.nix"
|
||||
echo $nix_file
|
||||
set -l hardware_file "$HOME/Development/NixOS/hardware-configuration.nix"
|
||||
nixfmt $nix_file
|
||||
nixfmt $hardware_file
|
||||
sudo nixos-rebuild switch -I nixos-config=$nix_file
|
||||
#+end_src
|
||||
#+begin_src nix
|
||||
@@ -624,10 +637,10 @@ programs = {
|
||||
userName = "Danilo Reyes";
|
||||
userEmail = "CaptainJawZ@outlook.com";
|
||||
};
|
||||
gpg = {
|
||||
enable = true;
|
||||
homedir = "${config.xdg.dataHome}/gnupg";
|
||||
};
|
||||
# gpg = {
|
||||
# enable = true;
|
||||
# homedir = "${config.xdg.dataHome}/gnupg";
|
||||
# };
|
||||
htop = {
|
||||
enable = true;
|
||||
package = pkgs.htop-vim;
|
||||
@@ -665,13 +678,13 @@ xdg = {
|
||||
** USER-SERVICES
|
||||
|
||||
#+begin_src nix
|
||||
# services = {
|
||||
# emacs = {
|
||||
# enable = true;
|
||||
# defaultEditor = true;
|
||||
# package = pkgs.emacs;
|
||||
# };
|
||||
# };
|
||||
services = {
|
||||
emacs = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
package = pkgs.emacs;
|
||||
};
|
||||
};
|
||||
#+end_src
|
||||
|
||||
** CLOSING HOME-MANAGER
|
||||
@@ -716,12 +729,14 @@ environment.variables = rec {
|
||||
NPM_CONFIG_USERCONFIG = "\${XDG_CONFIG_HOME}/npm/npmrc";
|
||||
PNPM_HOME = "\${XDG_DATA_HOME}/pnpm";
|
||||
# OPTIONS
|
||||
HISTFILE = "\${XDG_STATE_HOME}/bash/history";
|
||||
LESSHISTFILE = "-";
|
||||
GHCUP_USE_XDG_DIRS = "true";
|
||||
RIPGREP_CONFIG_PATH = "\${XDG_CONFIG_HOME}/ripgrep/ripgreprc";
|
||||
ELECTRUMDIR = "\${XDG_DATA_HOME}/electrum";
|
||||
VISUAL = "emacsclient -ca emacs";
|
||||
WGETRC = "\${XDG_CONFIG_HOME}/wgetrc";
|
||||
XCOMPOSECACHE = "${XDG_CACHE_HOME}/X11/xcompose";
|
||||
"_JAVA_OPTIONS" = "-Djava.util.prefs.userRoot=\${XDG_CONFIG_HOME}/java";
|
||||
# NVIDIA
|
||||
CUDA_CACHE_PATH = "\${XDG_CACHE_HOME}/nv";
|
||||
@@ -730,16 +745,15 @@ environment.variables = rec {
|
||||
|
||||
# Themes
|
||||
# GTK_THEME = "Adwaita:light";
|
||||
# QT_QPA_PLATFORMTHEME = "adwaita-dark";
|
||||
# QT_QPA_PLATFORMTHEME = "adwaita";
|
||||
# QT_STYLE_OVERRIDE = "adwaita";
|
||||
# CALIBRE_USE_SYSTEM_THEME = "1";
|
||||
CALIBRE_USE_SYSTEM_THEME = "1";
|
||||
|
||||
PATH = [
|
||||
"\${XDG_BIN_HOME}"
|
||||
"\${HOME}/.local/bin"
|
||||
"\${XDG_CONFIG_HOME}/emacs/bin"
|
||||
"\${XDG_DATA_HOME}/npm/bin"
|
||||
"\${PNPM_HOME}"
|
||||
"\${SCRIPTS}"
|
||||
"\${XDG_DATA_HOME}/pnpm"
|
||||
];
|
||||
};
|
||||
#+end_src
|
||||
@@ -784,6 +798,7 @@ snapraid = {
|
||||
"/lost+found/"
|
||||
"/multimedia/downloads/"
|
||||
"/scrapping/nextcloud/"
|
||||
"/backups/"
|
||||
];
|
||||
dataDisks = {
|
||||
d1 = "/mnt/disk1/";
|
||||
@@ -833,7 +848,7 @@ services = {
|
||||
enable = true;
|
||||
ports = [ 25152 ];
|
||||
};
|
||||
udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
|
||||
# udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
|
||||
emacs = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
@@ -866,7 +881,24 @@ systemd.services = {
|
||||
# Type = "simple";
|
||||
RestartSec = 30;
|
||||
ExecStart = "${pkgs.docker-compose}/bin/docker-compose -f \${FILE} up --remove-orphans";
|
||||
ExecStop = "${pkgs.docker-compose}docker-compose -f \${FILE} down";
|
||||
ExecStop = "${pkgs.docker-compose}/bin/docker-compose -f \${FILE} down";
|
||||
};
|
||||
};
|
||||
};
|
||||
systemd.user.services = {
|
||||
"HentaiAtHome" = {
|
||||
enable = true;
|
||||
restartIfChanged = true;
|
||||
description = "Run hentai@home server";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
path = [
|
||||
pkgs.HentaiAtHome
|
||||
];
|
||||
serviceConfig = {
|
||||
Restart = "on-failure";
|
||||
RestartSec = 30;
|
||||
WorkingDirectory="/mnt/hnbox";
|
||||
ExecStart = "${pkgs.HentaiAtHome}/bin/HentaiAtHome";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user