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, ...}: {
users.motd = mkRune {number="6"; rune = "algiz";};
users.motd = mkRune {
number = "6";
rune = "algiz";
};
swapDevices = [
{

View File

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

View File

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

View File

@ -10,7 +10,12 @@
supportedSystems = ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
runes = import ../modules/runes;
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});

View File

@ -33,4 +33,3 @@
'';
}