test grub
This commit is contained in:
@@ -68,6 +68,9 @@ in {
|
|||||||
popups = 0.85;
|
popups = 0.85;
|
||||||
};
|
};
|
||||||
#targets.hyprland.enable = false; does not exist in the MR version yet
|
#targets.hyprland.enable = false; does not exist in the MR version yet
|
||||||
|
targets = {
|
||||||
|
grub.enable = false;
|
||||||
|
};
|
||||||
fonts = {
|
fonts = {
|
||||||
serif = config.stylix.fonts.sansSerif;
|
serif = config.stylix.fonts.sansSerif;
|
||||||
sansSerif = {
|
sansSerif = {
|
||||||
|
|||||||
@@ -15,4 +15,5 @@
|
|||||||
gpu-screen-recorder-ui = pkgs.callPackage ./gpu-screen-recorder-ui/default.nix { };
|
gpu-screen-recorder-ui = pkgs.callPackage ./gpu-screen-recorder-ui/default.nix { };
|
||||||
gpu-screen-recorder-notification = pkgs.callPackage ./gpu-screen-recorder-notification/default.nix { };
|
gpu-screen-recorder-notification = pkgs.callPackage ./gpu-screen-recorder-notification/default.nix { };
|
||||||
kavita-old = pkgs.callPackage ./kavita-old/default.nix { };
|
kavita-old = pkgs.callPackage ./kavita-old/default.nix { };
|
||||||
|
hollow-grub = pkgs.callPackage ./hollow-grub/default.nix { };
|
||||||
}
|
}
|
||||||
|
|||||||
14
pkgs/hollow-grub/default.nix
Normal file
14
pkgs/hollow-grub/default.nix
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{ pkgs }:
|
||||||
|
pkgs.stdenv.mkDerivation {
|
||||||
|
name = "hollow-grub-theme";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "sergoncano";
|
||||||
|
repo = "hollow-knight-grub-theme";
|
||||||
|
hash = "sha256-SUy2bQIeUWb/UdQip1ZhBTvXSHJ/LaHhpeK9DGQht6w=";
|
||||||
|
rev = "7cef3a2ea25fc2c7ac66d4c9ec1b6a96ca1fd643";
|
||||||
|
};
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/grub/theme/
|
||||||
|
cp -r ./hollow-grub/* $out/grub/theme/
|
||||||
|
'';
|
||||||
|
}
|
||||||
@@ -104,7 +104,7 @@
|
|||||||
};
|
};
|
||||||
services.jenkins.enable = false;
|
services.jenkins.enable = false;
|
||||||
virtualisation.waydroid.enable = false;
|
virtualisation.waydroid.enable = false;
|
||||||
|
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extensions = with pkgs.postgresql14Packages; [ pg_libversion ];
|
extensions = with pkgs.postgresql14Packages; [ pg_libversion ];
|
||||||
@@ -115,20 +115,20 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.scheibnkleister-presence = {
|
##systemd.user.services.scheibnkleister-presence = {
|
||||||
description = "scheibnkleister-presence";
|
## description = "scheibnkleister-presence";
|
||||||
wantedBy = [ "graphical-session.target" ];
|
## wantedBy = [ "graphical-session.target" ];
|
||||||
wants = [ "graphical-session.target" ];
|
## wants = [ "graphical-session.target" ];
|
||||||
after = [ "graphical-session.target" ];
|
## after = [ "graphical-session.target" ];
|
||||||
serviceConfig = {
|
## serviceConfig = {
|
||||||
Type = "simple";
|
## Type = "simple";
|
||||||
ExecStart =
|
## ExecStart =
|
||||||
"${pkgs.scheibnkleister-presence}/bin/scheibnkleister-presence";
|
## "${pkgs.scheibnkleister-presence}/bin/scheibnkleister-presence";
|
||||||
Restart = "on-failure";
|
## Restart = "on-failure";
|
||||||
RestartSec = 1;
|
## RestartSec = 1;
|
||||||
TimeoutStopSec = 10;
|
## TimeoutStopSec = 10;
|
||||||
};
|
## };
|
||||||
};
|
##};
|
||||||
|
|
||||||
|
|
||||||
# apple shit
|
# apple shit
|
||||||
@@ -155,8 +155,18 @@
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader = {
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
efi = {
|
||||||
|
canTouchEfiVariables = true;
|
||||||
|
};
|
||||||
|
#systemd-boot.enable = true;
|
||||||
|
grub = {
|
||||||
|
enable = true;
|
||||||
|
efiSupport = true;
|
||||||
|
device = "nodev";
|
||||||
|
theme = "${pkgs.hollow-grub}/grub/theme";
|
||||||
|
};
|
||||||
|
};
|
||||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||||
|
|
||||||
networking.hostName = "kop-pc"; # Define your hostname.
|
networking.hostName = "kop-pc"; # Define your hostname.
|
||||||
|
|||||||
Reference in New Issue
Block a user