grammar fixes
This commit is contained in:
parent
8a8e9163c5
commit
6bdb9f82f2
@ -11,10 +11,9 @@
|
|||||||
|
|
||||||
|
|
||||||
* DECLARATION
|
* DECLARATION
|
||||||
Here I will declare the dependencies and variables that will be used multiple
|
Here I will declare the dependencies and variables that I call multiple times
|
||||||
times through the config file, such as the current version of NixOS,
|
through the config file, such as the current version of NixOS, repositories and
|
||||||
repositories and even some scripts that will be reused on systemd
|
even some scripts that I reuse on systemd configurations.
|
||||||
configurations.
|
|
||||||
|
|
||||||
- version: used by both NixOS and home-manager to dictate the state repository
|
- version: used by both NixOS and home-manager to dictate the state repository
|
||||||
from which to pull configurations, modules and packages.
|
from which to pull configurations, modules and packages.
|
||||||
@ -26,7 +25,7 @@ configurations.
|
|||||||
- unstable: a sort of overlay that allows to prepend "unstable" to a package,
|
- unstable: a sort of overlay that allows to prepend "unstable" to a package,
|
||||||
to pull from the unstable channel rather than precompiled binaries on a case
|
to pull from the unstable channel rather than precompiled binaries on a case
|
||||||
by case use.
|
by case use.
|
||||||
- jawz*: scripts that will be reused multiple times through the config, such as
|
- jawz*: scripts that will reuse multiple times through the config, such as
|
||||||
on systemd, and as such this feels like a safe way to compile them only once.
|
on systemd, and as such this feels like a safe way to compile them only once.
|
||||||
|
|
||||||
#+begin_src nix
|
#+begin_src nix
|
||||||
@ -51,12 +50,6 @@ let
|
|||||||
"sub-sync" (builtins.readFile ../scripts/sub-sync.sh);
|
"sub-sync" (builtins.readFile ../scripts/sub-sync.sh);
|
||||||
jawzStream = pkgs.writeScriptBin
|
jawzStream = pkgs.writeScriptBin
|
||||||
"stream-dl" (builtins.readFile ../scripts/stream-dl.sh);
|
"stream-dl" (builtins.readFile ../scripts/stream-dl.sh);
|
||||||
jawzScripts = [
|
|
||||||
jawzManageLibrary
|
|
||||||
jawzTasks
|
|
||||||
jawzSubs
|
|
||||||
jawzStream
|
|
||||||
];
|
|
||||||
in
|
in
|
||||||
{ # Remember to close this bracket at the end of the document
|
{ # Remember to close this bracket at the end of the document
|
||||||
#+end_src
|
#+end_src
|
||||||
@ -87,8 +80,8 @@ hosts file with the static IP and hostname of other devices on my network.
|
|||||||
|
|
||||||
Also open ports on the firewall for LAN connectivity, and well keeping commented
|
Also open ports on the firewall for LAN connectivity, and well keeping commented
|
||||||
what each port does, I declared the firwewall ports with variables, because I
|
what each port does, I declared the firwewall ports with variables, because I
|
||||||
can not be bothered to figure out whether I need TCP or UDP so let's open both,
|
don't care to figure out whether I need TCP or UDP so let's open both, and
|
||||||
and repetition is maddening.
|
repetition is maddening.
|
||||||
|
|
||||||
#+begin_src nix
|
#+begin_src nix
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||||
@ -321,9 +314,6 @@ packages = (with pkgs; [
|
|||||||
cli and tui packages, which on their own right are as or more powerful than the
|
cli and tui packages, which on their own right are as or more powerful than the
|
||||||
packages on the previous section.
|
packages on the previous section.
|
||||||
|
|
||||||
=note= exa is no longer maintained, and will soon be replaced by eza, a maintained
|
|
||||||
fork.
|
|
||||||
|
|
||||||
** HUNSPELL
|
** HUNSPELL
|
||||||
These dictionaries work with Firefox, Doom Emacs and LibreOffice.
|
These dictionaries work with Firefox, Doom Emacs and LibreOffice.
|
||||||
|
|
||||||
@ -339,12 +329,6 @@ Themes and other customization, making my DE look the way I want is one of the
|
|||||||
main draws of Linux for me.
|
main draws of Linux for me.
|
||||||
|
|
||||||
#+begin_src nix
|
#+begin_src nix
|
||||||
# Fonts
|
|
||||||
(nerdfonts.override {
|
|
||||||
fonts = [ "CascadiaCode"
|
|
||||||
"ComicShannsMono"
|
|
||||||
"Iosevka" ];
|
|
||||||
})
|
|
||||||
symbola
|
symbola
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
@ -368,7 +352,10 @@ smartmontools # check hard drie health
|
|||||||
Here I compile my own scripts into binaries
|
Here I compile my own scripts into binaries
|
||||||
|
|
||||||
#+begin_src nix
|
#+begin_src nix
|
||||||
jawzScripts
|
jawzManageLibrary
|
||||||
|
jawzTasks
|
||||||
|
jawzSubs
|
||||||
|
jawzStream
|
||||||
(writeScriptBin "ffmpeg4discord" (builtins.readFile ../scripts/ffmpeg4discord.py))
|
(writeScriptBin "ffmpeg4discord" (builtins.readFile ../scripts/ffmpeg4discord.py))
|
||||||
(writeScriptBin "ffmpreg" (builtins.readFile ../scripts/ffmpreg.sh))
|
(writeScriptBin "ffmpreg" (builtins.readFile ../scripts/ffmpreg.sh))
|
||||||
(writeScriptBin "split-dir" (builtins.readFile ../scripts/split-dir.sh))
|
(writeScriptBin "split-dir" (builtins.readFile ../scripts/split-dir.sh))
|
||||||
@ -450,7 +437,7 @@ Libraries & apps not found on the nix-store and scripts made by me.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** NODEJS PACKAGES
|
** NODEJS PACKAGES
|
||||||
Mostly language servers and linters.
|
Language servers and linters.
|
||||||
|
|
||||||
#+begin_src nix
|
#+begin_src nix
|
||||||
]) ++ (with pkgs.nodePackages; [
|
]) ++ (with pkgs.nodePackages; [
|
||||||
@ -585,8 +572,8 @@ packages through home-manager.
|
|||||||
|
|
||||||
#+begin_src nix
|
#+begin_src nix
|
||||||
programs = {
|
programs = {
|
||||||
tmux = {
|
helix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
hstr.enable = true;
|
hstr.enable = true;
|
||||||
emacs.enable = true;
|
emacs.enable = true;
|
||||||
@ -731,6 +718,7 @@ of some services.
|
|||||||
#+begin_src nix
|
#+begin_src nix
|
||||||
programs = {
|
programs = {
|
||||||
starship.enable = true;
|
starship.enable = true;
|
||||||
|
tmux.enable = true;
|
||||||
fzf.fuzzyCompletion = true;
|
fzf.fuzzyCompletion = true;
|
||||||
neovim = {
|
neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -744,7 +732,7 @@ programs = {
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* SERVICES
|
* SERVICES
|
||||||
Miscellaneous services, most of which are managed by systemd.
|
Miscellaneous services, managed by systemd.
|
||||||
|
|
||||||
- minidlna: allows me to watch my media on my TV.
|
- minidlna: allows me to watch my media on my TV.
|
||||||
- avahi: allows to discover/connect to devices through their hostname on the
|
- avahi: allows to discover/connect to devices through their hostname on the
|
||||||
@ -843,12 +831,12 @@ in [ myPkg ];
|
|||||||
wantedBy = [ "default.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
path = [
|
path = [
|
||||||
pkgs.nix
|
pkgs.nix
|
||||||
jawzChat
|
jawzStream
|
||||||
];
|
];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = 30;
|
RestartSec = 30;
|
||||||
ExecStart = "${jawzChat}/bin/stream-dl ${channel}";
|
ExecStart = "${jawzStream}/bin/stream-dl ${channel}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
@ -858,12 +846,12 @@ in [ myPkg ];
|
|||||||
wantedBy = [ "default.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
path = [
|
path = [
|
||||||
pkgs.nix
|
pkgs.nix
|
||||||
jawzChat
|
jawzStream
|
||||||
];
|
];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = 30;
|
RestartSec = 30;
|
||||||
ExecStart = "${jawzChat}/bin/stream-dl %I";
|
ExecStart = "${jawzStream}/bin/stream-dl %I";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"stream-johnneal911" = streamService "johnneal911" // { };
|
"stream-johnneal911" = streamService "johnneal911" // { };
|
||||||
@ -940,7 +928,7 @@ in [ myPkg ];
|
|||||||
in {
|
in {
|
||||||
"stream-johnneal911" = streamTimer // { };
|
"stream-johnneal911" = streamTimer // { };
|
||||||
"stream-uk2011boy" = streamTimer // { };
|
"stream-uk2011boy" = streamTimer // { };
|
||||||
"stream-tomayto\x20picarto" = streamTimmer // { };
|
"stream-tomayto\x20picarto" = streamTimer // { };
|
||||||
# tasks = {
|
# tasks = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# description = "Run a tasks script which keeps a lot of things organized";
|
# description = "Run a tasks script which keeps a lot of things organized";
|
||||||
@ -983,8 +971,8 @@ fonts.fontconfig.enable = true;
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* HARDWARE
|
* HARDWARE
|
||||||
Computer-specific hardware settings. The power management settings are
|
Computer-specific hardware settings. The power management settings default to
|
||||||
defaulted to "performance".
|
"performance".
|
||||||
|
|
||||||
- nvidia: GPU drivers.
|
- nvidia: GPU drivers.
|
||||||
- cpu.intel: microcode patches.
|
- cpu.intel: microcode patches.
|
||||||
|
|||||||
@ -438,11 +438,11 @@ pureref # create inspiration/reference boards
|
|||||||
So far gaming has been a lot less painful than I could have originally
|
So far gaming has been a lot less painful than I could have originally
|
||||||
anticipated, most everything seems to run seamlessly.
|
anticipated, most everything seems to run seamlessly.
|
||||||
|
|
||||||
Most packages on this section are set to unstable so we compile the newest
|
Most packages on this section are unstable so we compile the newest
|
||||||
possible binaries, which is handy mostly for frequently developed emulators.
|
possible binaries, which is handy for frequently developed emulators.
|
||||||
|
|
||||||
I never figured out why, but lutris will give me wine errors unless both wine64
|
Lutris will give me wine errors unless both wine64 and wineWow are both
|
||||||
and wineWow are installed.
|
installed.
|
||||||
|
|
||||||
=note= Steam is setup way later on the config file.
|
=note= Steam is setup way later on the config file.
|
||||||
=note= Roblox uninstalled as there is ongoing drama regarding Linux users.
|
=note= Roblox uninstalled as there is ongoing drama regarding Linux users.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user