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 = {
kernelModules = [ "kvm-intel" ];
loader.systemd-boot.enable = true;
initrd = {
systemd.enable = true;
kernelModules = [ "usb_storage" ];

View File

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

View File

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

View File

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