modules/boot: move bootloaders to module
This commit is contained in:
parent
c18b633ea9
commit
bca6c11270
7 changed files with 66 additions and 45 deletions
|
@ -6,13 +6,10 @@
|
|||
])
|
||||
|
||||
(with profiles; [
|
||||
boot.grub
|
||||
|
||||
networking.wireless
|
||||
|
||||
(with hardware; [
|
||||
gpu.nvidia
|
||||
wireless
|
||||
])
|
||||
|
||||
btrfs
|
||||
|
@ -29,6 +26,7 @@
|
|||
system.stateVersion = "21.05";
|
||||
|
||||
modules = {
|
||||
boot.grub.enable = true;
|
||||
hardware = {
|
||||
wireless.enable = true;
|
||||
form.desktop = true;
|
||||
|
|
|
@ -3,13 +3,10 @@
|
|||
(with suites; [ graphic ])
|
||||
|
||||
(with profiles; [
|
||||
boot.grub
|
||||
|
||||
networking.wireless
|
||||
|
||||
(with hardware; [
|
||||
gpu.intel
|
||||
wireless
|
||||
])
|
||||
|
||||
# services.privoxy
|
||||
|
@ -45,6 +42,7 @@
|
|||
};
|
||||
|
||||
modules = {
|
||||
boot.grub.enable = true;
|
||||
hardware = {
|
||||
form.laptop = true;
|
||||
};
|
||||
|
|
|
@ -3,11 +3,12 @@
|
|||
suites = with suites; [ base ];
|
||||
imports = [ ];
|
||||
profiles = with profiles; [
|
||||
boot.grub
|
||||
|
||||
hardware.gpu.nvidia
|
||||
];
|
||||
};
|
||||
|
||||
modules.hardware.form.server = true;
|
||||
modules = {
|
||||
boot.grub.enable = true;
|
||||
hardware.form.server = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
(with suites; [ base develop ])
|
||||
|
||||
(with profiles; [
|
||||
boot.grub
|
||||
|
||||
networking.wireless
|
||||
|
||||
(with hardware; [
|
||||
|
@ -14,8 +12,6 @@
|
|||
intel
|
||||
nvidia
|
||||
])
|
||||
laptop
|
||||
wireless
|
||||
])
|
||||
|
||||
btrfs
|
||||
|
@ -29,7 +25,10 @@
|
|||
# networking.interfaces.wlp170s0.useDHCP = true;
|
||||
networking.interfaces.enp39s0.useDHCP = true;
|
||||
|
||||
modules.hardware.form.portable = true;
|
||||
modules = {
|
||||
boot.grub.enable = true;
|
||||
hardware.form.portable = true;
|
||||
};
|
||||
|
||||
system.stateVersion = "21.11";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue