updated core/display.nix
This commit is contained in:
parent
e3dba33225
commit
eacaace2d0
2 changed files with 18 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ inputs, pkgs, label, version, lib, niri, ... }:
|
{ inputs, nixpkgs, pkgs, label, version, lib, niri, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
sygil-plymouth = pkgs.stdenv.mkDerivation rec {
|
sygil-plymouth = pkgs.stdenv.mkDerivation rec {
|
||||||
|
|
@ -34,7 +34,7 @@ in {
|
||||||
initrd = {
|
initrd = {
|
||||||
verbose = false;
|
verbose = false;
|
||||||
#systemd = {
|
#systemd = {
|
||||||
#enable = true;
|
#enable = true;
|
||||||
#};
|
#};
|
||||||
};
|
};
|
||||||
kernelParams =
|
kernelParams =
|
||||||
|
|
@ -64,18 +64,21 @@ in {
|
||||||
plymouth = { # enables plymouth boot animations
|
plymouth = { # enables plymouth boot animations
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = "ShowDelay=0";
|
extraConfig = "ShowDelay=0";
|
||||||
theme = "sygil";
|
theme = "mac-style";
|
||||||
themePackages = [ sygil-plymouth ];
|
themePackages = [ pkgs.mac-style-plymouth ];
|
||||||
#theme = "circle";
|
#theme = "circle";
|
||||||
#themePackages = with pkgs;
|
#themePackages = with pkgs;
|
||||||
#[
|
#[
|
||||||
#(adi1090x-plymouth-themes.override {
|
#(adi1090x-plymouth-themes.override {
|
||||||
#selected_themes = [ "circle" ];
|
#selected_themes = [ "circle" ];
|
||||||
#})
|
#})
|
||||||
#];
|
#];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
overlays = [ inputs.mac-style-plymouth.overlays.default ];
|
||||||
|
};
|
||||||
## Display related options
|
## Display related options
|
||||||
xdg.mime.enable =
|
xdg.mime.enable =
|
||||||
true; # may be unneeded here as already declared in `home/desktop/xdg-mime.nix`
|
true; # may be unneeded here as already declared in `home/desktop/xdg-mime.nix`
|
||||||
|
|
|
||||||
|
|
@ -121,6 +121,11 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mac-style-plymouth = {
|
||||||
|
url = "github:SergioRibera/s4rchiso-plymouth-theme";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, disko, sops-nix, musnix, nixos-generators, niri,
|
outputs = { self, nixpkgs, disko, sops-nix, musnix, nixos-generators, niri,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue