move some common stuff to desktop

This commit is contained in:
Motiejus Jakštys 2024-12-02 20:04:38 +02:00
parent 31b34eb3d7
commit 25955fc0aa
4 changed files with 10 additions and 11 deletions

View File

@ -36,8 +36,6 @@ in
}; };
boot = { boot = {
kernelModules = [ "kvm-intel" ];
loader.systemd-boot.enable = true;
initrd = { initrd = {
systemd.enable = true; systemd.enable = true;
kernelModules = [ "usb_storage" ]; kernelModules = [ "usb_storage" ];

View File

@ -31,9 +31,7 @@ in
}; };
boot = { boot = {
kernelModules = [ "kvm-intel" ];
kernelPackages = pkgs.linuxPackages_6_11; kernelPackages = pkgs.linuxPackages_6_11;
loader.systemd-boot.enable = true;
initrd = { initrd = {
availableKernelModules = [ availableKernelModules = [

View File

@ -1,6 +1,7 @@
{ {
self, self,
modulesPath, modulesPath,
pkgs,
... ...
}: }:
{ {
@ -24,12 +25,7 @@
}; };
}; };
boot = { boot.kernelPackages = pkgs.linuxPackages_latest;
loader.systemd-boot.enable = true;
supportedFilesystems = [
"btrfs"
];
};
isoImage = { isoImage = {
isoName = "toolshed-${self.lastModifiedDate}.iso"; isoName = "toolshed-${self.lastModifiedDate}.iso";

View File

@ -12,7 +12,14 @@ in
{ {
imports = [ ../dev ]; imports = [ ../dev ];
config = { config = {
boot.supportedFilesystems = [ "ntfs" ]; boot = {
supportedFilesystems = [
"btrfs"
"ntfs"
];
kernelModules = [ "kvm-intel" ];
loader.systemd-boot.enable = true;
};
hardware.bluetooth = { hardware.bluetooth = {
enable = true; enable = true;