aboutsummaryrefslogtreecommitdiff
path: root/common/.flake/home/programs
diff options
context:
space:
mode:
Diffstat (limited to 'common/.flake/home/programs')
-rw-r--r--common/.flake/home/programs/alacritty.nix.org13
-rw-r--r--common/.flake/home/programs/fastfetch.nix.org46
-rw-r--r--common/.flake/home/programs/neovim.nix.org2
-rw-r--r--common/.flake/home/programs/zsh.nix.org2
4 files changed, 51 insertions, 12 deletions
diff --git a/common/.flake/home/programs/alacritty.nix.org b/common/.flake/home/programs/alacritty.nix.org
index 0c85e2b..5249145 100644
--- a/common/.flake/home/programs/alacritty.nix.org
+++ b/common/.flake/home/programs/alacritty.nix.org
@@ -1,5 +1,6 @@
#+title: Alacritty Configuration
+This is the configuration for Alacritty terminal emulator.
#+begin_src nix
{ config, pkgs, ... }:
@@ -7,6 +8,10 @@
programs.alacritty = {
enable = true;
settings = {
+#+end_src
+
+Use no window decorations, slight transparency, small padding, and allow the =⌥= to work as =alt=.
+#+begin_src nix
window = {
decorations = "None";
opacity = 0.9;
@@ -16,6 +21,10 @@
};
option_as_alt = "Both";
};
+#+end_src
+
+Use Source Code Pro (Nerd Font), size 14 as my font.
+#+begin_src nix
font = {
normal = {
family = "SauceCodePro Nerd Font";
@@ -23,6 +32,10 @@
};
size = 14;
};
+#+end_src
+
+Set colour scheme.
+#+begin_src nix
colors = {
primary = {
background = "#ece0c9";
diff --git a/common/.flake/home/programs/fastfetch.nix.org b/common/.flake/home/programs/fastfetch.nix.org
index 96b2044..acdbd16 100644
--- a/common/.flake/home/programs/fastfetch.nix.org
+++ b/common/.flake/home/programs/fastfetch.nix.org
@@ -1,22 +1,48 @@
#+title: Fastfetch Configuration
Specify the layout for =fastfetch=.
-#+begin_src nix :tangle ~/.flake/home/programs/fastfetch.nix :mkdirp yes
+#+begin_src nix
{ config, pkgs, ... }:
{
programs.fastfetch = {
enable = true;
settings = {
- logo = {
- type = "raw";
- source = "~/.config/fastfetch/logo.sixel";
- width = 40;
- height = 19;
- };
- display = {
- separator = " ";
- };
+#+end_src
+
+Use a =sixel=-encoded logo at =~/.config/fastfetch/logo.sixel=.
+#+begin_src nix
+ logo = {
+ type = "raw";
+ source = "~/.config/fastfetch/logo.sixel";
+ width = 40;
+ height = 19;
+ };
+#+end_src
+
+Use two spaces as a separator.
+#+begin_src nix
+ display = {
+ separator = " ";
+ };
+#+end_src
+
+List out
+- Operating system
+- The kernel
+- Uptime
+- The number of packages
+- Shell
+- Display information
+- Window manager
+- Terminal
+- CPU information
+- GPU information
+- Memory information
+- Disk usage
+- Locale
+- Colours
+#+begin_src nix
modules = [
"title"
{
diff --git a/common/.flake/home/programs/neovim.nix.org b/common/.flake/home/programs/neovim.nix.org
index b67e7b6..586e620 100644
--- a/common/.flake/home/programs/neovim.nix.org
+++ b/common/.flake/home/programs/neovim.nix.org
@@ -1,6 +1,6 @@
#+title: Neovim Settings
-Create a simple Neovim configuration.
+Create a simple Neovim configuration. Install some basic packages and use a light colour scheme.
#+begin_src nix
{ config, pkgs, ... }:
diff --git a/common/.flake/home/programs/zsh.nix.org b/common/.flake/home/programs/zsh.nix.org
index 404586c..6b8d5ea 100644
--- a/common/.flake/home/programs/zsh.nix.org
+++ b/common/.flake/home/programs/zsh.nix.org
@@ -81,6 +81,7 @@ Create the prompt.
PS1='%(?..%B%F{red}[%?%\]%f%b )%F{green}%20<...<%~%<<%f$vcs_info_msg_0_$(parse_git_dirty) $ '
#+end_src
+Close the extra code block.
#+begin_src nix
'';
#+end_src
@@ -104,7 +105,6 @@ Close =.profile= code.
'';
#+end_src
-
Close =zsh= configuration.
#+begin_src nix
};