formatting

This commit is contained in:
Daylin Morgan 2024-01-28 23:31:00 -06:00
parent e246856ddb
commit fde2538cb3
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
7 changed files with 107 additions and 95 deletions

View file

@ -1,5 +1,8 @@
{mkRune, ...}: { {mkRune, ...}: {
users.motd = mkRune {number="6"; rune = "algiz";}; users.motd = mkRune {
number = "6";
rune = "algiz";
};
swapDevices = [ swapDevices = [
{ {

View file

@ -5,7 +5,10 @@
mkRune, mkRune,
... ...
}: { }: {
users.motd = mkRune {number="2"; rune="mannaz";}; users.motd = mkRune {
number = "2";
rune = "mannaz";
};
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot.loader = { boot.loader = {

View file

@ -3,8 +3,7 @@
pkgs, pkgs,
mkRune, mkRune,
... ...
}: }: let
let
rune = import ../../modules/runes/othalan.nix; rune = import ../../modules/runes/othalan.nix;
in { in {
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
@ -33,8 +32,11 @@ in {
services.getty.greetingLine = services.getty.greetingLine =
''<<< Welcome to NixOS ${config.system.nixos.label} (\m) - \l >>>'' ''<<< Welcome to NixOS ${config.system.nixos.label} (\m) - \l >>>''
+ mkRune {rune = "othalan"; runeKind = "ascii";}; + mkRune {
# + inputs.self.nixosModules.runes.othalan.ascii; rune = "othalan";
runeKind = "ascii";
};
# + inputs.self.nixosModules.runes.othalan.ascii;
# catppuccin/tty # catppuccin/tty
boot.kernelParams = [ boot.kernelParams = [

View file

@ -10,7 +10,12 @@
supportedSystems = ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"]; supportedSystems = ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
runes = import ../modules/runes; runes = import ../modules/runes;
in rec { in rec {
mkRune = {rune, number ? "2", runeKind ? "braille"}: "^[[1;3${number}m" + runes.${rune}.${runeKind} + "^[[0m"; mkRune = {
rune,
number ? "2",
runeKind ? "braille",
}:
"^[[1;3${number}m" + runes.${rune}.${runeKind} + "^[[0m";
forAllSystems = f: genAttrs supportedSystems (system: f nixpkgs.legacyPackages.${system}); forAllSystems = f: genAttrs supportedSystems (system: f nixpkgs.legacyPackages.${system});

View file

@ -1,32 +1,32 @@
{ {
braille = '' braille = ''
''; '';
ascii = '' ascii = ''
:%+ ## +%: :%+ ## +%:
-%@+ @@ +@%- -%@+ @@ +@%-
-%@=%%=@%- -%@=%%=@%-
=%@@%= =%@@%=
@@ @@
@% @%
@% @%
@% @%
@% @%
@% @%
@% @%
@@ @@
## ##
''; '';
} }

View file

@ -1,32 +1,32 @@
{ {
braille = '' braille = ''
''; '';
ascii ='' ascii = ''
:%*: :+%= :%*: :+%=
-@%%%*- -*%%#@+ -@%%%*- -*%%#@+
-@- .=#@##@#=: .@+ -@- .=#@##@#=: .@+
-@- :=#@#*%#+: .@+ -@- :=#@#*%#+: .@+
-@%%%*- :*%%#@+ -@%%%*- :*%%#@+
-@*: .+@+ -@*: .+@+
-@- .@+ -@- .@+
-@= :@+ -@= :@+
-@= :@+ -@= :@+
-@= :@+ -@= :@+
-@= :@+ -@= :@+
-@= :@+ -@= :@+
-%- :%= -%- :%=
''; '';
} }

View file

@ -1,36 +1,35 @@
{ {
ascii = '' ascii = ''
.+. .+.
.*@@@*. .*@@@*.
.+@@- -%@*. .+@@- -%@*.
.+@@= -%@*. .+@@= -%@*.
.+@%= -%@+. .+@%= -%@+.
+@@- :@@* +@@- :@@*
.*@%- :#@*: .*@%- :#@*:
.#@%: :#@#: .#@%: :#@#:
:#@#-*@#: :#@#-*@#:
=@@@+ =@@@+
.*@#-#@#: .*@#-#@#:
.*@%- :#@#: .*@%- :#@#:
.*@%- :%@*. .*@%- :%@*.
+@%- -%@+ +@%- -%@+
:- -: :- -:
''; '';
braille = '' braille = ''
''; '';
} }