mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 14:20:44 -06:00
formatting
This commit is contained in:
parent
e246856ddb
commit
fde2538cb3
7 changed files with 107 additions and 95 deletions
|
@ -1,5 +1,8 @@
|
||||||
{mkRune, ...}: {
|
{mkRune, ...}: {
|
||||||
users.motd = mkRune {number="6"; rune = "algiz";};
|
users.motd = mkRune {
|
||||||
|
number = "6";
|
||||||
|
rune = "algiz";
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
{
|
{
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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,7 +32,10 @@ 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 {
|
||||||
|
rune = "othalan";
|
||||||
|
runeKind = "ascii";
|
||||||
|
};
|
||||||
# + inputs.self.nixosModules.runes.othalan.ascii;
|
# + inputs.self.nixosModules.runes.othalan.ascii;
|
||||||
|
|
||||||
# catppuccin/tty
|
# catppuccin/tty
|
||||||
|
|
|
@ -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});
|
||||||
|
|
||||||
|
|
|
@ -33,4 +33,3 @@
|
||||||
⠀⠀⠀⠙⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠋⠀⠀⠀
|
⠀⠀⠀⠙⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠋⠀⠀⠀
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue