Git Product home page Git Product logo

nixos-boot's Introduction

Warning: Using this repo for some reason bloats the initrd quite a bit (up to 50 MB). Use it with boot.loader.systemd-boot.configurationLimit or a /boot of at least a gigabyte. On EFI Systems it's also possible to keep the initrd on the main partition when switching to Grub. Checkout the nixos wiki.

This repo contains a plymouth theme for Nixos, thanks to discourse for giving me motivation.

Install

The package is currently not in nixpkgs.

Flakes

You can include it in your flakes.nix like this:

{
  inputs.nixos-boot.url = "github:Melkor333/nixos-boot";
  outputs = { self, nixpkgs, nixos-boot }:
  {
    nixosConfigurations."<hostname>" = nixpkgs.lib.nixosSystem {
      modules = [ nixos-boot.nixosModules.default ./configuration.nix ];
      system  = "x86_64-linux";
    };
  };
}

Non Flakes

You can include it in your configuration.nix like this:

{ config, lib, pkgs, ...}:
let
  # Fetch the repository
  nixos-boot-src = pkgs.fetchFromGitHub {
    owner = "Melkor333";
    repo = "nixos-boot";
    rev = "main";
    sha256 = "sha256-Dj8LhVTOrHEnqgONbCEKIEyglO7zQej+KS08faO9NJk=";
  };
in
{
  imports = [ "${nixos-boot-src}/modules.nix" ];
}

Configuration

Enable nixos-boot in your configuration:

{ config, lib, pkgs, ...}:
{
  # ...
  nixos-boot = {
    enable  = true;

    # Different colors
    # bgColor.red   = 100; # 0 - 255
    # bgColor.green = 100; # 0 - 255
    # bgColor.blue  = 100; # 0 - 255

    # If you want to make sure the theme is seen when your computer starts too fast
    # duration = 3; # in seconds
  };
}

Themes

load_unload

The first theme, load & unload:

nixos logo loading and unloading

nixos-boot's People

Contributors

hugosenari avatar melkor333 avatar nobbz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nixos-boot's Issues

how to install on NixOS 23.05?

maybe it's just me being a nix noob, but installing this through the method in the README, through fetchGitHub or cloning it into a directory and importing it through callPackage all fails with anonymous function at {path to default.nix} called without required argument 'config'

maybe this is also just a side effect of the age of this repository? it still uses super and self...

Make proper package with a proper naming

First of all, this project should be renamed properly. nixos-boot is just too vague. Also, the discourse thread has another video which could be included aswell. proper naming like nixos-plymouth-disappear and nixos-plymouth-morph makes more sense.

Meta package

Change this into a metapackage. For inspiration see nerdfonts

Which can be used like this:

fonts.fonts = with pkgs; [
  (nerdfonts.override { fonts = [ "Hack" "FiraCode" ]; })
];

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.