mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
misc cleanup
This commit is contained in:
parent
7326e9213e
commit
ef9f011e57
9 changed files with 62 additions and 60 deletions
|
|
@ -16,7 +16,6 @@ in {
|
|||
(with pkgs; [
|
||||
gnome-photos
|
||||
gnome-tour
|
||||
gnome-console
|
||||
gnome-text-editor
|
||||
gnome-online-accounts
|
||||
])
|
||||
|
|
@ -48,6 +47,5 @@ in {
|
|||
desktopManager.gnome.enable = true;
|
||||
displayManager.defaultSession = "gnome";
|
||||
};
|
||||
environment.systemPackages = [pkgs.gnome.gnome-terminal];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,33 +1,7 @@
|
|||
inputs: {
|
||||
lib,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
imports = [(import ./stage2patch.nix inputs)];
|
||||
environment.etc = {
|
||||
"issue" = {
|
||||
text = "[?12l[?25h";
|
||||
mode = "0444";
|
||||
};
|
||||
};
|
||||
boot = {
|
||||
blacklistedKernelModules = ["nouveau" "lbm-nouveau" "pcspkr"];
|
||||
kernelParams = ["fbcon=nodefer" "bgrt_disable" "quiet" "systemd.show_status=false" "rd.udev.log_level=3" "vt.global_cursor_default=0"];
|
||||
consoleLogLevel = 3;
|
||||
initrd.verbose = false;
|
||||
plymouth = {
|
||||
enable = lib.mkDefault true;
|
||||
theme = "breeze";
|
||||
logo = "${self}/misc/nixos.png";
|
||||
};
|
||||
loader = {
|
||||
systemd-boot = {
|
||||
enable = lib.mkDefault true;
|
||||
consoleMode = "max";
|
||||
editor = false;
|
||||
};
|
||||
efi.canTouchEfiVariables = lib.mkDefault true;
|
||||
timeout = 0;
|
||||
};
|
||||
};
|
||||
imports = [
|
||||
(import ./stage2patch.nix inputs)
|
||||
(import ./silent.nix inputs)
|
||||
(import ./misc.nix inputs)
|
||||
];
|
||||
}
|
||||
|
|
|
|||
22
modules/boot/misc.nix
Normal file
22
modules/boot/misc.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
_: {
|
||||
self,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
boot = {
|
||||
plymouth = {
|
||||
enable = lib.mkDefault true;
|
||||
theme = "breeze";
|
||||
logo = "${self}/misc/nixos.png";
|
||||
};
|
||||
loader = {
|
||||
systemd-boot = {
|
||||
enable = lib.mkDefault true;
|
||||
consoleMode = "max";
|
||||
editor = false;
|
||||
};
|
||||
efi.canTouchEfiVariables = lib.mkDefault true;
|
||||
timeout = 0;
|
||||
};
|
||||
};
|
||||
}
|
||||
14
modules/boot/silent.nix
Normal file
14
modules/boot/silent.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
_: {
|
||||
environment.etc = {
|
||||
"issue" = {
|
||||
text = "[?12l[?25h";
|
||||
mode = "0444";
|
||||
};
|
||||
};
|
||||
boot = {
|
||||
blacklistedKernelModules = ["pcspkr"];
|
||||
kernelParams = ["fbcon=nodefer" "bgrt_disable" "quiet" "systemd.show_status=false" "rd.udev.log_level=3" "vt.global_cursor_default=0"];
|
||||
consoleLogLevel = 3;
|
||||
initrd.verbose = false;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue